Commit 8b9abbfd authored by huangyuanyuan's avatar huangyuanyuan
parents 9311ac0c ebf01e49
...@@ -876,12 +876,14 @@ ...@@ -876,12 +876,14 @@
font-size: 20px; font-size: 20px;
cursor: pointer; cursor: pointer;
} }
.groupts .underline{
.groupts .underline {
text-decoration: underline; text-decoration: underline;
margin: 5px; margin: 5px;
text-align: center; text-align: center;
} }
.rgsureBtn{
.rgsureBtn {
color: #fff; color: #fff;
padding: 0 15px; padding: 0 15px;
height: 25px; height: 25px;
...@@ -891,19 +893,21 @@ ...@@ -891,19 +893,21 @@
border-radius: 15px; border-radius: 15px;
margin-left: 10px; margin-left: 10px;
} }
.rgsureBtn:hover{
.rgsureBtn:hover {
background-color: #297BEF; background-color: #297BEF;
} }
.rgComTips{
text-align:left;font-size:12px; .rgComTips {
margin-left:10px; text-align: left;
font-size: 12px;
margin-left: 10px;
} }
</style> </style>
<template> <template>
<div class="flexOne RegistrationList groupts" style="min-width: 1200px;"> <div class="flexOne RegistrationList groupts" style="min-width: 1200px;">
<div class="planeTicketEdit ownScrollbarStyle" v-show="isShowLayer2"> <div class="planeTicketEdit ownScrollbarStyle" v-show="isShowLayer2">
<p>修改 <p>修改
<span class="fr" style="margin-right:60px;"> <span class="fr" style="margin-right:60px;">
...@@ -961,17 +965,9 @@ ...@@ -961,17 +965,9 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="成交单价" prop="Unit_Price"> <el-form-item label="成交单价" prop="Unit_Price">
<!-- <el-select v-model='addMsg.Unit_Price'
filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()">
<el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'>
</el-option>
</el-select> -->
<el-input v-model='addMsg.Unit_Price' :disabled="true" <el-input v-model='addMsg.Unit_Price' :disabled="true"
@keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="成交单价" prop="Unit_Price">
<el-input v-model='addMsg.Unit_Price' @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input>
</el-form-item> -->
</el-col> </el-col>
</el-row> </el-row>
<div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div> <div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div>
...@@ -1080,25 +1076,6 @@ ...@@ -1080,25 +1076,6 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="定金" prop="MinOrderPrice">
<el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" v-if="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="费用类型" prop="CostType">
<el-select v-model="addMsg.CostType" filterable placeholder="请选择费用类型">
<el-option v-for='item in fylxList' :label="item.Name" :value="item.ID" :key='item.ID'>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" v-if="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="交易日期" prop="TradeDate">
<el-date-picker v-model='addMsg.TradeDate' value-format="yyyy-MM-dd" type="date"></el-date-picker>
</el-form-item>
</el-col> -->
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="23"> <el-col :span="23">
...@@ -1210,7 +1187,6 @@ ...@@ -1210,7 +1187,6 @@
<el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'> <el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'>
</el-option> </el-option>
</el-select> </el-select>
<!-- <el-input v-model='addMsg.Unit_Price' :disabled="true" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> -->
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -1294,8 +1270,8 @@ ...@@ -1294,8 +1270,8 @@
@input='getTotalPrice()'></el-input> @input='getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="拒签人数" prop="RefuseVisaNum" > <el-form-item label="拒签人数" prop="RefuseVisaNum">
<el-input v-model='addMsg.RefuseVisaNum' @keyup.native="checkInteger(addMsg,'RefuseVisaNum')" <el-input v-model='addMsg.RefuseVisaNum' @keyup.native="checkInteger(addMsg,'RefuseVisaNum')"
@input='getTotalPrice()'></el-input> @input='getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
...@@ -1368,11 +1344,6 @@ ...@@ -1368,11 +1344,6 @@
</el-form> </el-form>
</div> </div>
</el-col> </el-col>
<!-- <el-col :span="4">
<el-form-item label="预计提成" prop="Commission">
<el-input v-model='addMsg.Commission' :disabled="true"></el-input>
</el-form-item>
</el-col> -->
<el-col :span="4" v-show="addMsg.CustomerType==1||addMsg.CustomerType==2"> <el-col :span="4" v-show="addMsg.CustomerType==1||addMsg.CustomerType==2">
<el-form-item label="分摊人" prop="CommissionSharePeople"> <el-form-item label="分摊人" prop="CommissionSharePeople">
<el-select :disabled="isUpdateSharePeople" filterable clearable @change='getTicheng' <el-select :disabled="isUpdateSharePeople" filterable clearable @change='getTicheng'
...@@ -1458,25 +1429,6 @@ ...@@ -1458,25 +1429,6 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="定金" prop="MinOrderPrice">
<el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" v-if="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="费用类型" prop="CostType">
<el-select v-model="addMsg.CostType" filterable placeholder="请选择费用类型">
<el-option v-for='item in fylxList' :label="item.Name" :value="item.ID" :key='item.ID'>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" v-if="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="交易日期" prop="TradeDate">
<el-date-picker v-model='addMsg.TradeDate' value-format="yyyy-MM-dd" type="date"></el-date-picker>
</el-form-item>
</el-col> -->
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="23"> <el-col :span="23">
...@@ -1532,7 +1484,6 @@ ...@@ -1532,7 +1484,6 @@
</div> </div>
</div> </div>
<div class="RL_rightBtn" v-if="isShow===true"> <div class="RL_rightBtn" v-if="isShow===true">
<!--item.TCID,item.OutBranchId-->
<input type="button" class="normalBtn" <input type="button" class="normalBtn"
@click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" /> @click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" />
...@@ -1579,10 +1530,10 @@ ...@@ -1579,10 +1530,10 @@
<tbody v-for="(item,index) in OrderDataList.leadetList" :key="index"> <tbody v-for="(item,index) in OrderDataList.leadetList" :key="index">
<tr> <tr>
<td rowspan="3"> <td rowspan="3">
<!-- @click="goUrlX('groupTourOrderByTuan',item.TCID,item.TCNUM)"-->
<div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="item.OrderId"> <div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="item.OrderId">
{{item.OrderId}} {{item.OrderId}}
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.OrderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip> <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.OrderForm==4">
<i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip>
</div> </div>
<div class="RL_CreatInfo">{{item.CreateBy}}<span v-if="item.LeaveStr!=''" <div class="RL_CreatInfo">{{item.CreateBy}}<span v-if="item.LeaveStr!=''"
style="color:red">({{item.LeaveStr}})</span></div> style="color:red">({{item.LeaveStr}})</span></div>
...@@ -1590,7 +1541,10 @@ ...@@ -1590,7 +1541,10 @@
<p>下单时间:{{item.CreateDate}}</p> <p>下单时间:{{item.CreateDate}}</p>
</td> </td>
<td> <td>
<p class="fz12 over_ellipsis" style="width: 90%;">领队控位</p> <p class="fz12 over_ellipsis" style="width: 90%;">领队控位
<input type="button" class="normalBtn" @click="UpdateLeaderSeat(item)" style="display:none;"
:value="ConfigData.Config.IsLeaderUseSeat==0?'占机位':'取消机位'" />
</p>
</td> </td>
<td> <td>
<span v-if='item.GuestNumStatus==1' style="color:#1AA86B; " class="personNo nowrap" <span v-if='item.GuestNumStatus==1' style="color:#1AA86B; " class="personNo nowrap"
...@@ -1599,7 +1553,6 @@ ...@@ -1599,7 +1553,6 @@
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<span v-if='item.GuestNumStatus==3' style="color:#666; " class="personNo nowrap" <span v-if='item.GuestNumStatus==3' style="color:#666; " class="personNo nowrap"
slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span> slot="reference">{{item.GuestNum}}/{{item.YSeatNum>0? item.YSeatNum+'Y ':''}}{{item.ESeatNum>0? item.ESeatNum+'E ':''}}{{item.FSeatNum>0? item.FSeatNum+'F ':''}}</span>
<!-- </el-popover> -->
</td> </td>
<td>{{item.TC_Price}}</td> <td>{{item.TC_Price}}</td>
<td>{{item.Unit_Price}}</td> <td>{{item.Unit_Price}}</td>
...@@ -1783,7 +1736,9 @@ ...@@ -1783,7 +1736,9 @@
<p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p> <p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p>
<div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId"> <div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId">
{{childItem.OrderId}} {{childItem.OrderId}}
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="childItem.OrderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip> <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top"
v-show="childItem.OrderForm==4"> <i class="iconfont icon-xiaochengxu"
style="font-size:22px;color:red;"></i></el-tooltip>
</div> </div>
<div class="RL_CreatInfo">{{childItem.CreateBy}}<span v-if="childItem.LeaveStr!=''" <div class="RL_CreatInfo">{{childItem.CreateBy}}<span v-if="childItem.LeaveStr!=''"
style="color:red">({{childItem.LeaveStr}})</span></div> style="color:red">({{childItem.LeaveStr}})</span></div>
...@@ -1918,9 +1873,9 @@ ...@@ -1918,9 +1873,9 @@
:class="{'RL-redType':childItem.statsstr=='候补'}">{{childItem.statsstr}}</span></td> :class="{'RL-redType':childItem.statsstr=='候补'}">{{childItem.statsstr}}</span></td>
<td> <td>
<div @click="goOpenUrl('confirmationOrder',childItem.OrderId)" style="cursor:pointer;">电子确认函</div> <div @click="goOpenUrl('confirmationOrder',childItem.OrderId)" style="cursor:pointer;">电子确认函</div>
<span v-if='childItem.ConfirmFileList.length>0' <span v-if='childItem.ConfirmFileList.length>0' @click="downLoadFile(childItem.ConfirmFileList)"
@click="downLoadFile(childItem.ConfirmFileList)" style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span> style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span>
</td> </td>
<td class="RL-BTNlist" rowspan="2"> <td class="RL-BTNlist" rowspan="2">
<el-button-group> <el-button-group>
...@@ -2019,17 +1974,20 @@ ...@@ -2019,17 +1974,20 @@
<td colspan="6" style="height: 40px;"> <td colspan="6" style="height: 40px;">
<div class="clearfix RL-MARK" style="width:75%;float:left;"> <div class="clearfix RL-MARK" style="width:75%;float:left;">
<span class="RL-opremarkTitle">OP备注:</span> <span class="RL-opremarkTitle">OP备注:</span>
<span class="RL-redType RL-remarkCon" style="width:80%;display:inline-block;">{{childItem.OP_Remarks ? childItem.OP_Remarks : '无'}}</span> <span class="RL-redType RL-remarkCon"
style="width:80%;display:inline-block;">{{childItem.OP_Remarks ? childItem.OP_Remarks : '无'}}</span>
</div> </div>
<div style="float:right;" v-if="childItem.IsCanClear==0"> <div style="float:right;" v-if="childItem.IsCanClear==0">
<input type="button" value="确认订单" class="rgsureBtn" @click="clearSeat(childItem,1)" style="display:block;"/> <input type="button" value="确认订单" class="rgsureBtn" @click="clearSeat(childItem,1)"
<div class="rgComTips">该订单<span style="color:red;">未确认</span></div> style="display:block;" />
<div class="rgComTips">被系统自动清位</div> <div class="rgComTips">该订单<span style="color:red;">未确认</span></div>
<div class="rgComTips">被系统自动清位</div>
</div> </div>
<div style="float:right;" v-else> <div style="float:right;" v-else>
<input type="button" value="取消确认" class="normalBtn" @click="clearSeat(childItem,2)" style="display:block;padding:0 15px;height:25px;"/> <input type="button" value="取消确认" class="normalBtn" @click="clearSeat(childItem,2)"
<div class="rgComTips">该订单<span style="color:green">已确认</span></div> style="display:block;padding:0 15px;height:25px;" />
<div class="rgComTips">会被系统清位</div> <div class="rgComTips">该订单<span style="color:green">已确认</span></div>
<div class="rgComTips">会被系统清位</div>
</div> </div>
</td> </td>
<td colspan="4" style="height: 40px;cursor: pointer;" <td colspan="4" style="height: 40px;cursor: pointer;"
...@@ -2050,10 +2008,14 @@ ...@@ -2050,10 +2008,14 @@
<div> <div>
<span>发票单据:</span> <span>发票单据:</span>
<span v-for="(item2,index2) in childItem.InvoiceApplyList" :key="index2"> <span v-for="(item2,index2) in childItem.InvoiceApplyList" :key="index2">
<span v-if="item2.invoiceApplyState === 6" class="groupTourOrder_tickets_blue" @click="goIisDetail(item2.id)">{{item2.id}}</span> <span v-if="item2.invoiceApplyState === 6" class="groupTourOrder_tickets_blue"
<span v-else-if="item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3" class="groupTourOrder_tickets_green" @click="goIisDetail(item2.id)">{{item2.id}}</span> @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 " class="groupTourOrder_tickets_red" @click="goIisDetail(item2.id)">{{item2.id}}</span> <span v-else-if="item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3"
<span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black" @click="goIisDetail(item2.id)">{{item2.id}}</span> class="groupTourOrder_tickets_green" @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class="groupTourOrder_tickets_red" @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black"
@click="goIisDetail(item2.id)">{{item2.id}}</span>
</span> </span>
<span v-if="childItem.InvoiceApplyList.length===0" style="cursor: default;">暂无数据</span> <span v-if="childItem.InvoiceApplyList.length===0" style="cursor: default;">暂无数据</span>
</div> </div>
...@@ -2105,8 +2067,10 @@ ...@@ -2105,8 +2067,10 @@
<div> <div>
<p class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="item.OrderId" <p class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="item.OrderId"
@click="goUrlX('groupTourOrderByTuan',item.TCID,item.TCNUM)">{{item.OrderId}} @click="goUrlX('groupTourOrderByTuan',item.TCID,item.TCNUM)">{{item.OrderId}}
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.OrderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip> <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top"
</p> v-show="item.OrderForm==4"> <i class="iconfont icon-xiaochengxu"
style="font-size:22px;color:red;"></i></el-tooltip>
</p>
<p v-if="item.IsLeaderOrder==1">(领队)</p> <p v-if="item.IsLeaderOrder==1">(领队)</p>
<p v-else-if="item.IsLeaderOrder!=1&&item.GroupType==1">(散拼跟团)</p> <p v-else-if="item.IsLeaderOrder!=1&&item.GroupType==1">(散拼跟团)</p>
<p v-else-if="item.IsLeaderOrder!=1&&item.GroupType==2">(小包团)</p> <p v-else-if="item.IsLeaderOrder!=1&&item.GroupType==2">(小包团)</p>
...@@ -2241,7 +2205,8 @@ ...@@ -2241,7 +2205,8 @@
</td> </td>
<td> <td>
<div @click="goOpenUrl('confirmationOrder',item.orderId)" style="cursor:pointer;">电子确认函</div> <div @click="goOpenUrl('confirmationOrder',item.orderId)" style="cursor:pointer;">电子确认函</div>
<span v-if='item.ConfirmFileList.length>0' @click="downLoadFile(item.ConfirmFileList)" style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span> <span v-if='item.ConfirmFileList.length>0' @click="downLoadFile(item.ConfirmFileList)"
style="color:blue;text-decoration:underline;font-size:12px;cursor:pointer;">确认函下载</span>
</td> </td>
<td class="RL-BTNlist" rowspan="2"> <td class="RL-BTNlist" rowspan="2">
<el-button-group> <el-button-group>
...@@ -2652,7 +2617,7 @@ ...@@ -2652,7 +2617,7 @@
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
<a id='RegistrationList_DownLoad' target="_blank" style="display:none">1不要删除</a> <a id='RegistrationList_DownLoad' target="_blank" style="display:none">1不要删除</a>
</div> </div>
</template> </template>
...@@ -2795,7 +2760,7 @@ ...@@ -2795,7 +2760,7 @@
CommissionShareMoney: "0", CommissionShareMoney: "0",
//订单归属【HK新加,报名清单页面修改使用】 //订单归属【HK新加,报名清单页面修改使用】
CreateBy: 0, CreateBy: 0,
RefuseVisaNum:0,//拒签人数 RefuseVisaNum: 0, //拒签人数
}, },
//行程下载使用 //行程下载使用
travelControlTripLayerShow: false, travelControlTripLayerShow: false,
...@@ -3135,7 +3100,7 @@ ...@@ -3135,7 +3100,7 @@
this.addMsg.ChirdNeedBedNum = x.ChirdNeedBedNum.toString(); this.addMsg.ChirdNeedBedNum = x.ChirdNeedBedNum.toString();
this.addMsg.ChirdNoNeedBedNum = (x.ChirdNum - x.ChirdNeedBedNum).toString(); this.addMsg.ChirdNoNeedBedNum = (x.ChirdNum - x.ChirdNeedBedNum).toString();
this.addMsg.BabyNum = x.BabyNum.toString(); this.addMsg.BabyNum = x.BabyNum.toString();
this.addMsg.RefuseVisaNum=x.RefuseVisaNum.toString(); this.addMsg.RefuseVisaNum = x.RefuseVisaNum.toString();
this.IsChildrenTour = x.IsChildrenTour; this.IsChildrenTour = x.IsChildrenTour;
this.IsBirdDiscount = x.IsBirdDiscount; this.IsBirdDiscount = x.IsBirdDiscount;
...@@ -4370,7 +4335,7 @@ ...@@ -4370,7 +4335,7 @@
getFlightInfo() { getFlightInfo() {
let msg = { let msg = {
ID: this.ConfigData.Config.AirTicketId, ID: this.ConfigData.Config.AirTicketId,
TCID:this.msg.TCID TCID: this.msg.TCID
} }
this.apipost("ticket_get_GetFlightListByTCID", msg, res => { this.apipost("ticket_get_GetFlightListByTCID", msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -4694,10 +4659,6 @@ ...@@ -4694,10 +4659,6 @@
}, },
//申请优惠 //申请优惠
Preservation() { Preservation() {
// if (this.SOMsg.ApplyPrice < 0) {
// this.$message.error('请填写大于等于0的金额')
// return
// }
var numReg = /^[0-9]+$/ var numReg = /^[0-9]+$/
var numRe = new RegExp(numReg) var numRe = new RegExp(numReg)
if (!numRe.test(this.SOMsg.ApplyPrice)) { if (!numRe.test(this.SOMsg.ApplyPrice)) {
...@@ -4730,8 +4691,7 @@ ...@@ -4730,8 +4691,7 @@
this.SOMsg.ApplyReason = '' this.SOMsg.ApplyReason = ''
} }
}, },
err => { err => {}
}
) )
}, },
//点击修改业务员 //点击修改业务员
...@@ -4745,16 +4705,16 @@ ...@@ -4745,16 +4705,16 @@
this.showChangeSales = false; this.showChangeSales = false;
}, },
//清位 //清位
clearSeat(item,type){ clearSeat(item, type) {
let msg={}; let msg = {};
if(type==1){ if (type == 1) {
msg.IsCanClear = 1; msg.IsCanClear = 1;
msg.OrderId = item.OrderId msg.OrderId = item.OrderId
}else{ } else {
msg.IsCanClear = 0; msg.IsCanClear = 0;
msg.OrderId = item.OrderId msg.OrderId = item.OrderId
} }
this.apipost('sellorder_post_SetOrderIsCanClear',msg, this.apipost('sellorder_post_SetOrderIsCanClear', msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message) this.Success(res.data.message)
...@@ -4764,7 +4724,24 @@ ...@@ -4764,7 +4724,24 @@
} }
}, },
err => {}) err => {})
} },
//更新领队是否占机位
UpdateLeaderSeat(item) {
let msg = {
OrderId: item.OrderId,
IsLeaderUseSeat: this.ConfigData.Config.IsLeaderUseSeat
};
// this.apipost('sellorder_post_SetOrderIsCanClear', msg,
// res => {
// if (res.data.resultCode == 1) {
// this.Success(res.data.message)
// this.getList();
// } else {
// this.Error(res.data.message)
// }
// },
// err => {})
}
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment