Browse Source

no message

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

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

@@ -607,9 +607,9 @@
         if (this.deptBudgetList.warehouseInOutDetail.waterContent) {
           let _water = this.deptBudgetList.warehouseInOutDetail.waterContent
           if (Number(_water) > 14.9) {
-            _price = (Number(_water) - 14.9) * 0.005
+            _price = ((Number(_water) - 14.9) * 0.005).toFixed(3)
           }
-          this.deptBudgetList.deductionAmount = _price.toFixed(3)
+          this.deptBudgetList.deductionAmount = _price
           this.kkInput(_price)
         } else {
           this.$message({