BUG 30838
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user