mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 18:36:43 +08:00
effectiveDateType字符串类型转为布尔型,true,false
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user