From 015c8605a9f9d5be0f18cc9394df152438a38a02 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Mon, 13 Dec 2021 14:13:41 +0800 Subject: [PATCH] =?UTF-8?q?effectiveDateType=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E8=BD=AC=E4=B8=BA=E5=B8=83=E5=B0=94=E5=9E=8B?= =?UTF-8?q?=EF=BC=8Ctrue=EF=BC=8Cfalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/insureAgain/InsureInformation.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue index b60ba1de8..957556551 100644 --- a/src/views/ebiz/insureAgain/InsureInformation.vue +++ b/src/views/ebiz/insureAgain/InsureInformation.vue @@ -576,7 +576,8 @@ export default { }) }) this.setInsuredCustomerMarriage(this.insuredPersonInfo.marriage) - + //是否长期 + this.insuredPersonInfo.effectiveDateType = this.insuredPersonInfo.effectiveDateType == 'true' ? true : false //被保人证件类型如果是身份证时,证件截止日期证件截止日期应为第16周岁的生日日期。 if(this.insuredPersonInfo.idType == '2' && idToData(this.insuredPersonInfo.idNo).age <16){ // 获取出生日期年份+16 @@ -589,9 +590,6 @@ export default { }else{ this.insuredPersonInfo.certiexpiredate = year+'-'+ this.insuredPersonInfo.birthday.substr(5,5) } - }else{ - //是否长期 - this.insuredPersonInfo.effectiveDateType = this.insuredPersonInfo.effectiveDateType == 'true' ? true : false } if (this.insuredPersonInfo.homeProvince.length) { this.insuredHomeName = getAreaName([