faa23b76 by 杨威

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

1 parent 4de95822
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
64 <!-- <th class="xzzxx">幢信息</th> --> 64 <!-- <th class="xzzxx">幢信息</th> -->
65 <!-- <th class="">选择</th> --> 65 <!-- <th class="">选择</th> -->
66 </tr> 66 </tr>
67 <template v-for="(item,index) in zdFghData.newZdlist"> 67 <template v-for="(item,index) in zdFghData.newZdlist" >
68 <tr :key="item.xzqbsm"> 68 <tr :key="index">
69 <td class="cz" rowspan="2"> 69 <td class="cz" rowspan="2">
70 <el-button 70 <el-button
71 type="primary" 71 type="primary"
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
129 <input type="text" v-model="item.xmmc" class="formInput"/> 129 <input type="text" v-model="item.xmmc" class="formInput"/>
130 </td> 130 </td>
131 </tr> 131 </tr>
132 <tr :key="index"> 132 <tr :key="index+100">
133 <td colspan="6"> 133 <td colspan="6">
134 <div class="fghzxx"> 134 <div class="fghzxx">
135 <div class="choosedZxx"> 135 <div class="choosedZxx">
...@@ -699,11 +699,6 @@ ...@@ -699,11 +699,6 @@
699 changeXzq(id, index) { 699 changeXzq(id, index) {
700 this.djq = []; 700 this.djq = [];
701 this.djzq = []; 701 this.djzq = [];
702 if (index !== undefined) {
703 switch (this.tabName) {
704 case "zd":
705 this.zdFghData.newZdlist[index].djqbsm = '';
706 this.zdFghData.newZdlist[index].djzqbsm = '';
707 getListByXzqbsm(id) 702 getListByXzqbsm(id)
708 .then((res) => { 703 .then((res) => {
709 if (res.result == null) { 704 if (res.result == null) {
...@@ -714,6 +709,11 @@ ...@@ -714,6 +709,11 @@
714 }) 709 })
715 .catch((error) => { 710 .catch((error) => {
716 }); 711 });
712 if (index !== undefined) {
713 switch (this.tabName) {
714 case "zd":
715 this.zdFghData.newZdlist[index].djqbsm = '';
716 this.zdFghData.newZdlist[index].djzqbsm = '';
717 break; 717 break;
718 case "dz": 718 case "dz":
719 //to do 719 //to do
......