优化代码

This commit is contained in:
java110 2022-05-16 11:47:50 +08:00
parent 23a487a9b1
commit e57ee10feb

View File

@ -331,8 +331,9 @@
}, },
// ×+ × // ×+ ×
getReceivableAmount: function() { getReceivableAmount: function() {
return ((this.builtUpArea * this.squarePrice + parseFloat(this.additionalAmount)) * this.feeMonth) // return ((this.builtUpArea * this.squarePrice + parseFloat(this.additionalAmount)) * this.feeMonth)
.toFixed(2); // .toFixed(2);
return (this.amount * this.feeMonth).toFixed(2);
}, },
// //