From bfc1148d0316bf3ab8833000f21db050aaaf80e0 Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Fri, 15 Jul 2022 13:56:41 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9B=BD=E5=AF=8C=E6=83=A0=E6=A1=82?=
=?UTF-8?q?=E4=BF=9D=E5=9B=A2=E4=BD=93=E5=8C=BB=E7=96=97=E4=BF=9D=E9=99=A9?=
=?UTF-8?q?=E4=BA=A7=E5=93=81=E4=B8=8A=E7=BA=BF=E9=87=91=E6=8E=8C=E6=A1=82?=
=?UTF-8?q?=E6=8A=95=E4=BF=9D=E5=BC=80=E5=8F=91=E9=9C=80=E6=B1=82=E3=80=91?=
=?UTF-8?q?=E8=A2=AB=E4=BF=9D=E4=BA=BA=E4=BF=A1=E6=81=AF=E5=BD=95=E5=85=A5?=
=?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E9=80=89=E6=8B=A9=E8=AF=81=E4=BB=B6?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=BA=E6=88=B7=E5=8F=A3=E6=9C=AC=EF=BC=8C?=
=?UTF-8?q?=E8=BE=93=E5=85=A5=E5=A4=A7=E4=BA=8E16=E5=B2=81=E7=9A=84?=
=?UTF-8?q?=E8=BA=AB=E4=BB=BD=E8=AF=81=E5=8F=B7=EF=BC=8C=E7=82=B9=E5=87=BB?=
=?UTF-8?q?=E4=B8=8B=E4=B8=80=E6=AD=A5=E5=BA=94=E8=AF=A5=E6=9C=89=E5=AF=B9?=
=?UTF-8?q?=E5=BA=94=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/cardList/GroupInsuredInfo.vue | 8 ++++++--
src/views/ebiz/cardList/GroupInsuredList.vue | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/ebiz/cardList/GroupInsuredInfo.vue b/src/views/ebiz/cardList/GroupInsuredInfo.vue
index 38a4b06f0..7e85320de 100644
--- a/src/views/ebiz/cardList/GroupInsuredInfo.vue
+++ b/src/views/ebiz/cardList/GroupInsuredInfo.vue
@@ -215,7 +215,7 @@
总保费:{{ allPrice }}总保费:{{ allPrice | moneyFormat }}元
@@ -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
diff --git a/src/views/ebiz/cardList/GroupInsuredList.vue b/src/views/ebiz/cardList/GroupInsuredList.vue
index 1bb1ac375..199d0e64c 100644
--- a/src/views/ebiz/cardList/GroupInsuredList.vue
+++ b/src/views/ebiz/cardList/GroupInsuredList.vue
@@ -34,7 +34,7 @@
总保费:{{ allPrice }}总保费:{{ allPrice | moneyFormat}}元