diff --git a/packages/community/propertyPayment/index.vue b/packages/community/propertyPayment/index.vue index 145b06b7..68b6629f 100644 --- a/packages/community/propertyPayment/index.vue +++ b/packages/community/propertyPayment/index.vue @@ -230,7 +230,7 @@ 微信支付 - {{ (currentMoney - balanceMoney).toFixed(2) }} + {{ balanceMoney > currentMoney ? 0.00 : (currentMoney - balanceMoney).toFixed(2) }} @@ -241,7 +241,7 @@ 物业公积金支付 - {{ balanceMoney }} + {{ balanceMoney > currentMoney ? currentMoney : balanceMoney }} @@ -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; }