diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue index ca16a819d..742683d98 100644 --- a/src/views/ebiz/cardList/information.vue +++ b/src/views/ebiz/cardList/information.vue @@ -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周岁日期 diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 9b948efd0..9e66bec27 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1852,11 +1852,13 @@ export default { return this.$toast(idToData(val).text) } if (this.userInfo.idType == '2' && idToData(this.userInfo.idNo).age >= 16) { - this.idLimit = false //截止日期是否可编辑--被保人 - return this.$toast('客户年龄在16周岁以上,不能使用户口本作为有效证件') - }else{ - this.idLimit = true - } + 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 = false + } this.userInfo.effectiveDateType = false this.effectiveDateTypeAble = idToData(val).age <= 45 this.userInfo.birthday = idToData(val).birthday