瀏覽代碼

Merge branch 'master' of http://47.100.3.209:3000/gdc/yiliangyiyun-pc

zhongtianhaoyuan 3 年之前
父節點
當前提交
298c9eb540
共有 1 個文件被更改,包括 13 次插入13 次删除
  1. 13 13
      src/views/warehouse/warehouseManagementTare.vue

+ 13 - 13
src/views/warehouse/warehouseManagementTare.vue

@@ -409,7 +409,7 @@
           grossWeight: '',
           tare: '',
           inOutDate: '',
-          selfLoading: "0",
+          selfLoading: '0',
         },
         weightbills: {},
         historyList: [],
@@ -441,8 +441,8 @@
             value: '3',
           },
         ],
-        tare: "0", //显示的皮重
-        carChange1: "手动填写",
+        tare: '0', //显示的皮重
+        carChange1: '手动填写',
         carjudge: false,
         options2: [],
       }
@@ -484,11 +484,11 @@
       carNoTypeChange() {
         this.carjudge = !this.carjudge
         if (!this.carjudge) {
-          this.deptBudgetList.selfLoading = "0"
-          this.carChange1 = "手动填写"
+          this.deptBudgetList.selfLoading = '0'
+          this.carChange1 = '手动填写'
         } else {
-          this.deptBudgetList.selfLoading = "1"
-          this.carChange1 = "识别下拉"
+          this.deptBudgetList.selfLoading = '1'
+          this.carChange1 = '识别下拉'
         }
       },
       setVal(data) {
@@ -708,7 +708,7 @@
         if (
           this.information == '毛重检斤' &&
           (this.deptBudgetList.grossWeight <= 0 ||
-            this.deptBudgetList.grossWeight > 200000 ||
+            this.deptBudgetList.grossWeight > 800000000 ||
             (String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
               String(this.deptBudgetList.grossWeight).length -
               (String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
@@ -730,7 +730,7 @@
         if (
           this.information == '皮重检斤' &&
           (this.deptBudgetList.tare < 0 ||
-            this.deptBudgetList.tare > 200000 ||
+            this.deptBudgetList.tare > 8000000 ||
             (String(this.deptBudgetList.tare).indexOf('.') != -1 &&
               String(this.deptBudgetList.tare).length -
               (String(this.deptBudgetList.tare).indexOf('.') + 1) >
@@ -1022,7 +1022,7 @@
         }
         if (
           this.deptBudgetList.grossWeight <= 0 ||
-          this.deptBudgetList.grossWeight > 5000000 ||
+          this.deptBudgetList.grossWeight > 800000000 ||
           (String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
             String(this.deptBudgetList.grossWeight).length -
             (String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
@@ -1043,7 +1043,7 @@
         }
         if (
           this.deptBudgetList.tare < 0 ||
-          this.deptBudgetList.tare > 500000 ||
+          this.deptBudgetList.tare > 800000 ||
           (String(this.deptBudgetList.tare).indexOf('.') != -1 &&
             String(this.deptBudgetList.tare).length -
             (String(this.deptBudgetList.tare).indexOf('.') + 1) >
@@ -1064,7 +1064,7 @@
         }
         if (
           this.deptBudgetList.netWeight <= 0 ||
-          this.deptBudgetList.netWeight >= 5000000
+          this.deptBudgetList.netWeight >= 5000000000
         ) {
           this.$message({
             message: '净重输入错误!',
@@ -1442,7 +1442,7 @@
           }
         }
         if (!this.carstatus) { //若自运的合同该字段置空
-          this.deptBudgetList.selfLoading = ""
+          this.deptBudgetList.selfLoading = ''
         }
         this.$confirm(`确定提交出库信息`, {
           cancelButtonText: '取消',