ccjgmwz 3 سال پیش
والد
کامیت
0930dd2ee9

+ 8 - 0
src/views/warehouse/warehouseManagementGross.vue

@@ -1159,6 +1159,10 @@ export default {
     },
     //提交按钮
     submit() {
+      
+      if(this.reader){
+        this.reader.cancel()
+      }
       if (!this.deptBudgetList.goodsName) {
         this.$message({
           message: '货名不能为空',
@@ -1774,6 +1778,10 @@ export default {
         })
     },
     temporaryStorage() {
+      
+        if(this.reader){
+          this.reader.cancel()
+        }
       if (!this.deptBudgetList.goodsName) {
         this.$message({
           message: '货名不能为空',

+ 4 - 0
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -1235,6 +1235,10 @@ export default {
     },
     //提交按钮
     submit() {
+      
+      if(this.reader){
+        this.reader.cancel()
+      }
       if (!this.dataList.goodsName) {
         this.$message({
           message: '货名不能为空',

+ 4 - 0
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -957,6 +957,10 @@ export default {
     typeChange(e) {},
     //提交按钮
     submit() {
+      
+      if(this.reader){
+        this.reader.cancel()
+      }
       if (!this.dataList.goodsName) {
         this.$message({
           message: '货名不能为空',