Explorar o código

修改小数点位数

mxx %!s(int64=3) %!d(string=hai) anos
pai
achega
6138487c4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
       }
     },