Browse Source

修复市配bug

dev-xx
qb 9 months ago
parent
commit
dfc81d95c9
  1. 25
      src/views/distribution/turndelivery/deliveryMarket.vue

25
src/views/distribution/turndelivery/deliveryMarket.vue

@ -1603,7 +1603,6 @@ export default {
}
}
}
console.log('this.vehticleList :>> ', this.vehticleList);
break;
}
}
@ -1744,12 +1743,20 @@ export default {
ddd() {
if (this.deliveryListId) {
this.vehicleIds = [];
this.vehticleList = [];
this.vehticleInfo = [];
this.driverInfo = [];
this.deliveryDriver = [];
this.driverForm.masterDriverName = '';
this.driverForm.masterVehicleNub = '';
this.driverForm = {};
} else {
// this.loadAndUnload = [];
this.vehicleIds = [];
this.vehticleList = [];
this.vehticleInfo = [];
this.driverInfo = [];
this.deliveryDriver = [];
this.serveType = [];
this.driverForm = {};
this.waixieForm = {};
@ -1791,7 +1798,8 @@ export default {
this.isoperation = true;
//
getMarketDeliveryList(this.deliveryListId).then(async res => {
getMarketDeliveryList(this.deliveryListId)
.then(async res => {
console.log('--------------->', res.data.data);
const deliveryData = res.data.data;
// this.stockUpForm.outboundDate = deliveryData.stockupInfo.outboundDate;
@ -1848,7 +1856,7 @@ export default {
this.deliveryDriver = b;
this.driverList = b;
this.driverInfo = driverInfo;
this.loadingObj.pageLoading=false
this.loadingObj.pageLoading = false;
} else {
let deliveryTripartiteVO = deliveryData.deliveryTripartiteVO;
this.aaa = false;
@ -1859,17 +1867,14 @@ export default {
this.waixieForm.vehicleNum = deliveryTripartiteVO.vehicleNum;
this.waixieForm.driverPhone = deliveryTripartiteVO.driverPhone;
this.waixieForm.deliveryFee = deliveryTripartiteVO.deliveryFee;
this.loadingObj.pageLoading=false
this.loadingObj.pageLoading = false;
}
}).catch(()=>{
}).finally(()=>{
})
.catch(() => {})
.finally(() => {
this.loading = false;
});
}
},
},
};

Loading…
Cancel
Save