修复物业缴费页面金额显示异常问题

This commit is contained in:
赵毅 2025-09-25 15:37:04 +08:00
parent af606e5727
commit e59eab06f9

View File

@ -138,7 +138,7 @@
<view class="bottom_left"> <view class="bottom_left">
<span>合计</span> <span>合计</span>
<p></p> <p></p>
{{ currentMoney }} {{ currentMoney.toFixed(2) }}
</view> </view>
<view class="bottom_right" @click="createPay">立即支付</view> <view class="bottom_right" @click="createPay">立即支付</view>
</view> </view>
@ -401,7 +401,7 @@ export default {
} }
}); });
}); });
this.currentMoney = money; this.currentMoney = money ? money.toFixed(2) : 0.00;
}, },
// //
itemsCheckChange(e, indes, index) { itemsCheckChange(e, indes, index) {
@ -425,7 +425,7 @@ export default {
} }
}); });
}); });
this.currentMoney = money; this.currentMoney = money ? money.toFixed(2) : 0.00;
}, },
// //
changePayType(e) { changePayType(e) {