【个险-国富人寿富贵年年终身寿险】国富人寿富贵年年终身寿险和国富人寿鑫享年年终身寿险(B款),一次性交清, 选择5,10,15,20 年交时, 保费试算有问题,所有调一下执行顺序

This commit is contained in:
li.yuetong
2022-09-08 16:19:28 +08:00
parent cb186255e3
commit d7184a4ac1
2 changed files with 24 additions and 14 deletions

View File

@@ -3706,7 +3706,7 @@ export default {
label: '元' label: '元'
}, },
{ {
code: 'AccidentalDeathAndDisabilityInsurance', code: 'HighSpeedTrainAccidentDeathOrTotalDisabilityInsurance',
label: '元' label: '元'
} }
], ],

View File

@@ -896,7 +896,7 @@ export default {
this.popupShow = false this.popupShow = false
}, },
//确认选择字段 //确认选择字段
onConfirm(value) { async onConfirm(value) {
this.columns = [] this.columns = []
this.popupShow = false this.popupShow = false
// let productCode = this.chooseProducts[this.productIndex].productCode // let productCode = this.chooseProducts[this.productIndex].productCode
@@ -904,15 +904,15 @@ export default {
let currentEle = currentFactor[this.calFactorIndex] let currentEle = currentFactor[this.calFactorIndex]
// let sex = this.saleInsuredPersonInfo.sex //0男 1女 // let sex = this.saleInsuredPersonInfo.sex //0男 1女
//特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩当改变缴费期间时将输入框的值恢复默认值1 // //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩当改变缴费期间时将输入框的值恢复默认值1
if (currentEle.code == 'payEndYear' && this.isTrial == '0') { // if (currentEle.code == 'payEndYear' && this.isTrial == '0') {
currentEle['columns'].forEach((item, index) => { // currentEle['columns'].forEach((item, index) => {
if (item.value == value.value) { // if (item.value == value.value) {
this.payEndYearColumnsIndex = index // this.payEndYearColumnsIndex = index
} // }
}) // })
this.defalutAmt = 1 // this.defalutAmt = 1
} // }
//中介渠道交费期间为一次性交清时附加险GFRS_A0007GFRS_A0009GFRS_A0010去掉后附加险list就为空--隐藏icon //中介渠道交费期间为一次性交清时附加险GFRS_A0007GFRS_A0009GFRS_A0010去掉后附加险list就为空--隐藏icon
if (currentEle.code == 'payEndYear' && value.value == '1000') { if (currentEle.code == 'payEndYear' && value.value == '1000') {
this.isEnterAddtionRiskListFunc() this.isEnterAddtionRiskListFunc()
@@ -928,19 +928,29 @@ export default {
if (currentEle.showContent != value.text) { if (currentEle.showContent != value.text) {
//通用规则校验 //通用规则校验
if (this.payExceedInsured(currentEle, currentFactor, value.value)) { if (await this.payExceedInsured(currentEle, currentFactor, value.value)) {
this.popupShow = false this.popupShow = false
return 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 this.popupShow = false
return 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 this.popupShow = false
return 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]){ // if(this.ruleExpression[productCode]){
// this.errorMsg = [] // this.errorMsg = []
// this.ruleExpression[productCode].eventList.forEach(item => { // this.ruleExpression[productCode].eventList.forEach(item => {