mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 12:06:43 +08:00
客户列表选择时,已婚状态不展示--提交人:白金岩
This commit is contained in:
@@ -1396,23 +1396,23 @@ export default {
|
|||||||
this.effectiveDateTypeAbleInsured = true
|
this.effectiveDateTypeAbleInsured = true
|
||||||
this.isInsuredCertiexpiredate = false
|
this.isInsuredCertiexpiredate = false
|
||||||
}else{
|
}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')
|
if ((this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052')
|
||||||
&& data.customerIdType != 1) {
|
&& data.customerIdType != 1) {
|
||||||
this.insuredInfo.idType = ''
|
this.insuredInfo.idType = ''
|
||||||
this.insuredInfo.certiexpiredate = ''
|
this.insuredInfo.certiexpiredate = ''
|
||||||
this.insuredInfo.effectiveDateType = false;
|
this.insuredInfo.effectiveDateType = false;
|
||||||
this.isInsuredCertiexpiredate = true
|
|
||||||
this.effectiveDateTypeAbleInsured = false
|
this.effectiveDateTypeAbleInsured = false
|
||||||
}else{
|
}else{
|
||||||
this.insuredInfo.effectiveDateType = false;
|
|
||||||
this.effectiveDateTypeAbleInsured = false
|
|
||||||
this.isInsuredCertiexpiredate = true
|
|
||||||
if (data.idEffectEndDate == '9999-01-01') {
|
if (data.idEffectEndDate == '9999-01-01') {
|
||||||
this.insuredInfo.certiexpiredate = ''
|
this.insuredInfo.certiexpiredate = ''
|
||||||
this.insuredInfo.effectiveDateType = true //是否长期
|
this.insuredInfo.effectiveDateType = true //是否长期
|
||||||
|
this.effectiveDateTypeAbleInsured = true
|
||||||
} else {
|
} else {
|
||||||
this.insuredInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
|
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') {
|
if (this.insuredInfo.idType == '1') {
|
||||||
console.log('证件类型是身份证')
|
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') {
|
if (this.itemProductDTOS.productCode === 'GFRS_M0022') {
|
||||||
// return
|
// return
|
||||||
// 如果是未成年人
|
// 如果是未成年人
|
||||||
@@ -2009,8 +2009,6 @@ export default {
|
|||||||
//GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
|
//GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
|
||||||
if (age < 20) {
|
if (age < 20) {
|
||||||
this.insuredInfo.marriage = '2'
|
this.insuredInfo.marriage = '2'
|
||||||
} else {
|
|
||||||
this.insuredInfo.marriage = ''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user