高敬炎 1 anno fa
parent
commit
8c9bc33fd3

+ 1 - 4
src/views/tradeServicesManagement/warehouseReceiptAdd.vue

@@ -193,7 +193,6 @@
               pureWeight+=data.modification[i].pureWeight
             }
             this.deptBudgetList.goodsName = data.modification[0].goodsName
-            console.log(11111)
             this.dataFlush()
             this.deptBudgetList.weight = weight.toFixed(2)
             if(this.deptBudgetList.goodsName.indexOf('潮粮')!=-1){
@@ -426,9 +425,7 @@
             .weight)) {
           if (!this.deptBudgetList.weight) {
             this.$message.error('本单重量不能为空!');
-          } else {
-            this.$message.error('本单重量输入错误且本单重量不可超过可用重量!');
-          }
+          } 
           return false
         }
         if (!this.deptBudgetList.unitPrice || _Validate(1, 20000, 3, '', this.deptBudgetList