md
This commit is contained in:
parent
7a07f046cc
commit
d04858de87
@ -774,27 +774,24 @@ export default {
|
||||
// let resData = response.data;
|
||||
// let time = {};
|
||||
// time.carTime = resData.etd;
|
||||
// this.coData = {...resData, ...{batchDate:resData.createTime}, ...time};
|
||||
|
||||
this.coData = {...response.data};
|
||||
|
||||
|
||||
this.emisCoPackDetail=[];
|
||||
let resList = await listEmisTmsSiteBatchDtl({batchNo: resData.batchNo});
|
||||
let resList = await listEmisTmsSiteBatchDtl({batchNo: this.coData.batchNo});
|
||||
if(!resList || resList.code != 200){
|
||||
this.$modal.msgError(resList && resList.msg || "未知错误");
|
||||
return;
|
||||
}
|
||||
this.tempExistCoPackWayBillList = resList.rows;
|
||||
//临时存储,用于运单号校验
|
||||
this.tempCoPackInfo = resData;
|
||||
this.tempCoPackInfo = this.coData;
|
||||
for(let p = 0; p < resList.rows.length;p++){
|
||||
this.emisCoPackDetail.push(resList.rows[p].waybillDetail);
|
||||
}
|
||||
this.coData.packStatus = this.tempCoPackInfo.packStatus;
|
||||
this.coData.scanDate = this.tempCoPackInfo.scanDate;
|
||||
|
||||
let resLoadingList = await listEmisTmsSiteBatchLoading({batchNo: resData.batchNo});
|
||||
let resLoadingList = await listEmisTmsSiteBatchLoading({batchNo: this.coData.batchNo});
|
||||
if(!resLoadingList || resLoadingList.code != 200){
|
||||
this.$modal.msgError(resLoadingList && resLoadingList.msg || "未知错误");
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user