5fa7af8d by weimo934

feat():bug修改

1 parent e9466810
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
65 <td>不动产权证号</td> 65 <td>不动产权证号</td>
66 <td>权利人</td> 66 <td>权利人</td>
67 <td>坐落</td> 67 <td>坐落</td>
68 <td>自然幢数量</td>
69 </tr> 68 </tr>
70 <tr v-if="Data.length==0"> 69 <tr v-if="Data.length==0">
71 <td colspan="8"> 70 <td colspan="8">
...@@ -83,7 +82,6 @@ ...@@ -83,7 +82,6 @@
83 <td>{{item.bdcqzh}}</td> 82 <td>{{item.bdcqzh}}</td>
84 <td>{{item.qlr}}</td> 83 <td>{{item.qlr}}</td>
85 <td>{{item.zl}}</td> 84 <td>{{item.zl}}</td>
86 <td>{{item.zrzCount}}</td>
87 </tr> 85 </tr>
88 </table> 86 </table>
89 </div> 87 </div>
......
...@@ -820,6 +820,7 @@ ...@@ -820,6 +820,7 @@
820 getData: function (data) { 820 getData: function (data) {
821 switch (this.tabName) { 821 switch (this.tabName) {
822 case "zd": 822 case "zd":
823 this.centerDialogVisible=false;
823 this.zdFgqData = data; 824 this.zdFgqData = data;
824 break; 825 break;
825 case "dz": 826 case "dz":
......
...@@ -476,16 +476,16 @@ ...@@ -476,16 +476,16 @@
476 }) 476 })
477 }, 477 },
478 getData(data) { 478 getData(data) {
479 console.log(data, '选择宗地数据') 479 let arr=[];
480 switch (this.tabName) { 480 switch (this.tabName) {
481 case "zd": 481 case "zd":
482 let arr = this.zdhbqData.filter(i => i.zdbsm === data.zdbsm); 482 arr = this.zdhbqData.filter(i => i.zdbsm === data.zdbsm);
483 if (arr.length > 0) { 483 if (arr.length > 0) {
484 this.$message.info("当前宗地已选择,请重新选择") 484 this.$message.info("当前宗地已选择,请重新选择")
485 break 485 break
486 } 486 }
487 let arr1 = this.zdhbqData.filter(i => i.xzqbsm !== data.xzqbsm || i.djqbsm !== data.djqbsm || i.djzqbsm !== data.djzqbsm); 487 arr = this.zdhbqData.filter(i => i.xzqbsm !== data.xzqbsm || i.djqbsm !== data.djqbsm || i.djzqbsm !== data.djzqbsm);
488 if (arr1.length > 0) { 488 if (arr.length > 0) {
489 this.$confirm('当前宗地不在同一地籍子区下,是否继续选择?') 489 this.$confirm('当前宗地不在同一地籍子区下,是否继续选择?')
490 .then(_ => { 490 .then(_ => {
491 this.addZdData(data); 491 this.addZdData(data);
...@@ -497,8 +497,9 @@ ...@@ -497,8 +497,9 @@
497 } 497 }
498 break 498 break
499 case "dz": 499 case "dz":
500 let arr3 = this.dzhbqData.filter(i => i.glbsm === data.glbsm); 500 arr = this.dzhbqData.filter(i => i.glbsm === data.glbsm);
501 if (arr3.length > 0) { 501 if (arr.length > 0) {
502 this.$message.info("当前多幢已选择,请重新选择")
502 break 503 break
503 } 504 }
504 if (this.dzhbqData.includes(data)) { 505 if (this.dzhbqData.includes(data)) {
......