监测对象
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user