添加层户弹框中自然幢,逻辑幢,幢单元赋值
Showing
1 changed file
with
10 additions
and
1 deletions
... | @@ -8,6 +8,11 @@ | ... | @@ -8,6 +8,11 @@ |
8 | }}</span> | 8 | }}</span> |
9 | </template> | 9 | </template> |
10 | </el-table-column> | 10 | </el-table-column> |
11 | <el-table-column prop="zrzmc" label="自然幢" align="center"> | ||
12 | <!-- <template slot-scope="scope"> | ||
13 | <el-input size="small" v-model="scope.row.ljzbsm"></el-input> | ||
14 | </template> --> | ||
15 | </el-table-column> | ||
11 | <el-table-column prop="ljzmc" label="逻辑幢" align="center"> | 16 | <el-table-column prop="ljzmc" label="逻辑幢" align="center"> |
12 | <!-- <template slot-scope="scope"> | 17 | <!-- <template slot-scope="scope"> |
13 | <el-input size="small" v-model="scope.row.ljzbsm"></el-input> | 18 | <el-input size="small" v-model="scope.row.ljzbsm"></el-input> |
... | @@ -127,20 +132,24 @@ export default { | ... | @@ -127,20 +132,24 @@ export default { |
127 | jsc: "", | 132 | jsc: "", |
128 | hs: "", | 133 | hs: "", |
129 | }; | 134 | }; |
135 | //给自然幢,逻辑幢,幢单元的bsm和mc赋值 | ||
130 | switch (n.type) { | 136 | switch (n.type) { |
131 | case "zrz": | 137 | case "zrz": |
132 | this.formData.zrzbsm = n.bsm; | 138 | this.formData.zrzbsm = n.bsm; |
139 | this.formData.zrzmc = n.bsm; | ||
133 | break; | 140 | break; |
134 | case "ljz": | 141 | case "ljz": |
135 | this.formData.zrzbsm = n.zrzbsm; | 142 | this.formData.zrzbsm = n.zrzbsm; |
136 | this.formData.ljzbsm = n.bsm; | 143 | this.formData.ljzbsm = n.bsm; |
144 | this.formData.zrzmc = n.zrzmc; | ||
137 | this.formData.ljzmc = n.ljzmc; | 145 | this.formData.ljzmc = n.ljzmc; |
138 | break; | 146 | break; |
139 | case "zdy": | 147 | case "zdy": |
140 | this.formData.zrzbsm = n.zrzbsm; | 148 | this.formData.zrzbsm = n.zrzbsm; |
141 | this.formData.ljzbsm = n.ljzbsm; | 149 | this.formData.ljzbsm = n.ljzbsm; |
142 | this.formData.ljzmc = n.ljzmc; | ||
143 | this.formData.zdybsm = n.bsm; | 150 | this.formData.zdybsm = n.bsm; |
151 | this.formData.zrzmc = n.zrzmc; | ||
152 | this.formData.ljzmc = n.ljzmc; | ||
144 | this.formData.zdymc = n.mc; | 153 | this.formData.zdymc = n.mc; |
145 | break; | 154 | break; |
146 | default: | 155 | default: | ... | ... |
-
Please register or sign in to post a comment