mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 00:06:44 +08:00
投保那显示的字段里,也修改一下:单独投保保费为5万元
如果输入关联保单,自动跳为100元 不给更改
This commit is contained in:
@@ -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_A0007,GFRS_A0009,GFRS_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') {
|
||||
|
||||
Reference in New Issue
Block a user