5f74171b by weimo934

feat(dzhb):多幢合并修改

1 parent d98371cd
......@@ -11,13 +11,16 @@
<td class="bdcqzh">不动产权证号</td>
<td class="qlr">权利人</td>
<td class="zl">坐落</td>
<td class="zl">类型</td>
<td class="">
多幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAddDz"
>+
</el-button>
自然幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
......@@ -27,7 +30,7 @@
</td>
</tr>
<tr v-if="dzhbqData.length==0">
<td colspan="8">
<td colspan="9">
<span class="noData">暂无数据</span>
</td>
</tr>
......@@ -39,6 +42,7 @@
<td class="bdcqzh">{{item.bdcqzh}}</td>
<td class="qlr">{{item.qlr}}</td>
<td class="zl">{{item.zl}}</td>
<td class="zl">{{item.type}}</td>
<td class="cz">
<el-button
type="primary"
......@@ -60,7 +64,7 @@
<li>
<span class="label">行政区:</span>
<span class="value">
<el-select v-model="dzhbhData.xzqbsm" @change="changeXzq(dzhbhData.xzqbsm)">
<el-select v-model="dzhbhData.xzqbsm" @change="changeXzq(dzhbhData.xzqbsm)" disabled>
<el-option
v-for="i in xzq"
:key="i.bsm"
......@@ -73,7 +77,7 @@
<li>
<span class="label">地籍区:</span>
<span class="value">
<el-select v-model="dzhbhData.djqbsm" @change="changeDjq(dzhbhData.djqbsm)">
<el-select v-model="dzhbhData.djqbsm" @change="changeDjq(dzhbhData.djqbsm)" disabled>
<el-option
v-for="i in djq"
:key="i.bsm"
......@@ -86,7 +90,7 @@
<li>
<span class="label">地籍子区:</span>
<span class="value">
<el-select v-model="dzhbhData.djzqbsm" @change="$forceUpdate()">
<el-select v-model="dzhbhData.djzqbsm" @change="$forceUpdate()" disabled>
<el-option
v-for="i in djzq"
:key="i.bsm"
......@@ -99,7 +103,7 @@
<li>
<span class="label">所有权类型:</span>
<span class="value">
<el-select v-model="dzhbhData.syqlxbsm">
<el-select v-model="dzhbhData.syqlxbsm" disabled>
<el-option
v-for="i in syq"
:key="i.value"
......@@ -112,7 +116,7 @@
<li>
<span class="label">宗地特征码:</span>
<span class="value">
<el-select v-model="dzhbhData.zdtzmbsm">
<el-select v-model="dzhbhData.zdtzmbsm" disabled>
<el-option
v-for="i in $store.state.zdtzmList"
:key="i.bsm"
......@@ -494,6 +498,7 @@
this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?')
.then(_ => {
this.dzList.push(data)
data['type']='多幢'
this.addData(data)
return
})
......@@ -502,6 +507,7 @@
});
} else {
this.dzList.push(data);
data['type']='多幢'
this.addData(data)
}
},
......@@ -517,14 +523,16 @@
this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?')
.then(_ => {
this.zrzList.push(data)
data['type'] = '自然幢'
this.addData(data)
return
})
.catch(_ => {
return
});
}else {
} else {
this.zrzList.push(data)
data['type'] = '自然幢';
this.addData(data)
}
},
......