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