diff --git a/src/views/emis/emisTmsScanRecord/coPackageScanning.vue b/src/views/emis/emisTmsScanRecord/coPackageScanning.vue index 5f1d2e94..54524035 100644 --- a/src/views/emis/emisTmsScanRecord/coPackageScanning.vue +++ b/src/views/emis/emisTmsScanRecord/coPackageScanning.vue @@ -452,6 +452,7 @@ export default { { billCode:this.form.billCode, scanWeight:this.form.scanWeight, + bagNo: this.form.bagNo // dispatchOrSendManCode:this.form.dispatchOrSendManCode } ] diff --git a/src/views/emis/emisWaybillProblemInfo/problemEntry.vue b/src/views/emis/emisWaybillProblemInfo/problemEntry.vue index 5f9c05dc..23dbf478 100644 --- a/src/views/emis/emisWaybillProblemInfo/problemEntry.vue +++ b/src/views/emis/emisWaybillProblemInfo/problemEntry.vue @@ -368,6 +368,14 @@ export default { // this.getWaybill(this.form.billCode) // this.loading = true; + for(let i = 0; i < this.emisWaybillList.length; i++){ + if(this.emisWaybillList[i].billCode == this.form.billCode && this.emisWaybillList[i].problemId == this.form.problemId){ + this.$message.error("重复扫描"); + this.form.billCode = ""; + return; + } + } + let res=await getWaybillDetail(this.form.billCode); // this.loading = false; if(res.code != 200){ @@ -476,7 +484,6 @@ export default { this.$message.error("请填写问题原因"); return; } - debugger; this.tempRecord.notifySiteCode = this.form.notifySiteCode; this.tempRecord.notifySiteName = this.form.notifySiteName; this.tempRecord.problemTypeName=this.form.problemType; @@ -641,7 +648,20 @@ export default { // }); this.loading = true; for(let bc=0;bc (item.billCode == bcList[bc] && item.problemId == this.form.problemId)); + if(exitlist.length > 0){ + this.$message.error("单号:"+ bcList[bc] + ", 已存在"); + continue; + }else{ + await this.addToList(bcList[bc]); + } } this.loading = false; this.openBatch=false; diff --git a/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue b/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue index 15350079..59ddf3fc 100644 --- a/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue +++ b/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue @@ -83,6 +83,15 @@ @click="getList" >查询 + + - + @@ -202,7 +212,7 @@