From 07cd4c0f62a7eb4f8f353086c027331b276214a7 Mon Sep 17 00:00:00 2001 From: liuyp Date: Fri, 14 Jun 2024 10:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emisTmsScanRecord/positionScanning.vue | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/src/views/emis/emisTmsScanRecord/positionScanning.vue b/src/views/emis/emisTmsScanRecord/positionScanning.vue index 5fead701..cf8819d6 100644 --- a/src/views/emis/emisTmsScanRecord/positionScanning.vue +++ b/src/views/emis/emisTmsScanRecord/positionScanning.vue @@ -2,16 +2,6 @@
- - - - 扫描单号 - - - - - - @@ -21,9 +11,8 @@ style="width:100%" filterable clearable - v-model="keepWarehouseValue" - @change="onKeepWarehouseSelect"> - + v-model="form.keepType"> + @@ -35,7 +24,16 @@ - + + + + 扫描单号 + + + + + + @@ -100,6 +98,12 @@ {{ parseTime(scope.row.scanDate) }} + + + + @@ -220,6 +224,10 @@ export default { this.form.ids= arr.map(item=>item.id) }, handleBatchScan(){ + if(this.form.keepType==null || this.form.remark==''){ + this.$message.error("请先输入必填字段"); + return; + } this.formBatch = { billCode: null, } @@ -385,7 +393,8 @@ export default { picUrl:item.picUrl, scanDate:item.scanDate, scanWeight:item.scanWeight, - remark:((item.keepWarehouseRemark?item.keepWarehouseRemark+" ":"") + (item.remark ? item.remark : "")).trim(), + keepType:item.keepType, + remark:item.remark,//((item.keepWarehouseRemark?item.keepWarehouseRemark+" ":"") + (item.remark ? item.remark : "")).trim(), dispatchOrSendManCode:item.dispatchOrSendManCode } ); @@ -425,6 +434,10 @@ export default { this.$message.error("输入单号后回车"); return; } + if(this.form.keepType==null || this.form.remark==''){ + this.$message.error("请输入必填字段"); + return; + } if(this.dataMap[this.form.billCode]){ this.$message.error("重复扫描");