mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 16:56:43 +08:00
客户列表选择时,已婚状态不展示--提交人:白金岩
This commit is contained in:
@@ -1396,23 +1396,23 @@ export default {
|
||||
this.effectiveDateTypeAbleInsured = true
|
||||
this.isInsuredCertiexpiredate = false
|
||||
}else{
|
||||
this.isInsuredCertiexpiredate = true
|
||||
// 因为学平险产品 和 少儿卡单 被保人证件类型只有身份证和户口本 所以回显被保人信息时 如果不是身份证和户口本 就隐藏被保人证件类型
|
||||
if ((this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052')
|
||||
&& data.customerIdType != 1) {
|
||||
this.insuredInfo.idType = ''
|
||||
this.insuredInfo.certiexpiredate = ''
|
||||
this.insuredInfo.effectiveDateType = false;
|
||||
this.isInsuredCertiexpiredate = true
|
||||
this.effectiveDateTypeAbleInsured = false
|
||||
}else{
|
||||
this.insuredInfo.effectiveDateType = false;
|
||||
this.effectiveDateTypeAbleInsured = false
|
||||
this.isInsuredCertiexpiredate = true
|
||||
if (data.idEffectEndDate == '9999-01-01') {
|
||||
this.insuredInfo.certiexpiredate = ''
|
||||
this.insuredInfo.effectiveDateType = true //是否长期
|
||||
this.effectiveDateTypeAbleInsured = true
|
||||
} else {
|
||||
this.insuredInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
|
||||
this.insuredInfo.effectiveDateType = false;
|
||||
this.effectiveDateTypeAbleInsured = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1593,6 +1593,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
let insuredAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||
console.log('计算年龄', insuredAge)
|
||||
//如果证件类型是身份证
|
||||
if (this.insuredInfo.idType == '1') {
|
||||
console.log('证件类型是身份证')
|
||||
@@ -1669,8 +1671,6 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
let insuredAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||
console.log('计算年龄', insuredAge)
|
||||
if (this.itemProductDTOS.productCode === 'GFRS_M0022') {
|
||||
// return
|
||||
// 如果是未成年人
|
||||
@@ -2009,8 +2009,6 @@ export default {
|
||||
//GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
|
||||
if (age < 20) {
|
||||
this.insuredInfo.marriage = '2'
|
||||
} else {
|
||||
this.insuredInfo.marriage = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user