鑫管家B款终身寿险(万能型)清空关联的保单时 重置保费默认值

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-11-21 16:20:21 +08:00
parent cfccf3f534
commit ee7fba89fc

View File

@@ -2004,6 +2004,27 @@
//试算
async getTrial() {
let that = this
let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode
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
}
})
})
} else {
that.chooseProducts.forEach(item=>{
item.calFactorLst.forEach(ii=>{
if(ii.type == 1) {
ii.minPrem = 0.01
}
})
})
}
}
this.nextStepFlag = true
this.$toast.clear()
this.$toast.loading({
@@ -2660,7 +2681,7 @@
if(!this.policyNo && defalutValue < 5) {
this.$toast('单独投保保费为大于等于50000元')
currentEle['minPrem'] = 5
} else if(this.policyNo) {
} else if(this.policyNo && defalutValue < 0.01) {
this.$toast('与其他主险关联投保时保费要求保费大于等于100元')
currentEle['minPrem'] = 0.01
}