From 32799b8b44dcbf4e521b7e3476ba15fb7b5c0f0e Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 22 Jul 2025 18:02:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=AE=97=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PlanPicker/otherPlan.vue | 42 +++++++++++++++---------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/src/components/PlanPicker/otherPlan.vue b/src/components/PlanPicker/otherPlan.vue index d9c6078..dbd7b44 100644 --- a/src/components/PlanPicker/otherPlan.vue +++ b/src/components/PlanPicker/otherPlan.vue @@ -352,24 +352,32 @@ export default { for (let i of selections) { if(!i._inputMoney){ - // 多选的时候 需要大于0 - if(this.isMuplite){ - if (i._inputMoney <= 0) { - this.$message({ - type: "warning", - message: `【${i.year}】${i.name} 使用金额需要大于0!`, - }); - return; - } - }else{ - if (i._inputMoney < 0) { - this.$message({ - type: "warning", - message: `【${i.year}】${i.name} 使用金额需要大于0!`, - }); - return; - } + if (i._inputMoney < 0) { + this.$message({ + type: "warning", + message: `【${i.year}】${i.name} 使用金额需要大于0!`, + }); + return; } + + // 多选的时候 需要大于0 + // if(this.isMuplite){ + // if (i._inputMoney <= 0) { + // this.$message({ + // type: "warning", + // message: `【${i.year}】${i.name} 使用金额需要大于0!`, + // }); + // return; + // } + // }else{ + // if (i._inputMoney < 0) { + // this.$message({ + // type: "warning", + // message: `【${i.year}】${i.name} 使用金额需要大于0!`, + // }); + // return; + // } + // } if (i._inputMoney > ((Number(i.money) || Number(i.update_money)) - Number(i.has_money_total))) { this.$message({ type: "warning",