@@ -124,20 +124,7 @@
})
return
}
- // if (!this.form.birthday) {
- // MessageBox({
- // title: '提示',
- // message: '请选择出生年月'
- // })
- // return
- // }
- // if (!this.form.sex) {
- // message: '请选择性别'
+
if (!this.form.phone) {
MessageBox({
title: '提示',
@@ -163,7 +150,20 @@
-
+ if (!this.form.birthday) {
+ MessageBox({
+ title: '提示',
+ message: '请选择出生年月'
+ })
+ return
+ }
+ if (!this.form.sex) {
+ message: '请选择性别'
localStorage.setItem("patientCase", JSON.stringify(params))
this.$api.regPatient(params).then(res => {