mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 07:46:43 +08:00
鑫管家B款终身寿险(万能型)清空关联的保单时 重置保费默认值
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user