f28c141e by zhaoqian

自然幢字典信息数据整理

1 parent 95a93b47
...@@ -504,7 +504,11 @@ ...@@ -504,7 +504,11 @@
504 if(res.code){ 504 if(res.code){
505 if(res.result!=null){ 505 if(res.result!=null){
506 this.tableData=res.result; 506 this.tableData=res.result;
507 this.gyfs=res.result[0].gyfsbsm; 507 if(this.tableData.length===0){
508 this.gyfs=this.$store.state.gyfsList[0].bsm;
509 }else {
510 this.gyfs=res.result[0].gyfsbsm;
511 }
508 } 512 }
509 } 513 }
510 }) 514 })
......
...@@ -201,9 +201,6 @@ export default { ...@@ -201,9 +201,6 @@ export default {
201 "$store.state.zdbsm": function(bsm) { 201 "$store.state.zdbsm": function(bsm) {
202 this.getRightTree(bsm); 202 this.getRightTree(bsm);
203 }, 203 },
204 "$store.state.zrzbsm": function(bsm) {
205 this.getRightTree(bsm);
206 },
207 }, 204 },
208 created() { 205 created() {
209 if (this.$route.meta) { 206 if (this.$route.meta) {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <tr height="30"> 10 <tr height="30">
11 <td colspan="2" align="center" >宗地代码</td> 11 <td colspan="2" align="center" >宗地代码</td>
12 <td colspan="4" > 12 <td colspan="4" >
13 <el-input v-model="form.zddm" disabled="true"></el-input> 13 <el-input v-model="form.zddm" disabled></el-input>
14 <el-input v-show="false" v-model="form.zdbsm"></el-input> 14 <el-input v-show="false" v-model="form.zdbsm"></el-input>
15 </td> 15 </td>
16 <td colspan="2" align="center" >自然幢号</td> 16 <td colspan="2" align="center" >自然幢号</td>
......