fc5c8870 by weimo934

fix():去掉表单验证错误代码

1 parent 8b8a2107
......@@ -22,7 +22,7 @@
<td colspan="2">行政区</td>
<td colspan="2">
<el-form :rules="rules" ref="ruleForm" :inline="true" >
<el-form-item prop="xzq">
<el-form-item >
<el-select
:disabled="formData.qszt!='0'"
class="formSelect"
......@@ -482,10 +482,17 @@ export default {
this.formData.jyjzxg = this.isInterval(this.formData.jyjzxg) ? this.jzxg : this.formData.jyjzxg;
this.$refs['ruleForm'].validate((valid) => {
// FIXME:表单验证错误
/* this.$refs['ruleForm'].validate((valid) => {
debugger
if (valid) {
alert('submit!');
} else {
alert("error submit")
return false;
}
});*/
updateQjZdjbxx(this.formData)
.then((res) => {
if (res.code == 200) {
......@@ -504,11 +511,6 @@ export default {
}
})
.catch((error) => {});
} else {
alert("error submit")
return false;
}
});
},
//提交宗地基本信息
......