mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 12:46:43 +08:00
修复 GFRS-828 附加综合意外伤害保险,保费计算页面"免赔额"+"赔付比例",可选择框选择数组显示错误
在输入大于2 的情况下,变为 2 ,应该变为1
This commit is contained in:
@@ -435,6 +435,22 @@ export default {
|
||||
this.mainRiskCode = item.mainRiskCode
|
||||
}
|
||||
})
|
||||
if(this.mainRiskCode == 'GFRS_M0005'){
|
||||
this.chooseProducts.map(item => {
|
||||
if(item.productCode == 'GFRS_A0004'){
|
||||
item.calFactorLst.map( item2 => {
|
||||
if(item2.code == 'dutyGroup'){
|
||||
item2.rules.map(item3 => {
|
||||
console.log(item3);
|
||||
if(item3.duty == '320205'){
|
||||
item3.maxDutyAmt = "1"
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
//GFRS_M0016需要展示免赔额和赔付比例,并需要根据是否有社保调整数值
|
||||
// let mainRiskCode = chooseProducts[0].mainRiskCode
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
@@ -684,14 +700,11 @@ export default {
|
||||
// 保额只能为5000 10000 15000 200000
|
||||
if (currentEle.duty == '320205') {
|
||||
if (this.mainRiskCode === dutyGFRS_A0004Rules[currentEle.duty]['mainRisk']) {
|
||||
console.log(1);
|
||||
if (!(value == '0.5' || value == '1')) {
|
||||
console.log(2);
|
||||
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg_2)
|
||||
this.nextStepFlag = true
|
||||
return false
|
||||
} else if(value-0 > 1){
|
||||
console.log(3);
|
||||
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg_1)
|
||||
this.nextStepFlag = true
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user