Commit 8df055b5 authored by Smile's avatar Smile

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

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