diff --git a/src/views/emis/emisTmsSiteBatch/panel/BigBatchPanel.vue b/src/views/emis/emisTmsSiteBatch/panel/BigBatchPanel.vue index 1a65f13f..85f3a227 100644 --- a/src/views/emis/emisTmsSiteBatch/panel/BigBatchPanel.vue +++ b/src/views/emis/emisTmsSiteBatch/panel/BigBatchPanel.vue @@ -1359,8 +1359,41 @@ export default { } let bcList=this.formBatchBillList.trim().split(/[;\;\,\,\n]/)||[]; - bcList.forEach(async (billcode) => { - billcode = billcode.trim(); + // bcList.forEach(async (billcode) => { + // billcode = billcode.trim(); + // if(this.emisCoPackDetail.filter(wb => wb.billCode == billcode).length == 0){ + // let billRes = await listEmisWaybill({billCode:billcode}); + // if(!billRes || billRes.code != 200){ + // this.$modal.msgError(billRes && billRes.msg) + // return; + // }else if(!billRes.rows || billRes.rows.length < 1){ + // this.$modal.msgError(('无此运单数据') + ": " + billcode) + // return; + // } + // let item = billRes.rows[0]; + // this.emisCoPackDetail.push(item); + // if(this.coPackType=="edit"){ + // let packDetail = { + // batchNo: this.coData.batchNo, + // billCode: item.billCode, + // scanDate: item.scanDate, + // scanStatus: item.scanStatus, + // groupStatus: "1",//已组批次 + // scanMan: item.scanMan, + // scanSite: item.scanSite, + // createBy: this.$store.getters.empCode, + // createTime: parseTime(new Date()) + // }; + // let response = await addEmisTmsSiteBatchDtl(packDetail); + // if(!response || response.code != 200){ + // this.$modal.msgError(response && response.msg || '组批次明细新增失败') + // return; + // } + // } + // } + // }) + for(let i = 0; i < bcList.length; i++){ + let billcode = bcList[i].trim(); if(this.emisCoPackDetail.filter(wb => wb.billCode == billcode).length == 0){ let billRes = await listEmisWaybill({billCode:billcode}); if(!billRes || billRes.code != 200){ @@ -1391,7 +1424,7 @@ export default { } } } - }) + } this.titleBatch=""; this.openBatch=false; this.formBatchBillList = ""; diff --git a/src/views/emis/emisTmsSiteBatch/panel/ExpressPanel.vue b/src/views/emis/emisTmsSiteBatch/panel/ExpressPanel.vue index eb3924e9..6f94e0e7 100644 --- a/src/views/emis/emisTmsSiteBatch/panel/ExpressPanel.vue +++ b/src/views/emis/emisTmsSiteBatch/panel/ExpressPanel.vue @@ -1305,8 +1305,9 @@ export default { } let bcList=this.formBatchBillList.trim().split(/[;\;\,\,\n]/)||[]; - bcList.forEach(async (billcode) => { - billcode = billcode.trim(); + // bcList.forEach(async (billcode) => { + for(let i = 0; i < bcList.length; i++){ + let billcode = bcList[i].trim(); if(this.emisCoPackDetail.filter(wb => wb.billCode == billcode).length == 0){ let billRes = await listEmisWaybill({billCode:billcode}); if(!billRes || billRes.code != 200){ @@ -1337,7 +1338,7 @@ export default { } } } - }) + } this.titleBatch=""; this.openBatch=false; this.formBatchBillList = ""; diff --git a/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue b/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue index ffc8bc8c..f5033489 100644 --- a/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue +++ b/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue @@ -563,6 +563,7 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = []; + debugger; for(let i = 0; i< selection.length; i++){ if(selection[i].blReversion != "1"){ this.ids.push(selection[i].id) diff --git a/src/views/emis/emisWaybillProblemInfo/problemEntry.vue b/src/views/emis/emisWaybillProblemInfo/problemEntry.vue index e0eb5c30..7aaf901e 100644 --- a/src/views/emis/emisWaybillProblemInfo/problemEntry.vue +++ b/src/views/emis/emisWaybillProblemInfo/problemEntry.vue @@ -134,7 +134,12 @@ - + + + + @@ -155,8 +160,8 @@ - - + + @@ -196,7 +201,7 @@