mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-06-07 06:22:27 +08:00
修复支付bug
This commit is contained in:
@@ -174,8 +174,13 @@
|
||||
this.resetAndLoad();
|
||||
},
|
||||
formatMoney(val) {
|
||||
if (!val && val !== 0) return '—';
|
||||
return '¥' + Number(val).toFixed(2);
|
||||
if (val === null || val === undefined || isNaN(val)) return '—';
|
||||
val = Number(val);
|
||||
if (val >= 100000) {
|
||||
const wan = val / 10000;
|
||||
return '¥' + wan + '万';
|
||||
}
|
||||
return '¥' + val.toFixed(2);
|
||||
},
|
||||
resetAndLoad(){
|
||||
this.loadStatus = 'more';
|
||||
|
||||
Reference in New Issue
Block a user