出生日期

This commit is contained in:
liuye
2022-03-29 14:51:04 +08:00
parent f1b0e36b8e
commit 46e76159e8
2 changed files with 4 additions and 0 deletions

View File

@@ -294,6 +294,7 @@ export default {
girdId: '',
girdName: '',
healthyStatus: '',
birthday: '',
},
id: '',
$areaId: '',
@@ -412,6 +413,7 @@ export default {
}
var info = this.$idCardNoUtil.getIdCardInfo(this.form.idNumber)
this.form.sex = info.gender
this.form.birthDate = info.birthday
var myDate = new Date();
var month = myDate.getMonth() + 1;
var day = myDate.getDate();