diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 84f7cdaa7..41a096aa5 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -500,23 +500,24 @@ export default { // 'if(ParKey == "payEndYear"){', // ' payEndYear = Par.value + Par.flag;', // ' lintAgeObj = ageMap[payEndYear];', - // ' let flag = true;', + // ' let flag = true, num = parObj.insuYear.columns.length;', // ' parObj.insuYear.columns.forEach(item => {', // ' let lintAge = lintAgeObj[ item.value + item.flag ];', // ' if( age > lintAge ){', // ' item.disabled = true;', + // ' num = num - 1 ;', + // ' }else{', // ' if(flag){', // ' parObj.insuYear.insuYear = item.value;', // ' parObj.insuYear.insuYearFlag = item.flag;', // ' parObj.insuYear.showContent = item.text;', // ' flag = false;', // ' };', - // ' }else{', // ' item.disabled = false;', // ' };', // ' });', - // ' if(!flag){', - // ' this.errorMsg.push("您当前选择的交费期间下,无可搭配的保险期间。");', + // ' if(!num){', + // ' this.errorMsg.push("被保险人年龄不符合当前所选交费期间");', // ' payEndYear = parObj.payEndYear.payEndYear + parObj.payEndYear.payEndYearFlag;', // ' lintAgeObj = ageMap[payEndYear];', // ' parObj.insuYear.columns.forEach(item => {', @@ -708,7 +709,8 @@ export default { this.$emit(item,currentFactor,currentEle.code,value); }) if(this.errorMsg.length > 0){ - //this.$toast(this.errorMsg[0]); + this.$toast(this.errorMsg[0]); + this.errorMsg = [] this.popupShow = false return false }