From e03aed53a5d62b78160268afd022eb12998eb10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Fri, 26 Sep 2025 17:41:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E4=B8=9A=E7=BC=B4?= =?UTF-8?q?=E8=B4=B9=E6=94=AF=E4=BB=98=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/propertyPayment/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; }