mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 14:52:53 +08:00
【中介渠道-八桂无忧D】 删除附加长险,修改-会有弹窗提示
This commit is contained in:
@@ -1443,7 +1443,7 @@ export default {
|
||||
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')
|
||||
&&risks[i].productCode!='GFRS_A0009'&&risks[i].productCode!='GFRS_A0010') {
|
||||
&&risks[i].productCode!='GFRS_A0010') {
|
||||
longRisks.push(risks[i].productCode);
|
||||
}
|
||||
}
|
||||
@@ -1451,7 +1451,7 @@ export default {
|
||||
}
|
||||
if((this.chooseProducts.length==2&&this.chooseProducts[1].productCode=='GFRS_A0010')
|
||||
||(this.chooseProducts.length==3&&JSON.stringify(this.chooseProducts).includes("GFRS_A0010")&&JSON.stringify(this.chooseProducts).includes("GFRS_A0009"))
|
||||
||longRisks.length<=0){
|
||||
||(longRisks.length<=0&&this.chooseProducts.length>1)){
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
message: '当前未投保其他长险附加险,将删除该险种重新选择附加险!'
|
||||
@@ -1464,12 +1464,12 @@ export default {
|
||||
// this.nextStepFlag = true
|
||||
}
|
||||
if(this.chooseProducts.length==3&&JSON.stringify(this.chooseProducts).includes("GFRS_A0010")&&JSON.stringify(this.chooseProducts).includes("GFRS_A0009")
|
||||
||longRisks.length<=0){
|
||||
||(longRisks.length<=0&&this.chooseProducts.length>1)){
|
||||
this.$toast('当前未投保其他长险附加险,请删除该险种重新选择附加险!')
|
||||
this.nextStepFlag = true
|
||||
this.chooseProducts.splice(1, 2)
|
||||
localStorage.chooseProducts = JSON.stringify(this.chooseProducts)
|
||||
this.getTrial()
|
||||
localStorage.chooseProducts = JSON.stringify(this.chooseProducts)
|
||||
// this.getTrial()
|
||||
}
|
||||
}
|
||||
localStorage.chooseProducts = JSON.stringify(this.chooseProducts)
|
||||
|
||||
Reference in New Issue
Block a user