mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
【中介渠道-八桂无忧D】 判断短险附加险
This commit is contained in:
@@ -252,6 +252,19 @@ export default {
|
||||
isRemit: resultData.productTrialInfoDTO.isRemit,
|
||||
remitType: resultData.productTrialInfoDTO.remitType
|
||||
}
|
||||
/******八桂D中介渠道校验短险规则*******/
|
||||
let mainRisk = JSON.parse(localStorage.chooseProducts)[0];
|
||||
let mainRiskCode = mainRisk.productCode;
|
||||
if(mainRiskCode =="GFRS_M0051") {
|
||||
for (let i = 0; i < calFactorLst.length; i++) {
|
||||
if (calFactorLst[i].code === 'insuYear') {
|
||||
if ((calFactorLst[i].insuYearFlag == 'Y' && calFactorLst[i].insuYear > 1) || calFactorLst[i].insuYearFlag == 'A') {
|
||||
this.$toast('当前未投保其他长险附加险,不可附加该险种!')
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//构建险种数组
|
||||
let productsData
|
||||
if (localStorage.chooseProducts) {
|
||||
|
||||
Reference in New Issue
Block a user