mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
1589991af5
commit
f2d526be4e
@ -86,6 +86,7 @@
|
|||||||
},
|
},
|
||||||
_computedAmount: function(){
|
_computedAmount: function(){
|
||||||
let amount = vc.component.prestoreAccount2Info.receivedAmount - vc.component.prestoreAccount2Info.totalAmount;
|
let amount = vc.component.prestoreAccount2Info.receivedAmount - vc.component.prestoreAccount2Info.totalAmount;
|
||||||
|
amount = amount.toFixed(2);
|
||||||
vc.component.prestoreAccount2Info.amount = amount < 0 ? 0 : amount;
|
vc.component.prestoreAccount2Info.amount = amount < 0 ? 0 : amount;
|
||||||
},
|
},
|
||||||
clearPrestoreAccount2Info: function () {
|
clearPrestoreAccount2Info: function () {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user