ccjgmwz 3 rokov pred
rodič
commit
1d1fdb5549

+ 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 -