监测对象

This commit is contained in:
shijingjing
2022-07-04 14:24:27 +08:00
parent e02aad528e
commit d046ca1dd6

View File

@@ -457,6 +457,11 @@ export default {
this.form = {...this.form, birthDate, sex, age: this.$calcAge(idNumber)}
},
submit() {
if(this.form.houseType == 1) {
if(!this.form.form.objectType) {
return this.$message.error('请选择监测对象类型')
}
}
this.$refs.ruleForm.validate(v => {
if (v) {
this.form.isHousehold = 1