af4c6928 by weimo934

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

1 parent 9f54fdfd
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
8 @tab-click="handleClick"> 8 @tab-click="handleClick">
9 <el-tab-pane class="eltabspane" v-if="!auth" label="宗地" name="zd"> 9 <el-tab-pane class="eltabspane" v-if="!auth" label="宗地" name="zd">
10 <el-form :inline="true" :rules="rules" :model="ruleForm" ref="ruleForm" class="demo-form-inline"> 10 <el-form :inline="true" :rules="rules" :model="ruleForm" ref="ruleForm" class="demo-form-inline">
11 <el-form-item label="行政区划" class="w100" required prop="xmmc"> 11 <el-form-item label="行政区划" class="w100" prop="xzqbsm">
12 <el-col :span="7"> 12 <el-col :span="7">
13 <el-form-item required prop="xzqbsm"> 13 <el-form-item prop="xzqbsm">
14 <el-select v-model="ruleForm.xzqbsm" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(ruleForm.xzqbsm)"> 14 <el-select v-model="ruleForm.xzqbsm" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(ruleForm.xzqbsm)">
15 <el-option 15 <el-option
16 v-for="item in xzq" 16 v-for="item in xzq"
...@@ -48,13 +48,13 @@ ...@@ -48,13 +48,13 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-form-item> 50 </el-form-item>
51 <el-form-item label="项目名称" class="w100" required prop="xmmc"> 51 <el-form-item label="项目名称" class="w100" prop="xmmc">
52 <el-input 52 <el-input
53 v-model="ruleForm.xmmc" 53 v-model="ruleForm.xmmc"
54 placeholder="项目名称" 54 placeholder="项目名称"
55 ></el-input> 55 ></el-input>
56 </el-form-item> 56 </el-form-item>
57 <el-form-item label="所有权类型" class="w100" required prop="syqlxbsm"> 57 <el-form-item label="所有权类型" class="w100" prop="syqlxbsm">
58 <el-select 58 <el-select
59 v-model="ruleForm.syqlxbsm" 59 v-model="ruleForm.syqlxbsm"
60 placeholder="所有权类型" 60 placeholder="所有权类型"
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 </el-option> 68 </el-option>
69 </el-select> 69 </el-select>
70 </el-form-item> 70 </el-form-item>
71 <el-form-item label="特征码" class="w100" required prop="zdtzmbsm"> 71 <el-form-item label="特征码" class="w100" prop="zdtzmbsm">
72 <el-select 72 <el-select
73 v-model="ruleForm.zdtzmbsm" 73 v-model="ruleForm.zdtzmbsm"
74 placeholder="宗地特征码" 74 placeholder="宗地特征码"
......