修改物业缴费支付报错
This commit is contained in:
parent
a0c040e3af
commit
e03aed53a5
@ -230,7 +230,7 @@
|
||||
微信支付
|
||||
</view>
|
||||
<view class="banlenceItem_right">
|
||||
<span>¥</span>{{ (currentMoney - balanceMoney).toFixed(2) }}
|
||||
<span>¥</span>{{ balanceMoney > currentMoney ? 0.00 : (currentMoney - balanceMoney).toFixed(2) }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line3"></view>
|
||||
@ -241,7 +241,7 @@
|
||||
物业公积金支付
|
||||
</view>
|
||||
<view class="banlenceItem_right">
|
||||
<span>¥</span>{{ balanceMoney }}
|
||||
<span>¥</span>{{ balanceMoney > currentMoney ? currentMoney : balanceMoney }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -476,7 +476,10 @@ export default {
|
||||
if (this.payType == 1 || isComboPay) {
|
||||
//微信支付或组合支付
|
||||
if (isComboPay) {
|
||||
payParams.money = this.currentMoney - Number(this.balanceMoney).toFixed(2);
|
||||
payParams.money = this.currentMoney - Number(this.balanceMoney).toFixed(2) > 0 ? this.currentMoney - Number(this.balanceMoney).toFixed(2) : 0.00;
|
||||
if (payParams.money == 0.00) {
|
||||
this.payType = 2;
|
||||
}
|
||||
} else {
|
||||
payParams.money = this.currentMoney;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user