This commit is contained in:
shijingjing
2022-04-29 18:24:51 +08:00
parent 5f1ca3a0b0
commit 302c577da5

View File

@@ -609,19 +609,18 @@ export default {
if (!id) { if (!id) {
if (!this.form.objectType) { if (!this.form.objectType) {
this.$u.toast('请选择监测对象类型') return this.$u.toast('请选择监测对象类型')
} }
} }
if (!this.form.idNumber) { if (!this.form.idNumber) {
this.$u.toast('请输入身份证号') return this.$u.toast('请输入身份证号')
} }
if (!this.form.phone) { if (!this.form.phone) {
this.$u.toast('请输入联系方式') return this.$u.toast('请输入联系方式')
} }
if (!this.form.currentAreaId) { if (!this.form.currentAreaId) {
this.$u.toast('请选择现住址') return this.$u.toast('请选择现住址')
} }