mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 23:56:43 +08:00
被保险人大于等于18周岁(含),前端需展示手机号码、电子邮箱,且非必填
This commit is contained in:
@@ -1916,10 +1916,12 @@ export default {
|
||||
//GFRS-2641--被保险人大于等于18周岁(含),前端需展示手机号码、电子邮箱,且非必填
|
||||
if(this.insuredInfo.birthday){
|
||||
let age = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||
if(age <= 17){
|
||||
this.isLessEighteen = false //是否小于18周岁(不含)
|
||||
}else{
|
||||
this.isLessEighteen = true //是否小于18周岁(不含)
|
||||
if(this.itemProductDTOS.productCode != 'GFRS_M0052'){
|
||||
if(age <= 17){
|
||||
this.isLessEighteen = false //是否小于18周岁(不含)
|
||||
}else{
|
||||
this.isLessEighteen = true //是否小于18周岁(不含)
|
||||
}
|
||||
}
|
||||
//GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
|
||||
if(age < 20){
|
||||
|
||||
Reference in New Issue
Block a user