浏览代码

修改小数点位数

mxx 3 年之前
父节点
当前提交
6138487c4b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/houseSelfCollect/paymentManagement.vue

+ 1 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -589,7 +589,7 @@ export default {
           sum += this.modification[i].amountIngPayable
           count += this.modification[i].amountEdPayable
         }
-        this.payments.amountNotPayable = sum - count
+        this.payments.amountNotPayable = (sum - count).toFixed(2)
         this.paymentForm = true
       }
     },