af4c6928 by weimo934

fix(create):解决表单验证出现xmmc is required

1 parent 9f54fdfd
......@@ -8,9 +8,9 @@
@tab-click="handleClick">
<el-tab-pane class="eltabspane" v-if="!auth" label="宗地" name="zd">
<el-form :inline="true" :rules="rules" :model="ruleForm" ref="ruleForm" class="demo-form-inline">
<el-form-item label="行政区划" class="w100" required prop="xmmc">
<el-form-item label="行政区划" class="w100" prop="xzqbsm">
<el-col :span="7">
<el-form-item required prop="xzqbsm">
<el-form-item prop="xzqbsm">
<el-select v-model="ruleForm.xzqbsm" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(ruleForm.xzqbsm)">
<el-option
v-for="item in xzq"
......@@ -48,13 +48,13 @@
</el-form-item>
</el-col>
</el-form-item>
<el-form-item label="项目名称" class="w100" required prop="xmmc">
<el-form-item label="项目名称" class="w100" prop="xmmc">
<el-input
v-model="ruleForm.xmmc"
placeholder="项目名称"
></el-input>
</el-form-item>
<el-form-item label="所有权类型" class="w100" required prop="syqlxbsm">
<el-form-item label="所有权类型" class="w100" prop="syqlxbsm">
<el-select
v-model="ruleForm.syqlxbsm"
placeholder="所有权类型"
......@@ -68,7 +68,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="特征码" class="w100" required prop="zdtzmbsm">
<el-form-item label="特征码" class="w100" prop="zdtzmbsm">
<el-select
v-model="ruleForm.zdtzmbsm"
placeholder="宗地特征码"
......