5f74171b by weimo934

feat(dzhb):多幢合并修改

1 parent d98371cd
...@@ -11,13 +11,16 @@ ...@@ -11,13 +11,16 @@
11 <td class="bdcqzh">不动产权证号</td> 11 <td class="bdcqzh">不动产权证号</td>
12 <td class="qlr">权利人</td> 12 <td class="qlr">权利人</td>
13 <td class="zl">坐落</td> 13 <td class="zl">坐落</td>
14 <td class="zl">类型</td>
14 <td class=""> 15 <td class="">
16 多幢:
15 <el-button 17 <el-button
16 type="primary" 18 type="primary"
17 class="changeBtn outAdd addMinus" 19 class="changeBtn outAdd addMinus"
18 @click="newAddDz" 20 @click="newAddDz"
19 >+ 21 >+
20 </el-button> 22 </el-button>
23 自然幢:
21 <el-button 24 <el-button
22 type="primary" 25 type="primary"
23 class="changeBtn outAdd addMinus" 26 class="changeBtn outAdd addMinus"
...@@ -27,7 +30,7 @@ ...@@ -27,7 +30,7 @@
27 </td> 30 </td>
28 </tr> 31 </tr>
29 <tr v-if="dzhbqData.length==0"> 32 <tr v-if="dzhbqData.length==0">
30 <td colspan="8"> 33 <td colspan="9">
31 <span class="noData">暂无数据</span> 34 <span class="noData">暂无数据</span>
32 </td> 35 </td>
33 </tr> 36 </tr>
...@@ -39,6 +42,7 @@ ...@@ -39,6 +42,7 @@
39 <td class="bdcqzh">{{item.bdcqzh}}</td> 42 <td class="bdcqzh">{{item.bdcqzh}}</td>
40 <td class="qlr">{{item.qlr}}</td> 43 <td class="qlr">{{item.qlr}}</td>
41 <td class="zl">{{item.zl}}</td> 44 <td class="zl">{{item.zl}}</td>
45 <td class="zl">{{item.type}}</td>
42 <td class="cz"> 46 <td class="cz">
43 <el-button 47 <el-button
44 type="primary" 48 type="primary"
...@@ -60,7 +64,7 @@ ...@@ -60,7 +64,7 @@
60 <li> 64 <li>
61 <span class="label">行政区:</span> 65 <span class="label">行政区:</span>
62 <span class="value"> 66 <span class="value">
63 <el-select v-model="dzhbhData.xzqbsm" @change="changeXzq(dzhbhData.xzqbsm)"> 67 <el-select v-model="dzhbhData.xzqbsm" @change="changeXzq(dzhbhData.xzqbsm)" disabled>
64 <el-option 68 <el-option
65 v-for="i in xzq" 69 v-for="i in xzq"
66 :key="i.bsm" 70 :key="i.bsm"
...@@ -73,7 +77,7 @@ ...@@ -73,7 +77,7 @@
73 <li> 77 <li>
74 <span class="label">地籍区:</span> 78 <span class="label">地籍区:</span>
75 <span class="value"> 79 <span class="value">
76 <el-select v-model="dzhbhData.djqbsm" @change="changeDjq(dzhbhData.djqbsm)"> 80 <el-select v-model="dzhbhData.djqbsm" @change="changeDjq(dzhbhData.djqbsm)" disabled>
77 <el-option 81 <el-option
78 v-for="i in djq" 82 v-for="i in djq"
79 :key="i.bsm" 83 :key="i.bsm"
...@@ -86,7 +90,7 @@ ...@@ -86,7 +90,7 @@
86 <li> 90 <li>
87 <span class="label">地籍子区:</span> 91 <span class="label">地籍子区:</span>
88 <span class="value"> 92 <span class="value">
89 <el-select v-model="dzhbhData.djzqbsm" @change="$forceUpdate()"> 93 <el-select v-model="dzhbhData.djzqbsm" @change="$forceUpdate()" disabled>
90 <el-option 94 <el-option
91 v-for="i in djzq" 95 v-for="i in djzq"
92 :key="i.bsm" 96 :key="i.bsm"
...@@ -99,7 +103,7 @@ ...@@ -99,7 +103,7 @@
99 <li> 103 <li>
100 <span class="label">所有权类型:</span> 104 <span class="label">所有权类型:</span>
101 <span class="value"> 105 <span class="value">
102 <el-select v-model="dzhbhData.syqlxbsm"> 106 <el-select v-model="dzhbhData.syqlxbsm" disabled>
103 <el-option 107 <el-option
104 v-for="i in syq" 108 v-for="i in syq"
105 :key="i.value" 109 :key="i.value"
...@@ -112,7 +116,7 @@ ...@@ -112,7 +116,7 @@
112 <li> 116 <li>
113 <span class="label">宗地特征码:</span> 117 <span class="label">宗地特征码:</span>
114 <span class="value"> 118 <span class="value">
115 <el-select v-model="dzhbhData.zdtzmbsm"> 119 <el-select v-model="dzhbhData.zdtzmbsm" disabled>
116 <el-option 120 <el-option
117 v-for="i in $store.state.zdtzmList" 121 v-for="i in $store.state.zdtzmList"
118 :key="i.bsm" 122 :key="i.bsm"
...@@ -494,6 +498,7 @@ ...@@ -494,6 +498,7 @@
494 this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?') 498 this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?')
495 .then(_ => { 499 .then(_ => {
496 this.dzList.push(data) 500 this.dzList.push(data)
501 data['type']='多幢'
497 this.addData(data) 502 this.addData(data)
498 return 503 return
499 }) 504 })
...@@ -502,6 +507,7 @@ ...@@ -502,6 +507,7 @@
502 }); 507 });
503 } else { 508 } else {
504 this.dzList.push(data); 509 this.dzList.push(data);
510 data['type']='多幢'
505 this.addData(data) 511 this.addData(data)
506 } 512 }
507 }, 513 },
...@@ -517,14 +523,16 @@ ...@@ -517,14 +523,16 @@
517 this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?') 523 this.$confirm('当前选择多幢不在同一宗地下,是否继续选择?')
518 .then(_ => { 524 .then(_ => {
519 this.zrzList.push(data) 525 this.zrzList.push(data)
526 data['type'] = '自然幢'
520 this.addData(data) 527 this.addData(data)
521 return 528 return
522 }) 529 })
523 .catch(_ => { 530 .catch(_ => {
524 return 531 return
525 }); 532 });
526 }else { 533 } else {
527 this.zrzList.push(data) 534 this.zrzList.push(data)
535 data['type'] = '自然幢';
528 this.addData(data) 536 this.addData(data)
529 } 537 }
530 }, 538 },
......