diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index e996d51f3..38050a1bc 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -3693,6 +3693,37 @@ export default { { code: "MedicalInsuranceForMajorDiseases", label: "元" +<<<<<<< HEAD +======= + }, + { + code: 'SevereMalignantInsurance', + label: '元' + }, + { + code: 'OldAgeApecificDiseaseInsurance', + label: '元' + }, + { + code: 'AccidentalDeathAndDisabilityInsurance', + label: '元' + }, + { + code: 'AccidentalFractureInsurance', + label: '元' + }, + { + code: 'AccidentalFractureHospitalizationAllowanceInsurance', + label: '元' + }, + { + code: 'AccidentMedicalInsurance', + label: '元' + }, + { + code: 'HighSpeedTrainAccidentDeathOrTotalDisabilityInsurance', + label: '元' +>>>>>>> 95a03e7d... 【个险-国富人寿富贵年年终身寿险】国富人寿富贵年年终身寿险和国富人寿鑫享年年终身寿险(B款),一次性交清, 选择5,10,15,20 年交时, 保费试算有问题,所有调一下执行顺序 } ], // 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件, diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index d55fd7f2d..8aff27ea9 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -896,7 +896,7 @@ export default { this.popupShow = false }, //确认选择字段 - onConfirm(value) { + async onConfirm(value) { this.columns = [] this.popupShow = false // let productCode = this.chooseProducts[this.productIndex].productCode @@ -904,15 +904,15 @@ export default { let currentEle = currentFactor[this.calFactorIndex] // let sex = this.saleInsuredPersonInfo.sex //0男 1女 - //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1 - if (currentEle.code == 'payEndYear' && this.isTrial == '0') { - currentEle['columns'].forEach((item, index) => { - if (item.value == value.value) { - this.payEndYearColumnsIndex = index - } - }) - this.defalutAmt = 1 - } + // //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1 + // if (currentEle.code == 'payEndYear' && this.isTrial == '0') { + // currentEle['columns'].forEach((item, index) => { + // if (item.value == value.value) { + // this.payEndYearColumnsIndex = index + // } + // }) + // this.defalutAmt = 1 + // } //中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009,GFRS_A0010去掉后,附加险list就为空--隐藏’附‘icon if (currentEle.code == 'payEndYear' && value.value == '1000') { this.isEnterAddtionRiskListFunc() @@ -928,19 +928,29 @@ export default { if (currentEle.showContent != value.text) { //通用规则校验 - if (this.payExceedInsured(currentEle, currentFactor, value.value)) { + if (await this.payExceedInsured(currentEle, currentFactor, value.value)) { this.popupShow = false return false } - if (currentEle.code == 'payEndYear' && this.ageInfluencePayEndYear(value.value, currentEle)) { + if (currentEle.code == 'payEndYear' && await this.ageInfluencePayEndYear(value.value, currentEle)) { this.popupShow = false return false } - if (currentEle.code == 'insuYear' && this.ageInfluenceInsuYear(value.value, currentEle)) { + if (currentEle.code == 'insuYear' && await this.ageInfluenceInsuYear(value.value, currentEle)) { this.popupShow = false return false } + //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1 + //国富人寿富贵年年终身寿险和国富人寿鑫享年年终身寿险(B款),一次性交清, 选择5,10,15,20 年交时, 保费试算有问题,所有调一下执行顺序 + if (currentEle.code == 'payEndYear' && this.isTrial == '0') { + currentEle['columns'].forEach((item, index) => { + if (item.value == value.value) { + this.payEndYearColumnsIndex = index + } + }) + this.defalutAmt = 1 + } // if(this.ruleExpression[productCode]){ // this.errorMsg = [] // this.ruleExpression[productCode].eventList.forEach(item => {