BUG 29436
This commit is contained in:
@@ -383,7 +383,7 @@ export default {
|
|||||||
healthyStatusList: [],
|
healthyStatusList: [],
|
||||||
guaranteeList: [],
|
guaranteeList: [],
|
||||||
basicsList: [],
|
basicsList: [],
|
||||||
file: [],
|
file: [],
|
||||||
},
|
},
|
||||||
isSelectUser: false, //是否选择人员
|
isSelectUser: false, //是否选择人员
|
||||||
}
|
}
|
||||||
@@ -397,8 +397,8 @@ export default {
|
|||||||
this.form.phone =''
|
this.form.phone =''
|
||||||
this.form.currentAreaId = ''
|
this.form.currentAreaId = ''
|
||||||
this.form.currentAddress = ''
|
this.form.currentAddress = ''
|
||||||
this.form.birthDate = ''
|
this.form.birthDate = ''
|
||||||
this.form.sex = ''
|
this.form.sex = ''
|
||||||
this.form.age = ''
|
this.form.age = ''
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -439,7 +439,7 @@ export default {
|
|||||||
handleIdNumberAutocomplete(v) {
|
handleIdNumberAutocomplete(v) {
|
||||||
var idNumber = v
|
var idNumber = v
|
||||||
if(v.length == 20) {
|
if(v.length == 20) {
|
||||||
idNumber = v.substring(0, 17)
|
idNumber = v.substring(0, 18)
|
||||||
}
|
}
|
||||||
let {birthday: birthDate, sex} = this.idCardNoUtil.getIdCardInfo(idNumber)
|
let {birthday: birthDate, sex} = this.idCardNoUtil.getIdCardInfo(idNumber)
|
||||||
this.form = {...this.form, birthDate, sex, age: this.$calcAge(idNumber)}
|
this.form = {...this.form, birthDate, sex, age: this.$calcAge(idNumber)}
|
||||||
|
|||||||
Reference in New Issue
Block a user