faa23b76 by 杨威

分割后的宗地地籍区显示异常

1 parent 4de95822
......@@ -64,8 +64,8 @@
<!-- <th class="xzzxx">幢信息</th> -->
<!-- <th class="">选择</th> -->
</tr>
<template v-for="(item,index) in zdFghData.newZdlist">
<tr :key="item.xzqbsm">
<template v-for="(item,index) in zdFghData.newZdlist" >
<tr :key="index">
<td class="cz" rowspan="2">
<el-button
type="primary"
......@@ -129,7 +129,7 @@
<input type="text" v-model="item.xmmc" class="formInput"/>
</td>
</tr>
<tr :key="index">
<tr :key="index+100">
<td colspan="6">
<div class="fghzxx">
<div class="choosedZxx">
......@@ -699,11 +699,6 @@
changeXzq(id, index) {
this.djq = [];
this.djzq = [];
if (index !== undefined) {
switch (this.tabName) {
case "zd":
this.zdFghData.newZdlist[index].djqbsm = '';
this.zdFghData.newZdlist[index].djzqbsm = '';
getListByXzqbsm(id)
.then((res) => {
if (res.result == null) {
......@@ -714,6 +709,11 @@
})
.catch((error) => {
});
if (index !== undefined) {
switch (this.tabName) {
case "zd":
this.zdFghData.newZdlist[index].djqbsm = '';
this.zdFghData.newZdlist[index].djzqbsm = '';
break;
case "dz":
//to do
......