Commit 5709168b authored by 吴春's avatar 吴春

订单修改的时候获取客户信息新传入客户id字段

parent 157a5145
......@@ -3134,7 +3134,7 @@
this.isShowLayer = false;
this.isShowLayer2 = true;
}
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy,x.CustomerId);
this.getDdlyList(this.addMsg.CustomerType);
let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum) )
this.Unit_PriceList=[];
......@@ -3255,7 +3255,7 @@
err => {}
);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy,x.CustomerId);
this.getDdlyList(this.addMsg.CustomerType);
} else {
this.$message.error(res.data.message);
......@@ -3996,11 +3996,12 @@
err => {}
);
},
getKhmdList(id, lineId,employeeId) {
getKhmdList(id, lineId,employeeId,CustomerId) {
this.apipost(
"app_today_visit_GetNewOrderMyCustomerList",
{ typeId: id, lineId: lineId,
EmoloyeeId: employeeId
EmoloyeeId: employeeId,
customerId:CustomerId
},
res => {
if (res.data.resultCode == 1) {
......
......@@ -1914,7 +1914,7 @@
<tr>
<td rowspan="2" style="position:relative;">
<p v-if="item.isUnionOrder==1" class="GO_union"></p>
<p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId">{{item.orderId}}
<p class="fbold over_ellipsis" style="width: 100%;" :title="item.orderId">{{item.orderId}}
<span style="font-weight: 100;" v-if="item.scoreNum >= 0">(评分{{item.scoreNum}})</span>
<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>
</p>
......@@ -3151,7 +3151,7 @@
this.isShowLayer = false;
this.isShowLayer2 = true;
}
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy,x.CustomerId);
this.getDdlyList(this.addMsg.CustomerType);
let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum) )
this.apipost('sellorder_post_GetLessPrice', {"TCID":obj.tcid, "MaxPeopleNum": maxPeopleNum}, res => {
......@@ -3273,7 +3273,7 @@
err => {}
);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy);
this.getKhmdList(this.addMsg.CustomerType, obj.lineId,this.addMsg.CreateBy,x.CustomerId);
this.getDdlyList(this.addMsg.CustomerType);
} else {
this.$message.error(res.data.message);
......@@ -4014,11 +4014,12 @@
err => {}
);
},
getKhmdList(id, lineId,employeeId) {
getKhmdList(id, lineId,employeeId,CustomerId) {
this.apipost(
"app_today_visit_GetNewOrderMyCustomerList",
{ typeId: id, lineId: lineId,
EmoloyeeId: employeeId
EmoloyeeId: employeeId,
customerId:CustomerId
},
res => {
if (res.data.resultCode == 1) {
......
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