edf7f637 by 任超

style:样式

1 parent 63ec7b73
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="8">
<el-form-item label="权利人类型" prop="qlrlx">
<el-select v-model="ruleForm.qlrlx" class="width100" placeholder="请选择">
<el-select clearable v-model="ruleForm.qlrlx" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="证件种类" prop="zjzl">
<el-select v-model="ruleForm.zjzl" class="width100" placeholder="请选择">
<el-select clearable v-model="ruleForm.zjzl" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -38,7 +38,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="性别" prop="xb">
<el-select v-model="ruleForm.zjzl" class="width100" placeholder="请选择">
<el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -120,7 +120,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="代理人证件类型" prop="dlrzjlx">
<el-select v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
<el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -179,7 +179,7 @@ export default {
{ required: true, message: '姓名/名称', trigger: 'blur' }
],
zjzl: [
{ required: true, message: '证件种类', trigger: 'change' }
{ required: true, message: '证件种类', trigger: 'chagyfsnge' }
],
zjh: [
{ required: true, message: '证件号', trigger: 'blur' }
......@@ -190,7 +190,7 @@ export default {
frmc: [
{ required: true, message: '法人名称', trigger: 'blur' }
],
gjdqc: [
gjdq: [
{ required: true, message: '国家/地区', trigger: 'blur' }
],
szss: [
......@@ -237,9 +237,17 @@ export default {
methods: {
closeDialog () {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
},
submitForm () {
this.$emit("input", false);
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$emit("input", false);
} else {
console.log('error submit!!');
return false;
}
});
},
},
};
......