BUG 30838

This commit is contained in:
aixianling
2022-08-17 09:00:15 +08:00
parent 9007d82e37
commit 3bdc3f089f

View File

@@ -586,18 +586,6 @@ export default {
document.title = this.isEdit ? '编辑监测对象' : '添加监测对象' document.title = this.isEdit ? '编辑监测对象' : '添加监测对象'
}, },
methods: { methods: {
rules() {
return {
// houseType: '请选择户类型',
objectType: '请选择监测对象类型',
name: '请输入户主姓名',
idNumber: '请输入身份证号',
phone: '请输入联系方式',
currentAreaId: '请选择现住址',
}
},
areaSelect(e) { areaSelect(e) {
this.form.currentAreaId = e this.form.currentAreaId = e
}, },
@@ -625,9 +613,9 @@ export default {
nextStep() { nextStep() {
if (!this.form.id) { if (!this.form.id) {
if (!this.form.objectType) { // if (!this.form.objectType) {
return this.$u.toast('请选择监测对象类型') // return this.$u.toast('请选择监测对象类型')
} // }
} }
if (!this.form.idNumber) { if (!this.form.idNumber) {