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