bug修改
This commit is contained in:
@@ -663,6 +663,7 @@ export default {
|
||||
calculateOutstandingAmount() {
|
||||
if (this.accountsReceivableNum !== null && this.amountReceivedNum !== null) {
|
||||
this.model.outstandingAmount = Number(this.accountsReceivableNum) - Number(this.amountReceivedNum)
|
||||
this.model.outstandingAmount = this.model.outstandingAmount.toFixed(2)
|
||||
// 未收金额 === 0,已付全款状态
|
||||
if (this.model.outstandingAmount <= 0) {
|
||||
this.model.accountStatus = '3'
|
||||
|
||||
Reference in New Issue
Block a user