Bläddra i källkod

修改小数点位数

mxx 3 år sedan
förälder
incheckning
6138487c4b
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
       }
     },