GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版)_1 保费试算责任提示语修改 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-03-16 10:03:02 +08:00
parent 7aa2822382
commit e3f93e3001

View File

@@ -310,13 +310,14 @@ const dutyRules = {
const dutyGFRS_A0004Rules = {
320205: {
mainRisk: 'GFRS_M0005',
msg: '住院医疗保险金额为5000、10000、15000、20000元与GFRS_M0005险种搭配金额不得大于10000元'
msg: '住院医疗提示金额只能是0.5、1、1.5、2',
msg_1: '附加到国富人寿国富民惠医疗保险2020版最高基本保额不超过1万元。'
},
320206: {
msg: '住院津贴保险金额最低为50元超过最低基本保险金额为10元整数倍'
msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
},
320207: {
msg: '恶性肿瘤住院津贴保险金额最低为50元超过最低基本保险金额为10元整数倍'
msg: '恶性肿瘤提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
}
}
const DUTY_DEFAULT_MUTIPLE = 1000
@@ -492,16 +493,15 @@ export default {
}
} else if (item.productCode === 'GFRS_A0004') {
if (i.code === 'getLimit') {
const text2 = isMedical ? '0元住院医疗' : '100元住院医疗'
const value2 = isMedical ? '0' : '100'
const text = isMedical ? '0元住院医疗' : '100元住院医疗'
const value = isMedical ? '0' : '100'
//保存数据
this.medicalInfo = this.medicalInfo || {}
this.medicalInfo.getLimit = text2
this.medicalInfo.getLimit = text
i.showContent = text2
i.getLimit = value2
i.columns = [{ text2, value2 }]
i.showContent = text
i.getLimit = value
i.columns = [{ text, value }]
}
//赔付比例
if (i.code === 'getRate') {
@@ -696,7 +696,7 @@ export default {
if (currentEle.duty == '320206' || currentEle.duty == '320207') {
let numberValue = Number(value)
if ((numberValue * 10000) % 10 != 0 || numberValue < 50) {
this.$toast(dutyGFRS_A0004Rules[currentEle.duty]['msg'])
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg)
this.nextStepFlag = true
return false
}
@@ -705,13 +705,13 @@ 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.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg)
this.nextStepFlag = true
return false
}
if (this.mainRiskCode === dutyGFRS_A0004Rules[currentEle.duty]['mainRisk']) {
if (!(value == '0.5' || value == '1')) {
this.$toast(dutyGFRS_A0004Rules[currentEle.duty]['msg'])
this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg_1)
this.nextStepFlag = true
return false
}