5cdcc043 by 任超
2 parents 041bfc77 aeb642a3
......@@ -138,7 +138,8 @@ export default {
},
methods: {
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.tableDataList[this.dataIndex] = value;
console.log(this.tableDataList);
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
......
......@@ -4,7 +4,7 @@
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
<el-row>
<el-col :span="8">
<el-form-item label="权利人类型" prop="qlrlx">
<el-form-item label="权利人类型" prop="sqrlx">
<el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -151,7 +151,7 @@ export default {
return {
myValue: this.value,
ruleForm: {
qlrlx: '',
sqrlx: '',
sqrmc: '',
zjzl: '',
zjh: '',
......@@ -172,7 +172,7 @@ export default {
dlrzjh: ''
},
rules: {
qlrlx: [
sqrlx: [
{ required: true, message: '权利人类型', trigger: 'change' }
],
sqrmc: [
......
......@@ -145,7 +145,7 @@
</el-form-item>
</el-col>
</el-row>
<InformationTable :tableData="ruleForm.qlrList" :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList' :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -200,7 +200,7 @@ export default {
methods: {
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
this.ruleForm.qlrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
......