From db0e4a0b68b6a750ea366aa1614a896464043351 Mon Sep 17 00:00:00 2001
From: liyuetong
Date: Fri, 20 Aug 2021 16:06:31 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A2=AB=E4=BF=9D=E9=99=A9=E4=BA=BA=E8=81=8C?=
=?UTF-8?q?=E4=B8=9A=EF=BC=9A=E5=B9=BC=E5=84=BF=E5=9B=AD=E7=89=88=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E5=AD=A6=E9=BE=84=E5=89=8D=E5=84=BF=E7=AB=A5=EF=BC=9B?=
=?UTF-8?q?=202099908=20=20=E5=AD=A6=E9=BE=84=E5=89=8D=E5=84=BF=E7=AB=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/cardList/information.vue | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue
index 328c6a5a1..701ac9c02 100644
--- a/src/views/ebiz/cardList/information.vue
+++ b/src/views/ebiz/cardList/information.vue
@@ -1866,6 +1866,15 @@ export default {
}
this.insuredInfo.birthday = idToData(val).birthday
this.insuredInfo.sex = idToData(val).sex
+ //被保险人证件类型枚举“身份证、户口本”,默认户口本,且户口本证件截止日期默认长期(如果后期还有被保险人年龄为0-17周岁的,都同该规则)
+ let age = utilsAge.getAge(this.insuredInfo.birthday, new Date())
+ if(age <= 17){
+
+ }
+ //GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
+ if(age < 20){
+ this.insuredInfo.marriage = '2'
+ }
}
}
},
@@ -1905,16 +1914,21 @@ export default {
email: '', //电子邮箱
effectiveDateType:false //是否长期
}
- // 2516--三款学平险--被保险人职业类别默认学生,允许修改;
+ // 2516--三款学平险-- 0048义务教育 0049 幼儿园 0050 高中
+ // GFRS-2641--被保险人职业:幼儿园版默认学龄前儿童,义务教育、高中/高等教育默认一般学生
// 被保险人婚姻默认未婚,允许修改
// 被保险人手机及邮箱默认投保人,允许修改
- if(this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049'|| this.itemProductDTOS.productCode == 'GFRS_M0050'){
+ if(this.itemProductDTOS.productCode == 'GFRS_M0048'|| this.itemProductDTOS.productCode == 'GFRS_M0050'){
this.insuredInfo.occupationCode = '2099907'
this.insuredInfo.occupationName = '一般学生'
this.insuredInfo.marriage = '2'
this.insuredInfo.mobile = this.userInfo.mobile
this.insuredInfo.email = this.userInfo.email
+ }else if(this.itemProductDTOS.productCode == 'GFRS_M0049'){
+ this.insuredInfo.occupationCode = '2099908'
+ this.insuredInfo.occupationName = '学龄前儿童'
}
+
// 2516--除万福卡,投保人、被保险人年收入,默认为0,允许修改
if(this.itemProductDTOS.productCode !='GFRS_M0032'){
this.insuredInfo.averageAnnualIncome = '0'