d65b99cb by weimo934

feat(zddm):添加宗地代码展示

1 parent 2bd63f79
...@@ -8,7 +8,11 @@ import setTabs from './modules/setTabs' ...@@ -8,7 +8,11 @@ import setTabs from './modules/setTabs'
8 Vue.use(Vuex); 8 Vue.use(Vuex);
9 const store = new Vuex.Store({ 9 const store = new Vuex.Store({
10 state: sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')) : { 10 state: sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')) : {
11 zdbsm: '', 11 zddm:'', // 宗地代码
12 zdbsm: '', // 宗地标识码
13 xmmc: '', // 项目名称
14 zdmj: '', // 宗地面积
15 zdzl: '', // 宗地坐落
12 tdytList:[], 16 tdytList:[],
13 tddjList:[], 17 tddjList:[],
14 qlxzList:[], 18 qlxzList:[],
...@@ -26,9 +30,6 @@ const store = new Vuex.Store({ ...@@ -26,9 +30,6 @@ const store = new Vuex.Store({
26 djzqList: [], 30 djzqList: [],
27 //创建自然幢时需要用到的临时存储信息 31 //创建自然幢时需要用到的临时存储信息
28 zrzbsm: '', 32 zrzbsm: '',
29 xmmc: '',
30 zdmj: '',
31 zdzl: '',
32 zjlxList: [], 33 zjlxList: [],
33 gyfsList: [], 34 gyfsList: [],
34 }, 35 },
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 </tr> 7 </tr>
8 <tr> 8 <tr>
9 <td colspan="2">宗地代码</td> 9 <td colspan="2">宗地代码</td>
10 <td colspan="3"><input type="text" class="formInput" v-model="mjftData.zdbsm " disabled/></td> 10 <td colspan="3"><input type="text" class="formInput" v-model="zddm " disabled/></td>
11 </tr> 11 </tr>
12 <tr> 12 <tr>
13 <td colspan="2">宗地面积(㎡)</td> 13 <td colspan="2">宗地面积(㎡)</td>
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
59 return { 59 return {
60 tdzl: '', // 土地坐落 继承获取 60 tdzl: '', // 土地坐落 继承获取
61 zdmj: '', // 宗地面积 继承获取 61 zdmj: '', // 宗地面积 继承获取
62 zddm:'',
62 mjftData: { 63 mjftData: {
63 zdbsm: '', // 宗地标识码 继承获取 64 zdbsm: '', // 宗地标识码 继承获取
64 tdsyqsyqmjhj: '',// 土地所有权/使用权面积合计 65 tdsyqsyqmjhj: '',// 土地所有权/使用权面积合计
...@@ -193,6 +194,9 @@ ...@@ -193,6 +194,9 @@
193 "$store.state.zdzl": function (tdzl) { 194 "$store.state.zdzl": function (tdzl) {
194 this.tdzl = tdzl 195 this.tdzl = tdzl
195 }, 196 },
197 "$store.state.zddm": function (zddm) {
198 this.zddm = zddm
199 },
196 } 200 }
197 } 201 }
198 </script> 202 </script>
......
...@@ -150,12 +150,12 @@ ...@@ -150,12 +150,12 @@
150 <td colspan="2">国民经济行业分类</td> 150 <td colspan="2">国民经济行业分类</td>
151 <td colspan="4"> 151 <td colspan="4">
152 <el-select class="formSelect" v-model="formData.gmjjhyflbsm"> 152 <el-select class="formSelect" v-model="formData.gmjjhyflbsm">
153 <el-option 153 <el-option
154 v-for="item in $store.state.sshyList" 154 v-for="item in $store.state.sshyList"
155 :key="item.bsm" 155 :key="item.bsm"
156 :label="item.mc" 156 :label="item.mc"
157 :value="item.bsm" 157 :value="item.bsm"
158 > 158 >
159 </el-option> 159 </el-option>
160 </el-select> 160 </el-select>
161 </td> 161 </td>
...@@ -191,9 +191,11 @@ ...@@ -191,9 +191,11 @@
191 </el-select> 191 </el-select>
192 </td> 192 </td>
193 <td colspan="2"> 193 <td colspan="2">
194 <input type="text" v-model="formData.rjl" :class="formData.jyrjl=='-'? 'formInput percent47' : 'formInput'"/> 194 <input type="text" v-model="formData.rjl"
195 :class="formData.jyrjl=='-'? 'formInput percent47' : 'formInput'"/>
195 <span class="percent4" v-show="formData.jyrjl=='-'">-</span> 196 <span class="percent4" v-show="formData.jyrjl=='-'">-</span>
196 <input type="text" v-show="formData.jyrjl=='-'" v-model="formData.rjl" class="formInput percent47"/> 197 <input type="text" v-show="formData.jyrjl=='-'" v-model="formData.rjl"
198 class="formInput percent47"/>
197 </td> 199 </td>
198 <td colspan="2">容积说明</td> 200 <td colspan="2">容积说明</td>
199 <td colspan="4" class="psr"> 201 <td colspan="4" class="psr">
...@@ -214,9 +216,11 @@ ...@@ -214,9 +216,11 @@
214 </el-select> 216 </el-select>
215 </td> 217 </td>
216 <td colspan="2"> 218 <td colspan="2">
217 <input type="text" v-model="formData.jzmd" :class="formData.jyjzmd=='-'? 'formInput percent47' : 'formInput'"/> 219 <input type="text" v-model="formData.jzmd"
220 :class="formData.jyjzmd=='-'? 'formInput percent47' : 'formInput'"/>
218 <span class="percent4" v-show="formData.jyjzmd=='-'">-</span> 221 <span class="percent4" v-show="formData.jyjzmd=='-'">-</span>
219 <input type="text" v-show="formData.jyjzmd=='-'" v-model="formData.jzmd" class="formInput percent47"/> 222 <input type="text" v-show="formData.jyjzmd=='-'" v-model="formData.jzmd"
223 class="formInput percent47"/>
220 </td> 224 </td>
221 <td colspan="2">建筑密度说明</td> 225 <td colspan="2">建筑密度说明</td>
222 <td colspan="4" class="psr"> 226 <td colspan="4" class="psr">
...@@ -237,9 +241,11 @@ ...@@ -237,9 +241,11 @@
237 </el-select> 241 </el-select>
238 </td> 242 </td>
239 <td colspan="2"> 243 <td colspan="2">
240 <input type="text" v-model="formData.jzxg" :class="formData.jyjzxg=='-'? 'formInput percent47' : 'formInput'"/> 244 <input type="text" v-model="formData.jzxg"
245 :class="formData.jyjzxg=='-'? 'formInput percent47' : 'formInput'"/>
241 <span class="percent4" v-show="formData.jyjzxg=='-'">-</span> 246 <span class="percent4" v-show="formData.jyjzxg=='-'">-</span>
242 <input type="text" v-show="formData.jyjzxg=='-'" v-model="formData.jzxg" class="formInput percent47"/> 247 <input type="text" v-show="formData.jyjzxg=='-'" v-model="formData.jzxg"
248 class="formInput percent47"/>
243 </td> 249 </td>
244 <td colspan="2">建筑限高说明</td> 250 <td colspan="2">建筑限高说明</td>
245 <td colspan="4" class="psr"> 251 <td colspan="4" class="psr">
...@@ -343,33 +349,33 @@ ...@@ -343,33 +349,33 @@
343 formData: { 349 formData: {
344 "addQjQlxzRequestList": [ 350 "addQjQlxzRequestList": [
345 { 351 {
346 "addQjTdytRequestList": [ 352 "addQjTdytRequestList": [
347 { 353 {
348 "bz": "", 354 "bz": "",
349 "mj": 0, 355 "mj": 0,
350 "pzdjbsm": "", 356 "pzdjbsm": "",
351 "pzdjmc": "", 357 "pzdjmc": "",
352 "pzytdm": "", 358 "pzytdm": "",
353 "pzytmc": "", 359 "pzytmc": "",
354 "pzytmj": 0, 360 "pzytmj": 0,
355 "qlxzbsm": "", 361 "qlxzbsm": "",
356 "sjdjbsm": "", 362 "sjdjbsm": "",
357 "sjdjmc": "", 363 "sjdjmc": "",
358 "sjytdm": "", 364 "sjytdm": "",
359 "sjytmc": "", 365 "sjytmc": "",
360 "sjytmj": 0, 366 "sjytmj": 0,
361 "syqx": "", 367 "syqx": "",
362 "tdsyjssj": "2020-10-22T09:07:38.644Z", 368 "tdsyjssj": "2020-10-22T09:07:38.644Z",
363 "tdsyqssj": "2020-10-22T09:07:38.644Z", 369 "tdsyqssj": "2020-10-22T09:07:38.644Z",
364 "tdzh": "" 370 "tdzh": ""
365 } 371 }
366 ], 372 ],
367 "bsm": "", 373 "bsm": "",
368 "glbsm": "", 374 "glbsm": "",
369 "qlxzdm": "", 375 "qlxzdm": "",
370 "qlxzmc": "", 376 "qlxzmc": "",
371 "qlxzzdbsm": "", 377 "qlxzzdbsm": "",
372 "zhqlxzlx": 0 378 "zhqlxzlx": 0
373 } 379 }
374 ], 380 ],
375 "bblx": 0, 381 "bblx": 0,
...@@ -492,6 +498,9 @@ ...@@ -492,6 +498,9 @@
492 }, 498 },
493 mj() { 499 mj() {
494 return this.formData.zdmj 500 return this.formData.zdmj
501 },
502 zddm() {
503 return this.formData.zddm
495 } 504 }
496 }, 505 },
497 watch: { 506 watch: {
...@@ -500,6 +509,9 @@ ...@@ -500,6 +509,9 @@
500 }, 509 },
501 mj: function (val) { 510 mj: function (val) {
502 this.$store.state.zdmj = val 511 this.$store.state.zdmj = val
512 },
513 zddm: function (val) {
514 this.$store.state.zddm = val
503 } 515 }
504 }, 516 },
505 }; 517 };
......