5fa7af8d by weimo934

feat():bug修改

1 parent e9466810
......@@ -65,7 +65,6 @@
<td>不动产权证号</td>
<td>权利人</td>
<td>坐落</td>
<td>自然幢数量</td>
</tr>
<tr v-if="Data.length==0">
<td colspan="8">
......@@ -83,7 +82,6 @@
<td>{{item.bdcqzh}}</td>
<td>{{item.qlr}}</td>
<td>{{item.zl}}</td>
<td>{{item.zrzCount}}</td>
</tr>
</table>
</div>
......
......@@ -820,6 +820,7 @@
getData: function (data) {
switch (this.tabName) {
case "zd":
this.centerDialogVisible=false;
this.zdFgqData = data;
break;
case "dz":
......
......@@ -476,16 +476,16 @@
})
},
getData(data) {
console.log(data, '选择宗地数据')
let arr=[];
switch (this.tabName) {
case "zd":
let arr = this.zdhbqData.filter(i => i.zdbsm === data.zdbsm);
arr = this.zdhbqData.filter(i => i.zdbsm === data.zdbsm);
if (arr.length > 0) {
this.$message.info("当前宗地已选择,请重新选择")
break
}
let arr1 = this.zdhbqData.filter(i => i.xzqbsm !== data.xzqbsm || i.djqbsm !== data.djqbsm || i.djzqbsm !== data.djzqbsm);
if (arr1.length > 0) {
arr = this.zdhbqData.filter(i => i.xzqbsm !== data.xzqbsm || i.djqbsm !== data.djqbsm || i.djzqbsm !== data.djzqbsm);
if (arr.length > 0) {
this.$confirm('当前宗地不在同一地籍子区下,是否继续选择?')
.then(_ => {
this.addZdData(data);
......@@ -497,8 +497,9 @@
}
break
case "dz":
let arr3 = this.dzhbqData.filter(i => i.glbsm === data.glbsm);
if (arr3.length > 0) {
arr = this.dzhbqData.filter(i => i.glbsm === data.glbsm);
if (arr.length > 0) {
this.$message.info("当前多幢已选择,请重新选择")
break
}
if (this.dzhbqData.includes(data)) {
......