实测预测数据分开填写
Showing
1 changed file
with
71 additions
and
18 deletions
... | @@ -153,62 +153,62 @@ | ... | @@ -153,62 +153,62 @@ |
153 | <td colspan="2" rowspan="6" align="center" >预测</td> | 153 | <td colspan="2" rowspan="6" align="center" >预测</td> |
154 | <td colspan="2" align="center" >建筑面积(㎡) </td> | 154 | <td colspan="2" align="center" >建筑面积(㎡) </td> |
155 | <td colspan="2" align="center" > | 155 | <td colspan="2" align="center" > |
156 | <el-input v-model="form.jzmj" :disabled="form.scyclx==='1'"></el-input> | 156 | <el-input v-model="form.ycjzmj" :disabled="form.scyclx==='1'"></el-input> |
157 | </td> | 157 | </td> |
158 | <td colspan="2" rowspan="6" align="center" >实测</td> | 158 | <td colspan="2" rowspan="6" align="center" >实测</td> |
159 | <td colspan="2" align="center" >建筑面积(㎡)</td> | 159 | <td colspan="2" align="center" >建筑面积(㎡)</td> |
160 | <td colspan="2" align="center" > | 160 | <td colspan="2" align="center" > |
161 | <el-input v-model="form.jzmj" :disabled="form.scyclx==='0'"></el-input> | 161 | <el-input v-model="form.scjzmj" :disabled="form.scyclx==='0'"></el-input> |
162 | </td> | 162 | </td> |
163 | </tr> | 163 | </tr> |
164 | <tr height="30"> | 164 | <tr height="30"> |
165 | <td colspan="2" align="center" >套内建筑面积(㎡))</td> | 165 | <td colspan="2" align="center" >套内建筑面积(㎡))</td> |
166 | <td colspan="2" align="center" > | 166 | <td colspan="2" align="center" > |
167 | <el-input v-model="form.tnjzmj" :disabled="form.scyclx==='1'"></el-input> | 167 | <el-input v-model="form.yctnjzmj" :disabled="form.scyclx==='1'"></el-input> |
168 | </td> | 168 | </td> |
169 | <td colspan="2" align="center" >套内建筑面积(㎡)</td> | 169 | <td colspan="2" align="center" >套内建筑面积(㎡)</td> |
170 | <td colspan="2" align="center" > | 170 | <td colspan="2" align="center" > |
171 | <el-input v-model="form.tnjzmj" :disabled="form.scyclx==='0'"></el-input> | 171 | <el-input v-model="form.sctnjzmj" :disabled="form.scyclx==='0'"></el-input> |
172 | </td> | 172 | </td> |
173 | </tr> | 173 | </tr> |
174 | <tr height="30"> | 174 | <tr height="30"> |
175 | <td colspan="2" align="center" >分摊建筑面积(㎡)</td> | 175 | <td colspan="2" align="center" >分摊建筑面积(㎡)</td> |
176 | <td colspan="2" align="center" > | 176 | <td colspan="2" align="center" > |
177 | <el-input v-model="form.ftjzmj" :disabled="form.scyclx==='1'"></el-input> | 177 | <el-input v-model="form.ycftjzmj" :disabled="form.scyclx==='1'"></el-input> |
178 | </td> | 178 | </td> |
179 | <td colspan="2" align="center" >分摊建筑面积(㎡)</td> | 179 | <td colspan="2" align="center" >分摊建筑面积(㎡)</td> |
180 | <td colspan="2" align="center" > | 180 | <td colspan="2" align="center" > |
181 | <el-input v-model="form.ftjzmj" :disabled="form.scyclx==='0'"></el-input> | 181 | <el-input v-model="form.scftjzmj" :disabled="form.scyclx==='0'"></el-input> |
182 | </td> | 182 | </td> |
183 | </tr> | 183 | </tr> |
184 | <tr height="30"> | 184 | <tr height="30"> |
185 | <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> | 185 | <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> |
186 | <td colspan="2" align="center" > | 186 | <td colspan="2" align="center" > |
187 | <el-input v-model="form.dxbfjzmj" :disabled="form.scyclx==='1'"></el-input> | 187 | <el-input v-model="form.ycdxbfjzmj" :disabled="form.scyclx==='1'"></el-input> |
188 | </td> | 188 | </td> |
189 | <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> | 189 | <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> |
190 | <td colspan="2" align="center" > | 190 | <td colspan="2" align="center" > |
191 | <el-input v-model="form.dxbfjzmj" :disabled="form.scyclx==='0'"></el-input> | 191 | <el-input v-model="form.scdxbfjzmj" :disabled="form.scyclx==='0'"></el-input> |
192 | </td> | 192 | </td> |
193 | </tr> | 193 | </tr> |
194 | <tr height="30"> | 194 | <tr height="30"> |
195 | <td colspan="2" align="center" >其它建筑面积(㎡)</td> | 195 | <td colspan="2" align="center" >其它建筑面积(㎡)</td> |
196 | <td colspan="2" align="center" > | 196 | <td colspan="2" align="center" > |
197 | <el-input v-model="form.qtjzmj" :disabled="form.scyclx==='1'"></el-input> | 197 | <el-input v-model="form.ycqtjzmj" :disabled="form.scyclx==='1'"></el-input> |
198 | </td> | 198 | </td> |
199 | <td colspan="2" align="center" >其它建筑面积(㎡)</td> | 199 | <td colspan="2" align="center" >其它建筑面积(㎡)</td> |
200 | <td colspan="2" align="center" > | 200 | <td colspan="2" align="center" > |
201 | <el-input v-model="form.qtjzmj" :disabled="form.scyclx==='0'"></el-input> | 201 | <el-input v-model="form.scqtjzmj" :disabled="form.scyclx==='0'"></el-input> |
202 | </td> | 202 | </td> |
203 | </tr> | 203 | </tr> |
204 | <tr height="30"> | 204 | <tr height="30"> |
205 | <td colspan="2" align="center" >分摊系数</td> | 205 | <td colspan="2" align="center" >分摊系数</td> |
206 | <td colspan="2" align="center" > | 206 | <td colspan="2" align="center" > |
207 | <el-input v-model="form.ftxs" :disabled="form.scyclx==='1'"></el-input> | 207 | <el-input v-model="form.ycftxs" :disabled="form.scyclx==='1'"></el-input> |
208 | </td> | 208 | </td> |
209 | <td colspan="2" align="center" >分摊系数</td> | 209 | <td colspan="2" align="center" >分摊系数</td> |
210 | <td colspan="2" align="center" > | 210 | <td colspan="2" align="center" > |
211 | <el-input v-model="form.ftxs" :disabled="form.scyclx==='0'"></el-input> | 211 | <el-input v-model="form.scftxs" :disabled="form.scyclx==='0'"></el-input> |
212 | </td> | 212 | </td> |
213 | </tr> | 213 | </tr> |
214 | 214 | ||
... | @@ -423,12 +423,23 @@ | ... | @@ -423,12 +423,23 @@ |
423 | fwcqlybsm:'', //房屋产权来源标识码 | 423 | fwcqlybsm:'', //房屋产权来源标识码 |
424 | myc:'', //名义层 | 424 | myc:'', //名义层 |
425 | qszt:'', //权属状态 | 425 | qszt:'', //权属状态 |
426 | jzmj:'', //建筑面积 | 426 | |
427 | tnjzmj:'', //套内建筑面积 | 427 | //预测数据 |
428 | ftjzmj:'', //分摊建筑面积 | 428 | ycjzmj:'', //建筑面积 |
429 | dxbfjzmj:'', //地下部分建筑面积 | 429 | yctnjzmj:'', //套内建筑面积 |
430 | qtjzmj:'', //其它建筑面积 | 430 | ycftjzmj:'', //分摊建筑面积 |
431 | ftxs:'', //分摊系数 | 431 | ycdxbfjzmj:'', //地下部分建筑面积 |
432 | ycqtjzmj:'', //其它建筑面积 | ||
433 | ycftxs:'', //分摊系数 | ||
434 | |||
435 | //实测数据 | ||
436 | scjzmj:'', //建筑面积 | ||
437 | sctnjzmj:'', //套内建筑面积 | ||
438 | scftjzmj:'', //分摊建筑面积 | ||
439 | scdxbfjzmj:'', //地下部分建筑面积 | ||
440 | scqtjzmj:'', //其它建筑面积 | ||
441 | scftxs:'', //分摊系数 | ||
442 | |||
432 | scyclx:'0', //实预测类型(0:预测,1:实测;),区别户是实测还是预测数据 | 443 | scyclx:'0', //实预测类型(0:预测,1:实测;),区别户是实测还是预测数据 |
433 | scycglbsm:'', //实测预测关联标识码 | 444 | scycglbsm:'', //实测预测关联标识码 |
434 | bz:'', //备注 | 445 | bz:'', //备注 |
... | @@ -507,6 +518,33 @@ | ... | @@ -507,6 +518,33 @@ |
507 | getQjHDetailByBsm(hbsm).then((res)=>{ | 518 | getQjHDetailByBsm(hbsm).then((res)=>{ |
508 | if(res.code===200){ | 519 | if(res.code===200){ |
509 | this.form = res.result; | 520 | this.form = res.result; |
521 | if(this.form.scyclx==='0'){ | ||
522 | this.form.ycjzmj = this.form.jzmj; | ||
523 | this.form.yctnjzmj=this.form.tnjzmj; | ||
524 | this.form.ycftjzmj=this.form.ftjzmj; | ||
525 | this.form.ycdxbfjzmj=this.form.dxbfjzmj; | ||
526 | this.form.ycqtjzmj=this.form.qtjzmj; | ||
527 | this.form.ycftxs=this.form.ftxs; | ||
528 | this.form.scjzmj = this.form.gljzmj; | ||
529 | this.form.sctnjzmj=this.form.gltnjzmj; | ||
530 | this.form.scftjzmj=this.form.glftjzmj; | ||
531 | this.form.scdxbfjzmj=this.form.gldxbfjzmj; | ||
532 | this.form.scqtjzmj=this.form.glqtjzmj; | ||
533 | this.form.scftxs=this.form.glftxs; | ||
534 | }else if(this.form.scyclx==='1'){ | ||
535 | this.form.scjzmj = this.form.jzmj; | ||
536 | this.form.sctnjzmj=this.form.tnjzmj; | ||
537 | this.form.scftjzmj=this.form.ftjzmj; | ||
538 | this.form.scdxbfjzmj=this.form.dxbfjzmj; | ||
539 | this.form.scqtjzmj=this.form.qtjzmj; | ||
540 | this.form.scftxs=this.form.ftxs; | ||
541 | this.form.ycjzmj = this.form.gljzmj; | ||
542 | this.form.yctnjzmj=this.form.gltnjzmj; | ||
543 | this.form.ycftjzmj=this.form.glftjzmj; | ||
544 | this.form.ycdxbfjzmj=this.form.gldxbfjzmj; | ||
545 | this.form.ycqtjzmj=this.form.glqtjzmj; | ||
546 | this.form.ycftxs=this.form.glftxs; | ||
547 | } | ||
510 | if(res.result.fwytList.length===0){ | 548 | if(res.result.fwytList.length===0){ |
511 | this.form.fwytList.push({ | 549 | this.form.fwytList.push({ |
512 | glbsm:'', //关联标识码 | 550 | glbsm:'', //关联标识码 |
... | @@ -587,6 +625,21 @@ | ... | @@ -587,6 +625,21 @@ |
587 | console.log(yclx) | 625 | console.log(yclx) |
588 | this.form.bsm=bsm; | 626 | this.form.bsm=bsm; |
589 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); | 627 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); |
628 | if(this.form.scyclx==='0'){ | ||
629 | this.form.jzmj = this.form.ycjzmj; | ||
630 | this.form.tnjzmj=this.form.yctnjzmj; | ||
631 | this.form.ftjzmj=this.form.ycftjzmj; | ||
632 | this.form.dxbfjzmj=this.form.ycdxbfjzmj; | ||
633 | this.form.qtjzmj=this.form.ycqtjzmj; | ||
634 | this.form.ftxs=this.form.ycftxs; | ||
635 | }else if(this.form.scyclx==='1'){ | ||
636 | this.form.jzmj = this.form.scjzmj; | ||
637 | this.form.tnjzmj=this.form.sctnjzmj; | ||
638 | this.form.ftjzmj=this.form.scftjzmj; | ||
639 | this.form.dxbfjzmj=this.form.scdxbfjzmj; | ||
640 | this.form.qtjzmj=this.form.scqtjzmj; | ||
641 | this.form.ftxs=this.form.scftxs; | ||
642 | } | ||
590 | updateQjH(this.form).then((res)=>{ | 643 | updateQjH(this.form).then((res)=>{ |
591 | if(res.code===200){ | 644 | if(res.code===200){ |
592 | this.$message.success("保存成功!") | 645 | this.$message.success("保存成功!") | ... | ... |
-
Please register or sign in to post a comment