金掌桂学平险产品指定生效日规则调整的申请,学平险+60天

This commit is contained in:
liyuetong
2022-02-14 14:15:17 +08:00
parent 1fb752f159
commit 00a344d443
2 changed files with 14 additions and 8 deletions

View File

@@ -654,8 +654,7 @@ export default {
],
maxDate: beforeDate.getBeforeYear(18), //投保人出生日期可选最大值
insuredMaxDate: beforeDate.getBeforeDays(28), //被保人出生日期可选最大值
// filterMaxDate: beforeDate.getBeforeYear(-2),
filterMaxDate: afterDate.getAfterDays(60),
filterMaxDate: beforeDate.getBeforeYear(-2),
popupShow: false,
areaShow: false, //省级联动
homeShow: false, //家庭地址联动
@@ -777,7 +776,10 @@ export default {
// }
// })
// }
if (this.itemProductDTOS.productCode === 'GFRS_M0048' || this.itemProductDTOS.productCode === 'GFRS_M0049' || this.itemProductDTOS.productCode === 'GFRS_M0050') {
//金掌桂学平险产品指定生效日规则调整的申请,学平险+60
this.filterMaxDate = afterDate.getAfterDays(60)
this.userInfo.relationToInsured = ''
this.showField = true
let currentTime = dateUtils.formatDate(new Date(), 'yyyy-MM-dd')
@@ -2034,8 +2036,10 @@ export default {
if (this.insuredInfo.idType == '2' && idToData(this.insuredInfo.idNo).age >= 16) {
this.idLimitInsured = false //截止日期是否可编辑--被保人
return this.$toast('客户年龄在16周岁以上不能使用户口本作为有效证件')
}else if (this.insuredInfo.idType == '2' && idToData(this.insuredInfo.idNo).age < 16) {
this.idLimitInsured = true //截止日期是否可编辑--被保人
}else{
this.idLimitInsured = true
this.idLimitInsured = false
}
this.insuredInfo.birthday = idToData(val).birthday
// 获取出生日期年份16证件类型为户口本时被保人年龄小于16周岁时卡单户口本有效止期长期变更为第16周岁日期

View File

@@ -1854,8 +1854,10 @@ export default {
if (this.userInfo.idType == '2' && idToData(this.userInfo.idNo).age >= 16) {
this.idLimit = false //截止日期是否可编辑--被保人
return this.$toast('客户年龄在16周岁以上不能使用户口本作为有效证件')
}else if (this.userInfo.idType == '2' && idToData(this.userInfo.idNo).age < 16) {
this.idLimit = true //截止日期是否可编辑--被保人
}else{
this.idLimit = true
this.idLimit = false
}
this.userInfo.effectiveDateType = false
this.effectiveDateTypeAble = idToData(val).age <= 45