权利人,自然幢相关页面调整
Showing
2 changed files
with
34 additions
and
5 deletions
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | <el-row> | 8 | <el-row> |
9 | <el-col :span="16" class="fl"> | 9 | <el-col :span="16" class="fl"> |
10 | <el-radio-group v-model="gyfs"> | 10 | <el-radio-group v-model="gyfs"> |
11 | <el-radio :label="item.bsm" :disabled="qszt!='0'" :key="item.bsm" v-for="item in $store.state.gyfsList">{{item.mc}}</el-radio> | 11 | <el-radio :label="item.bsm" :disabled="qszt!='0' || item.disabled" :key="item.bsm" v-for="item in gyfsList">{{item.mc}}</el-radio> |
12 | </el-radio-group> | 12 | </el-radio-group> |
13 | </el-col> | 13 | </el-col> |
14 | <el-col :span="4" class="fr" v-show="qszt=='0'"> | 14 | <el-col :span="4" class="fr" v-show="qszt=='0'"> |
... | @@ -245,7 +245,7 @@ | ... | @@ -245,7 +245,7 @@ |
245 | </td> | 245 | </td> |
246 | <td colspan="2" class="tdright">电话</td> | 246 | <td colspan="2" class="tdright">电话</td> |
247 | <td colspan="3"> | 247 | <td colspan="3"> |
248 | <input type="text" class="formInput" v-model="item.dh" /> | 248 | <input type="text" class="formInput" v-model="item.dh" /> |
249 | </td> | 249 | </td> |
250 | </tr> | 250 | </tr> |
251 | </template> | 251 | </template> |
... | @@ -325,6 +325,7 @@ | ... | @@ -325,6 +325,7 @@ |
325 | // bsm:'', | 325 | // bsm:'', |
326 | gyfs: '', | 326 | gyfs: '', |
327 | tableData: [], | 327 | tableData: [], |
328 | gyfsList:[], | ||
328 | //表格选中项 | 329 | //表格选中项 |
329 | multipleSelection: [], | 330 | multipleSelection: [], |
330 | dialogVisible: false, | 331 | dialogVisible: false, |
... | @@ -463,6 +464,16 @@ | ... | @@ -463,6 +464,16 @@ |
463 | this.formData.fr=row.frList[0]; | 464 | this.formData.fr=row.frList[0]; |
464 | } | 465 | } |
465 | }, | 466 | }, |
467 | |||
468 | inputBlur(e){ | ||
469 | if(e.target.value!=''){ | ||
470 | e.target.style.border="" | ||
471 | }else{ | ||
472 | e.target.style.border="1px solid red"; | ||
473 | e.target.style.boxSizing = 'border-box'; | ||
474 | } | ||
475 | }, | ||
476 | |||
466 | //删除行数据 | 477 | //删除行数据 |
467 | delRow() { | 478 | delRow() { |
468 | if (this.multipleSelection.length > 0) { | 479 | if (this.multipleSelection.length > 0) { |
... | @@ -531,12 +542,21 @@ | ... | @@ -531,12 +542,21 @@ |
531 | }) | 542 | }) |
532 | } | 543 | } |
533 | }, | 544 | }, |
534 | created(){}, | 545 | created(){ |
546 | if(this.tableData.length>1){ | ||
547 | this.gyfsList = this.$store.state.gyfsList.length; | ||
548 | for(let i = 0;i<this.gyfsList.length;i++){ | ||
549 | let item = this.gyfsList[i]; | ||
550 | this.gyfsList.disabled = item.mc === "单独所有" && item.bsm === this.gyfs; | ||
551 | } | ||
552 | } | ||
553 | }, | ||
535 | mounted() { | 554 | mounted() { |
536 | this.getQlrInfo(); | 555 | this.getQlrInfo(); |
537 | if(this.$store.state.gyfsList.length>0){ | 556 | if(this.$store.state.gyfsList.length>0){ |
538 | this.gyfs=this.$store.state.gyfsList[0].bsm; | 557 | this.gyfs=this.$store.state.gyfsList[0].bsm; |
539 | } | 558 | } |
559 | |||
540 | }, | 560 | }, |
541 | watch:{ | 561 | watch:{ |
542 | dialogVisible(n){ | 562 | dialogVisible(n){ |
... | @@ -584,7 +604,16 @@ | ... | @@ -584,7 +604,16 @@ |
584 | zjzlbsm: "", | 604 | zjzlbsm: "", |
585 | } | 605 | } |
586 | } | 606 | } |
587 | } | 607 | }, |
608 | tableData(){ | ||
609 | if(this.tableData.length>1){ | ||
610 | this.gyfsList = this.$store.state.gyfsList; | ||
611 | for(let i = 0;i<this.gyfsList.length;i++){ | ||
612 | let item = this.gyfsList[i]; | ||
613 | this.gyfsList[i].disabled = item.mc === "单独所有"; | ||
614 | } | ||
615 | } | ||
616 | }, | ||
588 | } | 617 | } |
589 | }; | 618 | }; |
590 | </script> | 619 | </script> | ... | ... |
... | @@ -88,7 +88,7 @@ | ... | @@ -88,7 +88,7 @@ |
88 | <tr> | 88 | <tr> |
89 | <td colspan="2" class="tdright">建筑物高度(m)</td> | 89 | <td colspan="2" class="tdright">建筑物高度(m)</td> |
90 | <td colspan="4" > | 90 | <td colspan="4" > |
91 | <input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwgd"> | 91 | <input class="formInput" type="number" :disabled="form.qszt!='0'" v-model="form.jzwgd"> |
92 | </td> | 92 | </td> |
93 | <td colspan="2" class="tdright">地下深度(m)</td> | 93 | <td colspan="2" class="tdright">地下深度(m)</td> |
94 | <td colspan="4" > | 94 | <td colspan="4" > | ... | ... |
-
Please register or sign in to post a comment