mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 16:56:43 +08:00
【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】被保人信息录入界面,选择证件类型为户口本,输入大于16岁的身份证号,点击下一步应该有对应提示
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user