edf7f637 by 任超

style:样式

1 parent 63ec7b73
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="8"> 6 <el-col :span="8">
7 <el-form-item label="权利人类型" prop="qlrlx"> 7 <el-form-item label="权利人类型" prop="qlrlx">
8 <el-select v-model="ruleForm.qlrlx" class="width100" placeholder="请选择"> 8 <el-select clearable v-model="ruleForm.qlrlx" class="width100" placeholder="请选择">
9 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 9 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="8"> 19 <el-col :span="8">
20 <el-form-item label="证件种类" prop="zjzl"> 20 <el-form-item label="证件种类" prop="zjzl">
21 <el-select v-model="ruleForm.zjzl" class="width100" placeholder="请选择"> 21 <el-select clearable v-model="ruleForm.zjzl" class="width100" placeholder="请选择">
22 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 22 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
23 </el-option> 23 </el-option>
24 </el-select> 24 </el-select>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 </el-col> 38 </el-col>
39 <el-col :span="8"> 39 <el-col :span="8">
40 <el-form-item label="性别" prop="xb"> 40 <el-form-item label="性别" prop="xb">
41 <el-select v-model="ruleForm.zjzl" class="width100" placeholder="请选择"> 41 <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择">
42 <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 42 <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
43 </el-option> 43 </el-option>
44 </el-select> 44 </el-select>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
120 </el-col> 120 </el-col>
121 <el-col :span="8"> 121 <el-col :span="8">
122 <el-form-item label="代理人证件类型" prop="dlrzjlx"> 122 <el-form-item label="代理人证件类型" prop="dlrzjlx">
123 <el-select v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> 123 <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
124 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 124 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
125 </el-option> 125 </el-option>
126 </el-select> 126 </el-select>
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
179 { required: true, message: '姓名/名称', trigger: 'blur' } 179 { required: true, message: '姓名/名称', trigger: 'blur' }
180 ], 180 ],
181 zjzl: [ 181 zjzl: [
182 { required: true, message: '证件种类', trigger: 'change' } 182 { required: true, message: '证件种类', trigger: 'chagyfsnge' }
183 ], 183 ],
184 zjh: [ 184 zjh: [
185 { required: true, message: '证件号', trigger: 'blur' } 185 { required: true, message: '证件号', trigger: 'blur' }
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
190 frmc: [ 190 frmc: [
191 { required: true, message: '法人名称', trigger: 'blur' } 191 { required: true, message: '法人名称', trigger: 'blur' }
192 ], 192 ],
193 gjdqc: [ 193 gjdq: [
194 { required: true, message: '国家/地区', trigger: 'blur' } 194 { required: true, message: '国家/地区', trigger: 'blur' }
195 ], 195 ],
196 szss: [ 196 szss: [
...@@ -237,9 +237,17 @@ export default { ...@@ -237,9 +237,17 @@ export default {
237 methods: { 237 methods: {
238 closeDialog () { 238 closeDialog () {
239 this.$emit("input", false); 239 this.$emit("input", false);
240 this.$refs['ruleForm'].resetFields();
240 }, 241 },
241 submitForm () { 242 submitForm () {
242 this.$emit("input", false); 243 this.$refs['ruleForm'].validate((valid) => {
244 if (valid) {
245 this.$emit("input", false);
246 } else {
247 console.log('error submit!!');
248 return false;
249 }
250 });
243 }, 251 },
244 }, 252 },
245 }; 253 };
......