5cdcc043 by 任超
2 parents 041bfc77 aeb642a3
...@@ -138,7 +138,8 @@ export default { ...@@ -138,7 +138,8 @@ export default {
138 }, 138 },
139 methods: { 139 methods: {
140 updateDetail (value) { 140 updateDetail (value) {
141 this.tableDataList[this.dataIndex] = value 141 this.tableDataList[this.dataIndex] = value;
142 console.log(this.tableDataList);
142 this.key++ 143 this.key++
143 this.$emit('upDateQlrxxList', this.tableDataList) 144 this.$emit('upDateQlrxxList', this.tableDataList)
144 }, 145 },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> 4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
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="sqrlx">
8 <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择"> 8 <el-select clearable v-model="ruleForm.sqrlx" 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>
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
151 return { 151 return {
152 myValue: this.value, 152 myValue: this.value,
153 ruleForm: { 153 ruleForm: {
154 qlrlx: '', 154 sqrlx: '',
155 sqrmc: '', 155 sqrmc: '',
156 zjzl: '', 156 zjzl: '',
157 zjh: '', 157 zjh: '',
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
172 dlrzjh: '' 172 dlrzjh: ''
173 }, 173 },
174 rules: { 174 rules: {
175 qlrlx: [ 175 sqrlx: [
176 { required: true, message: '权利人类型', trigger: 'change' } 176 { required: true, message: '权利人类型', trigger: 'change' }
177 ], 177 ],
178 sqrmc: [ 178 sqrmc: [
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 </el-form-item> 145 </el-form-item>
146 </el-col> 146 </el-col>
147 </el-row> 147 </el-row>
148 <InformationTable :tableData="ruleForm.qlrList" :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> 148 <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList' :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
149 <div class="slxx_title title-block"> 149 <div class="slxx_title title-block">
150 登记原因 150 登记原因
151 <div class="triangle"></div> 151 <div class="triangle"></div>
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
200 methods: { 200 methods: {
201 // 更新权利人信息 201 // 更新权利人信息
202 upDateQlrxxList (val) { 202 upDateQlrxxList (val) {
203 this.ruleForm.qlrList = _.cloneDeep(val); 203 this.ruleForm.qlrList = _.cloneDeep(val);
204 }, 204 },
205 onSubmit () { 205 onSubmit () {
206 saveData(this.ruleForm).then((res) => { 206 saveData(this.ruleForm).then((res) => {
......