ccj 2 tahun lalu
induk
melakukan
d176679cfa

+ 38 - 38
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -1646,25 +1646,25 @@ export default {
         })
         return
       }
-      if (this.weighingList.grossWeight < 1 || this.weighingList.grossWeight > 200000) {
-        this.$message({
-          message: '毛重输入错误',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        String(this.weighingList.grossWeight).indexOf('.') != -1 &&
-        String(this.weighingList.grossWeight).length -
-        (String(this.weighingList.grossWeight).indexOf('.') + 1) >
-        1
-      ) {
-        this.$message({
-          message: '毛重输入错误',
-          type: 'warning',
-        })
-        return
-      }
+      // if (this.weighingList.grossWeight < 1 || this.weighingList.grossWeight > 200000) {
+      //   this.$message({
+      //     message: '毛重输入错误',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
+      // if (
+      //   String(this.weighingList.grossWeight).indexOf('.') != -1 &&
+      //   String(this.weighingList.grossWeight).length -
+      //   (String(this.weighingList.grossWeight).indexOf('.') + 1) >
+      //   1
+      // ) {
+      //   this.$message({
+      //     message: '毛重输入错误',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
       if (this.tpyeNo == 2) {
         if (!this.weighingList.tare) {
           this.$message({
@@ -1687,25 +1687,25 @@ export default {
           })
           return
         }
-        if (this.weighingList.tare < 1 || this.weighingList.tare > 100000) {
-          this.$message({
-            message: '皮重输入错误',
-            type: 'warning',
-          })
-          return
-        }
-        if (
-          String(this.weighingList.tare).indexOf('.') != -1 &&
-          String(this.weighingList.tare).length -
-          (String(this.weighingList.tare).indexOf('.') + 1) >
-          1
-        ) {
-          this.$message({
-            message: '皮重输入错误',
-            type: 'warning',
-          })
-          return
-        }
+        // if (this.weighingList.tare < 1 || this.weighingList.tare > 100000) {
+        //   this.$message({
+        //     message: '皮重输入错误',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
+        // if (
+        //   String(this.weighingList.tare).indexOf('.') != -1 &&
+        //   String(this.weighingList.tare).length -
+        //   (String(this.weighingList.tare).indexOf('.') + 1) >
+        //   1
+        // ) {
+        //   this.$message({
+        //     message: '皮重输入错误',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
 
         if (Number(this.weighingList.netWeight < 0)) {
           this.$message({

+ 1 - 0
src/views/warehousenew/dryWarehousing.vue

@@ -544,6 +544,7 @@ export default {
                         this.getCarXiaLa()
                         this.getList()
                     }
+                    this.deptBudgetList.warehouseName = this.warehouseName
                 })
         },
         getList() {