mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 04:06:44 +08:00
【fix】GFRS-831 国富人寿国富民惠医疗保险(2020版)+ 国富人寿附加住院医疗保险 附加险的基本保额 , 录入大于 2 的数字时 ,提示信息 不正确
This commit is contained in:
@@ -320,7 +320,8 @@ const dutyGFRS_A0004Rules = {
|
||||
320205: {
|
||||
mainRisk: 'GFRS_M0005',
|
||||
msg: '住院医疗提示:金额只能是0.5、1、1.5、2',
|
||||
msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。'
|
||||
msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。',
|
||||
msg_2: '住院医疗提示:金额只能是0.5、1',
|
||||
},
|
||||
320206: {
|
||||
msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
|
||||
@@ -682,18 +683,29 @@ export default {
|
||||
|
||||
// 保额只能为5000 10000 15000 200000
|
||||
if (currentEle.duty == '320205') {
|
||||
if (!(value == '0.5' || value == '1' || value == '1.5' || value == '2')) {
|
||||
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg)
|
||||
this.nextStepFlag = true
|
||||
return false
|
||||
}
|
||||
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
|
||||
}
|
||||
} else {
|
||||
if (!(value == '0.5' || value == '1' || value == '1.5' || value == '2')) {
|
||||
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg)
|
||||
this.nextStepFlag = true
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
this.nextStepFlag = false
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user