浏览代码

no message

achao 3 年之前
父节点
当前提交
c76fb4ba7b
共有 1 个文件被更改,包括 2 次插入2 次删除
  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({