【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】被保人信息录入界面,选择证件类型为户口本,输入大于16岁的身份证号,点击下一步应该有对应提示

This commit is contained in:
li.yuetong
2022-07-15 13:56:41 +08:00
parent 86157c005e
commit 93a1a139c5
2 changed files with 7 additions and 3 deletions

View File

@@ -215,7 +215,7 @@
</div>
<van-goods-action style='z-index: 99'>
<van-button type='default' style='width: 50%; font-size: 14px; height: 40px; background: white'
>总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ allPrice }}</span
>总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ allPrice | moneyFormat }}</span
>元
</van-button
>
@@ -1301,6 +1301,10 @@ export default {
return this.$toast('证件有效期不正常26周岁至45周岁公民身份证有效期应小于等于20年')
}
}
}else if(this.insuredInfo.idType == '2'){
if (idToData(this.insuredInfo.idNo).age >= 16) {
return this.$toast('客户年龄在16周岁以上不能使用户口本作为有效证件')
}
}
if (this.itemProductDTOS.productCode === 'GFRS_M0022') {
// return
@@ -1620,6 +1624,7 @@ export default {
}
return this.$toast(idToData(val).text)
}
this.insuredInfo.birthday = idToData(val).birthday
if (this.insuredInfo.idType == '2' && idToData(this.insuredInfo.idNo).age >= 16) {
this.idLimitInsured = false //截止日期是否可编辑--被保人
return this.$toast('客户年龄在16周岁以上不能使用户口本作为有效证件')
@@ -1628,7 +1633,6 @@ export default {
}else{
this.idLimitInsured = false
}
this.insuredInfo.birthday = idToData(val).birthday
// 获取出生日期年份16证件类型为户口本时被保人年龄小于16周岁时卡单户口本有效止期长期变更为第16周岁日期
if(this.insuredInfo.idType == '2' && idToData(this.insuredInfo.idNo).age <16){
let year = Number(this.insuredInfo.birthday.substr(0,4)) + 16

View File

@@ -34,7 +34,7 @@
</ul>
<van-goods-action style='z-index: 99'>
<van-button type='default' style='width: 50%; font-size: 14px; height: 40px; background: white'
>总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ allPrice }}</span
>总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ allPrice | moneyFormat}}</span
>
</van-button
>