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",