投保那显示的字段里,也修改一下:单独投保保费为5万元

如果输入关联保单,自动跳为100元
不给更改
This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-11-25 17:43:47 +08:00
parent 7b60b94fde
commit bdff1b73d5

View File

@@ -37,6 +37,7 @@
:show-plus="false"
:show-minus="false"
class="ml30"
:disabled="item.productCode == 'GFRS_M0083' && isFrom != 'proposal'"
@change="
stepperChange(
item.calFactorLst[riskFactorIndex].displayAmount,
@@ -788,6 +789,16 @@
this.isEnterAddtionRiskListFunc()
}
}
if (item.mainRiskCode == 'GFRS_M0083' && this.isFrom == 'proposal') {
item.calFactorLst.forEach((i) => {
if (i.code == "inputPrem") {
i.minPrem = 0.01
i.displayAmount = 0.01
i.defaultValue = 0.01
}
})
}
console.log(item,'123231321321')
let payEndYearVal
//初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007GFRS_A0009GFRS_A0010去掉后附加险list就为空--隐藏icon
item.calFactorLst.map((i) => {
@@ -2013,24 +2024,27 @@
}
})
}
if(productCode == 'GFRS_M0083'){
if(!that.policyNo){
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1 && ii.displayAmount <5) {
ii.minPrem = 5
ii.displayAmount = 5
}
if(this.isFrom != 'proposal'){
if(productCode == 'GFRS_M0083'){
if(!that.policyNo){
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 5
ii.displayAmount = 5
}
})
})
})
} else {
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 0.01
}
} else {
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 0.01
ii.displayAmount = 0.01
}
})
})
})
}
}
}
this.nextStepFlag = true
@@ -2686,12 +2700,18 @@
}
}
else if (productCode == 'GFRS_M0083') {
if(!this.policyNo && defalutValue < 5) {
this.$toast('单独投保保费为大于等于50000元')
currentEle['minPrem'] = 5
} else if(this.policyNo && defalutValue < 0.01) {
this.$toast('与其他主险关联投保时保费要求保费大于等于100元')
currentEle['minPrem'] = 0.01
if(this.isFrom != 'proposal'){
if(!this.policyNo && defalutValue < 5) {
this.$toast('单独投保保费为大于等于50000元')
currentEle['minPrem'] = 5
} else if(this.policyNo && defalutValue < 0.01) {
this.$toast('与其他主险关联投保时保费要求保费大于等于100元')
currentEle['minPrem'] = 0.01
}
} else {
if(defalutValue < 0.01){
this.$toast('保费大于等于100元')
}
}
}
else if (this.isTrial === '0' && this.chooseProducts[productIndex].isMainRisk == '0') {