mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 09:32:53 +08:00
【fix】 修复 在不选择 用户时, 有无社保项为 “undefined” 的错误,修改默认为“有”社保
This commit is contained in:
@@ -155,7 +155,8 @@ export default {
|
||||
this.disabled = true
|
||||
this.insured = Object.assign(this.insured, JSON.parse(localStorage.proposalAppnt))
|
||||
this.insured.age = getAge.getAge(this.insured.birthday, new Date())
|
||||
this.insured.medical = localStorage.orderNoSocialSecurity !== undefined ? localStorage.orderNoSocialSecurity : '0'
|
||||
this.insured.medical =
|
||||
localStorage.orderNoSocialSecurity && localStorage.orderNoSocialSecurity != 'undefined' ? localStorage.orderNoSocialSecurity : '0'
|
||||
}
|
||||
this.ageShow = this.insured.age == '-1' ? '0' : this.insured.age
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user