Commit 8df055b5 authored by Smile's avatar Smile

需求134后台-集运-包裹列表-转运 生成订单,并运用集运商品线路价格,并在生成订单后,进行包裹状态更新,

parent 8e1a78fe
...@@ -854,7 +854,7 @@ export default { ...@@ -854,7 +854,7 @@ export default {
routerList: [], routerList: [],
tradeCityList: [], tradeCityList: [],
treeList: [], treeList: [],
consIds:[], consIds:null,
consignorContact: {}, // 发货联系人 consignorContact: {}, // 发货联系人
consigneeContact: {}, // 收货联系人 consigneeContact: {}, // 收货联系人
/* consignee: null, /* consignee: null,
...@@ -1365,8 +1365,8 @@ export default { ...@@ -1365,8 +1365,8 @@ export default {
methods: { methods: {
async getTempOrderByConsIds(){ async getTempOrderByConsIds(){
//把传过来的consIds 2,3,4转成数组 //把传过来的consIds 2,3,4转成数组
this.consIds= this.$route.query.consIds.split(',') this.consIds= this.$route.query.consIds
getTempOrderByConsIds({ids: this.consIds.join(',')}).then(async res => { getTempOrderByConsIds({ids: this.consIds}).then(async res => {
this.form = Object.assign({}, {...res.data}, {orderItemVOList: []}) this.form = Object.assign({}, {...res.data}, {orderItemVOList: []})
if (this.$route.query.hasOwnProperty('consIds')) { if (this.$route.query.hasOwnProperty('consIds')) {
// 复制订单,需要将数据初始化 // 复制订单,需要将数据初始化
...@@ -1441,6 +1441,8 @@ export default { ...@@ -1441,6 +1441,8 @@ export default {
this.form.hasSendWarehouseInNotice = null this.form.hasSendWarehouseInNotice = null
} }
delete this.form.cost;
delete this.form.costVO;
this.getOfferData() this.getOfferData()
await this.getTradeCity() await this.getTradeCity()
await this.getOpenedRouterList() await this.getOpenedRouterList()
...@@ -2141,6 +2143,7 @@ export default { ...@@ -2141,6 +2143,7 @@ export default {
}else if (this.form.transportId=== 3){ }else if (this.form.transportId=== 3){
this.form.transferPriceConfirmationStatus = 0 this.form.transferPriceConfirmationStatus = 0
} }
this.form.consIds = this.consIds;
} }
let data = Object.assign({ let data = Object.assign({
consigneeId: this.consigneeContact.customerId, consigneeId: this.consigneeContact.customerId,
......
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