优化代码

This commit is contained in:
wuxw 2023-11-27 21:34:25 +08:00
parent 9ec2bf6caf
commit 6d7935a40a

View File

@ -288,9 +288,9 @@
}
})
});
_receivableAmount = _receivableAmount.toFixed(2);
_receivableAmount = _receivableAmount - parseFloat(this.accountAmount);
_receivableAmount = _receivableAmount < 0 ? 0.00 : _receivableAmount;
this.receivableAmount = _receivableAmount;
this.receivableAmount = _receivableAmount.toFixed(2);
}
}
};