Browse Source

修改小数点位数

mxx 3 năm trước cách đây
mục cha
commit
6138487c4b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
       }
     },