feat():自然幢权利人修改
Showing
1 changed file
with
24 additions
and
8 deletions
... | @@ -8,11 +8,11 @@ | ... | @@ -8,11 +8,11 @@ |
8 | <el-row> | 8 | <el-row> |
9 | <el-col :span="14" class="fl" style="line-height:32px"> | 9 | <el-col :span="14" class="fl" style="line-height:32px"> |
10 | <el-radio-group v-model="gyfs"> | 10 | <el-radio-group v-model="gyfs"> |
11 | <el-radio :label="item.bsm" :disabled="qszt!='0' || item.disabled" :key="item.bsm" v-for="item in 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="10" class="fr"> | 14 | <el-col :span="10" class="fr"> |
15 | <div v-show="qszt=='0'" class="fr" style="margin-right:20px"> | 15 | <!-- <div v-show="qszt=='0'" class="fr" style="margin-right:20px"> |
16 | <el-button class="qlrBtn" size="mini" @click="addRow"> | 16 | <el-button class="qlrBtn" size="mini" @click="addRow"> |
17 | <i class="iconfont iconxinzeng"></i> 新增 | 17 | <i class="iconfont iconxinzeng"></i> 新增 |
18 | </el-button> | 18 | </el-button> |
... | @@ -22,15 +22,15 @@ | ... | @@ -22,15 +22,15 @@ |
22 | <el-button class="qlrBtn" size="mini" @click="delRow"> | 22 | <el-button class="qlrBtn" size="mini" @click="delRow"> |
23 | <i class="iconfont iconshanchu"></i> 删除 | 23 | <i class="iconfont iconshanchu"></i> 删除 |
24 | </el-button> | 24 | </el-button> |
25 | </div> | 25 | </div>--> |
26 | <div v-show="qszt!='0'" class="fr" style="margin-right:20px"> | 26 | <div v-show="+qszt === 0" class="fr" style="margin-right:20px"> |
27 | <el-button class="qlrBtn" size="mini" disabled> | 27 | <el-button class="qlrBtn" size="mini" :disabled="+qszt!==0 || (tableData.length>0 && gyfs ==='PSHGSBDCQJDC000000000000DC340010') " @click="addRow"> |
28 | <i class="iconfont iconxinzeng"></i> 新增 | 28 | <i class="iconfont iconxinzeng" :disabled="+qszt!==0"></i> 新增 |
29 | </el-button> | 29 | </el-button> |
30 | <el-button class="qlrBtn" size="mini" disabled> | 30 | <el-button class="qlrBtn" size="mini" :disabled="+qszt!==0" @click="changeRow"> |
31 | <i class="iconfont iconbianji"></i> 编辑 | 31 | <i class="iconfont iconbianji"></i> 编辑 |
32 | </el-button> | 32 | </el-button> |
33 | <el-button class="qlrBtn" size="mini" disabled> | 33 | <el-button class="qlrBtn" size="mini" :disabled="+qszt!==0" @click="delRow"> |
34 | <i class="iconfont iconshanchu"></i> 删除 | 34 | <i class="iconfont iconshanchu"></i> 删除 |
35 | </el-button> | 35 | </el-button> |
36 | </div> | 36 | </div> |
... | @@ -403,6 +403,9 @@ | ... | @@ -403,6 +403,9 @@ |
403 | 403 | ||
404 | //新增行数据 | 404 | //新增行数据 |
405 | addRow() { | 405 | addRow() { |
406 | |||
407 | console.log(this.gyfs,'共有方式') | ||
408 | |||
406 | this.update=false; | 409 | this.update=false; |
407 | let flag=false; | 410 | let flag=false; |
408 | for(let i = 0;i<this.$store.state.gyfsList.length;i++){ | 411 | for(let i = 0;i<this.$store.state.gyfsList.length;i++){ |
... | @@ -641,6 +644,19 @@ | ... | @@ -641,6 +644,19 @@ |
641 | } | 644 | } |
642 | }, | 645 | }, |
643 | watch:{ | 646 | watch:{ |
647 | tableData:{ | ||
648 | handler:function (v) { | ||
649 | console.log(v,'权利人') | ||
650 | this.gyfsList[0].disabled = v.length() > 1; | ||
651 | } , | ||
652 | deep:true | ||
653 | }, | ||
654 | gyfsList:{ | ||
655 | handler:function(v){ | ||
656 | console.log(v,"共有方式") | ||
657 | }, | ||
658 | deep:true | ||
659 | }, | ||
644 | dialogVisible(n){ | 660 | dialogVisible(n){ |
645 | if(n == false){ | 661 | if(n == false){ |
646 | this.formData = { | 662 | this.formData = { | ... | ... |
-
Please register or sign in to post a comment