ccjgmwz 3 years ago
parent
commit
1d1fdb5549
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/warehouse/warehouseManagementGross.vue

+ 2 - 2
src/views/warehouse/warehouseManagementGross.vue

@@ -1752,7 +1752,7 @@
         if (
           this.deptBudgetList.grossWeight &&
           this.deptBudgetList.tare &&
-          this.deptBudgetList.deductionWeight
+          (this.deptBudgetList.deductionWeight||this.deptBudgetList.deductionWeight == 0)
         ) {
           this.deptBudgetList.netWeight = Number(
             this.deptBudgetList.grossWeight -
@@ -1765,7 +1765,7 @@
         if (
           this.deptBudgetList.grossWeight &&
           this.deptBudgetList.tare &&
-          this.deptBudgetList.deductionWeight
+          (this.deptBudgetList.deductionWeight||this.deptBudgetList.deductionWeight == 0)
         ) {
           this.deptBudgetList.netWeight = Number(
             this.deptBudgetList.grossWeight -