ccjgmwz 3 years ago
parent
commit
a58c956397
1 changed files with 19 additions and 19 deletions
  1. 19 19
      src/views/contractManagement/purchaseContractAdd.vue

+ 19 - 19
src/views/contractManagement/purchaseContractAdd.vue

@@ -1203,25 +1203,25 @@ export default {
         })
         return
       }
-      if (
-        (!this.deptBudgetList.contractProcessInfo.goodsNameKey > 1000000000) ||
-          (this.deptBudgetList.contractProcessInfo.goodsNameKey < 100) ||
-        (String(this.deptBudgetList.contractProcessInfo.goodsNameKey).indexOf(
-          '.'
-        ) != -1 &&
-          String(this.deptBudgetList.contractProcessInfo.goodsNameKey).length -
-            (String(
-              this.deptBudgetList.contractProcessInfo.goodsNameKey
-            ).indexOf('.') +
-              1) >
-            2)
-      ) {
-        this.$message({
-          message: '合同收入金额输入错误',
-          type: 'warning',
-        })
-        return
-      }
+      // if (
+      //   (!this.deptBudgetList.contractProcessInfo.goodsNameKey > 1000000000) ||
+      //     (this.deptBudgetList.contractProcessInfo.goodsNameKey < 100) ||
+      //   (String(this.deptBudgetList.contractProcessInfo.goodsNameKey).indexOf(
+      //     '.'
+      //   ) != -1 &&
+      //     String(this.deptBudgetList.contractProcessInfo.goodsNameKey).length -
+      //       (String(
+      //         this.deptBudgetList.contractProcessInfo.goodsNameKey
+      //       ).indexOf('.') +
+      //         1) >
+      //       2)
+      // ) {
+      //   this.$message({
+      //     message: '合同收入金额输入错误',
+      //     type: 'warning',
+      //   })
+      //   return
+      // }
       if (
         (this.deptBudgetList.contractProcessInfo.waterContent > 10000000) ||
           (this.deptBudgetList.contractProcessInfo.waterContent < 0) ||