房屋用途联动问题数据处理
Showing
3 changed files
with
19 additions
and
1 deletions
... | @@ -96,6 +96,7 @@ | ... | @@ -96,6 +96,7 @@ |
96 | <td colspan="3" align="center" > | 96 | <td colspan="3" align="center" > |
97 | <el-select-tree style="width:100%" | 97 | <el-select-tree style="width:100%" |
98 | v-if="show" | 98 | v-if="show" |
99 | @change="updateSjfyyt(item1)" | ||
99 | :default-expand-all="defaultExpandAll" | 100 | :default-expand-all="defaultExpandAll" |
100 | :multiple="multiple" | 101 | :multiple="multiple" |
101 | :placeholder="placeholder" | 102 | :placeholder="placeholder" |
... | @@ -450,6 +451,11 @@ | ... | @@ -450,6 +451,11 @@ |
450 | } | 451 | } |
451 | }) | 452 | }) |
452 | }, | 453 | }, |
454 | |||
455 | updateSjfyyt(data){ | ||
456 | data.fwsjytbsm = data.fwytzdbsm; | ||
457 | }, | ||
458 | |||
453 | open() { | 459 | open() { |
454 | this.$confirm('已经存在不动产单元号或者自然幢号, 是否继续?', '提示', { | 460 | this.$confirm('已经存在不动产单元号或者自然幢号, 是否继续?', '提示', { |
455 | confirmButtonText: '确定', | 461 | confirmButtonText: '确定', | ... | ... |
... | @@ -238,6 +238,7 @@ | ... | @@ -238,6 +238,7 @@ |
238 | <el-select-tree | 238 | <el-select-tree |
239 | v-if="show" | 239 | v-if="show" |
240 | :default-expand-all="defaultExpandAll" | 240 | :default-expand-all="defaultExpandAll" |
241 | @change="updateSjfyyt(item1)" | ||
241 | :multiple="multiple" | 242 | :multiple="multiple" |
242 | :placeholder="placeholder" | 243 | :placeholder="placeholder" |
243 | :disabled="disableFlag" | 244 | :disabled="disableFlag" |
... | @@ -546,6 +547,11 @@ | ... | @@ -546,6 +547,11 @@ |
546 | } | 547 | } |
547 | }) | 548 | }) |
548 | }, | 549 | }, |
550 | |||
551 | updateSjfyyt(data){ | ||
552 | data.fwsjytbsm = data.fwytzdbsm; | ||
553 | }, | ||
554 | |||
549 | addYtInfo(){ | 555 | addYtInfo(){ |
550 | this.form.fwytList.push({ | 556 | this.form.fwytList.push({ |
551 | glbsm:'', | 557 | glbsm:'', | ... | ... |
... | @@ -158,6 +158,7 @@ | ... | @@ -158,6 +158,7 @@ |
158 | <el-select-tree style="width:100%" | 158 | <el-select-tree style="width:100%" |
159 | ref="ghyt" | 159 | ref="ghyt" |
160 | v-if="show" | 160 | v-if="show" |
161 | @change="updateSjfyyt(item1)" | ||
161 | :default-expand-all="defaultExpandAll" | 162 | :default-expand-all="defaultExpandAll" |
162 | :multiple="multiple" | 163 | :multiple="multiple" |
163 | :placeholder="placeholder" | 164 | :placeholder="placeholder" |
... | @@ -182,7 +183,7 @@ | ... | @@ -182,7 +183,7 @@ |
182 | :props="treeProps" | 183 | :props="treeProps" |
183 | :check-strictly="checkStrictly" | 184 | :check-strictly="checkStrictly" |
184 | :clearable="clearable" | 185 | :clearable="clearable" |
185 | v-model="item1.fwytzdbsm" | 186 | v-model="item1.fwsjytbsm" |
186 | ></el-select-tree> | 187 | ></el-select-tree> |
187 | </td> | 188 | </td> |
188 | </tr> | 189 | </tr> |
... | @@ -403,6 +404,11 @@ | ... | @@ -403,6 +404,11 @@ |
403 | }, | 404 | }, |
404 | mixins:[geoUtils], | 405 | mixins:[geoUtils], |
405 | methods: { | 406 | methods: { |
407 | |||
408 | updateSjfyyt(data){ | ||
409 | data.fwsjytbsm = data.fwytzdbsm; | ||
410 | }, | ||
411 | |||
406 | registerCall(){ | 412 | registerCall(){ |
407 | let data={ | 413 | let data={ |
408 | type:'zrz', | 414 | type:'zrz', | ... | ... |
-
Please register or sign in to post a comment