ccjgmwz 3 vuotta sitten
vanhempi
commit
e7f2e2cab6
1 muutettua tiedostoa jossa 10 lisäystä ja 8 poistoa
  1. 10 8
      src/views/houseSelfCollect/newWeighingManagement.vue

+ 10 - 8
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -1200,13 +1200,7 @@
       },
       handleCurrentChange(val) {
         this.submitAllow = false
-        if (this.tpyeNo == 2 && this.status == 1 && val && val.qualityInspectionManagement.confirm == 0) {
-          this.submitAllow = true
-          this.$message({
-            message: '该条质检信息未确认',
-            type: 'warning'
-          });
-        }
+        
         if (val) {
           this.currentRow = val
           this.carWeightInfo = {
@@ -1220,8 +1214,15 @@
             this.weighingList.boxNoOther = val.qualityInspectionManagement.boxNoOther
             this.weighingList.titleNo = val.qualityInspectionManagement.titleNo
             this.weighingList.titleNoOther = val.qualityInspectionManagement.titleNoOther
+            if (this.tpyeNo == 2 && this.status == 1 && val && val.qualityInspectionManagement.confirm == 0&&this.warehouseName != '克东千丰库') {
+              this.submitAllow = true
+              this.$message({
+                message: '该条质检信息未确认',
+                type: 'warning'
+              });
+            }
+            this.paramType = val.qualityInspectionManagement.paramType
           }
-          this.paramType = val.qualityInspectionManagement.paramType
         }
       },
       cancel() {
@@ -1422,6 +1423,7 @@
             type: 'warning',
           })
           .then(() => {
+            debugger
             var that = this
             var warehousing = {}
             //贸易入库保存需要再走入库接口