mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 00:56:43 +08:00
GFRS_A0009,GFRS_A0010 这两款时,责任保额不相加
This commit is contained in:
@@ -252,27 +252,28 @@ export default {
|
|||||||
isRemit: resultData.productTrialInfoDTO.isRemit,
|
isRemit: resultData.productTrialInfoDTO.isRemit,
|
||||||
remitType: resultData.productTrialInfoDTO.remitType
|
remitType: resultData.productTrialInfoDTO.remitType
|
||||||
}
|
}
|
||||||
|
// 这个规则统一用后端配置的规则表达式,目前先注释掉
|
||||||
/******八桂D中介渠道校验短险规则*******/
|
/******八桂D中介渠道校验短险规则*******/
|
||||||
let risks = JSON.parse(localStorage.chooseProducts);
|
// let risks = JSON.parse(localStorage.chooseProducts);
|
||||||
let checkRisk = true;
|
// let checkRisk = true;
|
||||||
if(risks[0].productCode =="GFRS_M0051"||risks[0].productCode == 'GFRS_M0044') {
|
// if(risks[0].productCode =="GFRS_M0051"||risks[0].productCode == 'GFRS_M0044') {
|
||||||
if(this.result.productCode=="GFRS_A0010"){
|
// if(this.result.productCode=="GFRS_A0010"){
|
||||||
for (let i = 1; i < risks.length; i++) {
|
// for (let i = 1; i < risks.length; i++) {
|
||||||
for(let j = 0; j < risks[i].calFactorLst.length; j++){
|
// for(let j = 0; j < risks[i].calFactorLst.length; j++){
|
||||||
if (risks[i].calFactorLst[j].code=== 'insuYear') {
|
// if (risks[i].calFactorLst[j].code=== 'insuYear') {
|
||||||
if (((risks[i].calFactorLst[j].insuYearFlag == 'Y' && risks[i].calFactorLst[j].insuYear > 1) || risks[i].calFactorLst[j].insuYearFlag == 'A')
|
// if (((risks[i].calFactorLst[j].insuYearFlag == 'Y' && risks[i].calFactorLst[j].insuYear > 1) || risks[i].calFactorLst[j].insuYearFlag == 'A')
|
||||||
&&risks[i].productCode!='GFRS_A0009') {
|
// &&risks[i].productCode!='GFRS_A0009') {
|
||||||
checkRisk=false;
|
// checkRisk=false;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if(checkRisk){
|
// if(checkRisk){
|
||||||
this.$toast('当前未投保其他长险附加险,不可附加该险种!')
|
// this.$toast('当前未投保其他长险附加险,不可附加该险种!')
|
||||||
return true
|
// return true
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
/*"let risks = JSON.parse(localStorage.chooseProducts);",
|
/*"let risks = JSON.parse(localStorage.chooseProducts);",
|
||||||
"let checkRisk = true;",
|
"let checkRisk = true;",
|
||||||
"for (let i = 1; i < risks.length; i++) {",
|
"for (let i = 1; i < risks.length; i++) {",
|
||||||
|
|||||||
@@ -2248,11 +2248,15 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
rollInResult = true
|
rollInResult = true
|
||||||
}
|
}
|
||||||
|
console.log(this.trialList,'this.trialList')
|
||||||
|
console.log(this.trialList[index],'this.trialList[index]')
|
||||||
|
console.log(this.trialList[index].amt,'this.trialList[index].amt')
|
||||||
//责任险保存参数构建
|
//责任险保存参数构建
|
||||||
if (this.trialList[index].duty) {
|
if (this.trialList[index].duty) {
|
||||||
riskItem['dutyLst'] = this.trialList[index].duty
|
riskItem['dutyLst'] = this.trialList[index].duty
|
||||||
//930折中方案,责任险分档
|
//930折中方案,责任险分档
|
||||||
riskItem['amt'] = this.trialList[index].amt
|
riskItem['amt'] = this.trialList[index].amt
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
//国富人寿桂企保重大疾病保险产品专写
|
//国富人寿桂企保重大疾病保险产品专写
|
||||||
if (
|
if (
|
||||||
@@ -2266,9 +2270,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//保费算保额
|
//保费算保额
|
||||||
if (this.trialList[index].trialType == '1' || this.trialList[index].trialType == '2') {
|
// if (this.trialList[index].trialType == '1' || this.trialList[index].trialType == '2') {
|
||||||
riskItem['amt'] = this.trialList[index].amt
|
// riskItem['amt'] = this.trialList[index].amt
|
||||||
}
|
// }
|
||||||
|
|
||||||
//万能型产品保费赋值给保额
|
//万能型产品保费赋值给保额
|
||||||
//增加判断是否是从建议书跳转过来了的
|
//增加判断是否是从建议书跳转过来了的
|
||||||
if (localStorage.isFrom != 'proposal') {
|
if (localStorage.isFrom != 'proposal') {
|
||||||
@@ -2289,9 +2294,15 @@ export default {
|
|||||||
this.trialInfos[index].amt = this.trialList[0].standPrem
|
this.trialInfos[index].amt = this.trialList[0].standPrem
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0009'|| item.productCode == 'GFRS_A0010'|| item.productCode == 'GFRS_A0007') {
|
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0007') {
|
||||||
|
// bug--鑫享年年+附加豁免投保人定寿B+附加豁免投保人重疾B,投保单号8186270000016187
|
||||||
|
// ①豁免重疾B的保额应该等于主险的保费,该单的豁免重疾B的保额等于主险的保额不正确。
|
||||||
this.trialInfos[index].amt = this.trialList[index].amt
|
this.trialInfos[index].amt = this.trialList[index].amt
|
||||||
}
|
}
|
||||||
|
// GFRS_A0009,GFRS_A0010 这两款时,责任保额不相加
|
||||||
|
if(item.productCode == 'GFRS_A0009' || item.productCode == 'GFRS_A0010'){
|
||||||
|
this.trialInfos[index].amt = this.trialList[index].duty[0].amt
|
||||||
|
}
|
||||||
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
||||||
if (item.productCode == 'GFRS_A0011') {
|
if (item.productCode == 'GFRS_A0011') {
|
||||||
this.trialInfos[index].amt = this.trialList[0].prem
|
this.trialInfos[index].amt = this.trialList[0].prem
|
||||||
|
|||||||
Reference in New Issue
Block a user