0a75f0ce by xiaomiao

--no commit message

1 parent 9ffb1997
......@@ -109,12 +109,12 @@
</el-col>
<el-col :span="8">
<el-form-item label="国家/地区">
<el-input v-model="ruleForm.gjdq"></el-input>
<el-input v-model="ruleForm.gj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="户籍所在省市">
<el-input v-model="ruleForm.szss"></el-input>
<el-input v-model="ruleForm.hjszss"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -122,7 +122,7 @@
<el-row>
<el-col :span="16">
<el-form-item label="地址">
<el-input v-model="ruleForm.txdz"></el-input>
<el-input v-model="ruleForm.dz"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -158,7 +158,7 @@
</el-col>
<el-col :span="16">
<el-form-item label="代理机构">
<el-input v-model="ruleForm.dljg"></el-input>
<el-input v-model="ruleForm.dlrjgmc"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -167,7 +167,7 @@
<el-col :span="8">
<el-form-item label="联系电话">
<el-input
v-model="ruleForm.lxdh"
v-model="ruleForm.dlrdhhm"
maxlength="11"
oninput="value=value.replace(/[^\d]/g,'')"
></el-input>
......@@ -222,27 +222,6 @@ export default {
return {
myValue: this.value,
ruleForm: {
sqrlx: "",
sqrmc: "",
zjzl: "",
zjh: "",
dh: "",
xb: "",
frmc: "",
gjdq: "",
szss: "",
txdz: "",
yb: "",
fzjg: "",
dzyj: "",
qlbl: "",
gzdw: "",
dljg: "",
dlrxm: "",
dlrzjlx: "",
dlrzjh: "",
},
ruleForm: {
bsmBdcqz: "",
bsmQlr: "",
bsmQlxx: "",
......
......@@ -9,16 +9,16 @@
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
<el-row>
<el-col :span="8">
<el-form-item label="义务人类型1" prop="sqrlx">
<el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择">
<el-form-item label="义务人类型" prop="ywrlx">
<el-select clearable v-model="ruleForm.ywrlx" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="姓名/名称" prop="sqrmc">
<el-input v-model="ruleForm.sqrmc" maxlegth="15"></el-input>
<el-form-item label="姓名/名称" prop="ywrmc">
<el-input v-model="ruleForm.ywrmc" maxlegth="15"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -157,8 +157,8 @@
return {
myValue: this.value,
ruleForm: {
sqrlx: "",
sqrmc: "",
ywrlx: "",
ywrmc: "",
zjzl: "",
zjh: "",
dh: "",
......@@ -178,8 +178,8 @@
dlrzjh: "",
},
rules: {
sqrlx: [{ required: true, message: "义务人类型", trigger: "change" }],
sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
ywrlx: [{ required: true, message: "义务人类型", trigger: "change" }],
ywrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
zjh: [{ required: true, message: "证件号", trigger: "blur" }],
},
......
......@@ -70,7 +70,7 @@
}
},
{
prop: "sqrmc",
prop: "qlrmc",
label: "姓名/名称"
},
{
......@@ -121,7 +121,7 @@
this.$nextTick(() => {
if (val.length == 0 || !val) {
that.tableDataList = _.cloneDeep([{
sqrmc: '',
qlrmc: '',
dlrzjlx: '',
dlrzjh: '',
fr: ''
......
......@@ -10,6 +10,7 @@
border
:pagination="false"
:key="key"
:header-cell-style="{'text-align':'center'}"
:heightNumSetting="true"
:minHeight="150"
height="150"
......@@ -130,14 +131,14 @@ export default {
},
]);
if( that.tableDataList.length>0){
this.tdyt=that.tableDataList[0].yt
this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null
}else{
this.tdyt=null
}
} else {
that.tableDataList = _.cloneDeep(val);
if( that.tableDataList.length>0){
this.tdyt=that.tableDataList[0].yt
this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null
}else{
this.tdyt=null
}
......@@ -202,4 +203,8 @@ export default {
.el-input {
border: none !important;
}
/deep/.el-table__row{
border: none !important;
}
</style>
......