权利人
Showing
1 changed file
with
5 additions
and
9 deletions
| ... | @@ -417,7 +417,6 @@ | ... | @@ -417,7 +417,6 @@ |
| 417 | //todo 权利人页面调整 | 417 | //todo 权利人页面调整 |
| 418 | this.formData.addQjDlrFrRequest=[]; | 418 | this.formData.addQjDlrFrRequest=[]; |
| 419 | this.formData.glbsm=this.bsm; | 419 | this.formData.glbsm=this.bsm; |
| 420 | this.formData.gyfsbsm=this.gyfs; | ||
| 421 | //将代理人,法人数据合在一起,名称为addQjDlrFrRequest; | 420 | //将代理人,法人数据合在一起,名称为addQjDlrFrRequest; |
| 422 | //法人的type字段类型为0, | 421 | //法人的type字段类型为0, |
| 423 | this.formData.fr.type=0; | 422 | this.formData.fr.type=0; |
| ... | @@ -427,7 +426,6 @@ | ... | @@ -427,7 +426,6 @@ |
| 427 | this.formData.dlrList[k].type=1; | 426 | this.formData.dlrList[k].type=1; |
| 428 | this.formData.addQjDlrFrRequest.push(this.formData.dlrList[k]); | 427 | this.formData.addQjDlrFrRequest.push(this.formData.dlrList[k]); |
| 429 | } | 428 | } |
| 430 | this.formData.gyfsbsm=this.gyfs; | ||
| 431 | //如果是从更新按钮点击确定的则进行更新操作,如果不是,则进行添加操作 | 429 | //如果是从更新按钮点击确定的则进行更新操作,如果不是,则进行添加操作 |
| 432 | if(this.update){ | 430 | if(this.update){ |
| 433 | console.log(this.formData) | 431 | console.log(this.formData) |
| ... | @@ -563,19 +561,12 @@ | ... | @@ -563,19 +561,12 @@ |
| 563 | }, | 561 | }, |
| 564 | created(){ | 562 | created(){ |
| 565 | this.gyfsList = this.$store.state.gyfsList; | 563 | this.gyfsList = this.$store.state.gyfsList; |
| 566 | if(this.tableData.length>1){ | ||
| 567 | for(let i = 0;i<this.gyfsList.length;i++){ | ||
| 568 | let item = this.gyfsList[i]; | ||
| 569 | this.gyfsList.disabled = item.mc === "单独所有" && item.bsm === this.gyfs; | ||
| 570 | } | ||
| 571 | } | ||
| 572 | }, | 564 | }, |
| 573 | mounted() { | 565 | mounted() { |
| 574 | this.getQlrInfo(); | 566 | this.getQlrInfo(); |
| 575 | if(this.$store.state.gyfsList.length>0){ | 567 | if(this.$store.state.gyfsList.length>0){ |
| 576 | this.gyfs=this.$store.state.gyfsList[0].bsm; | 568 | this.gyfs=this.$store.state.gyfsList[0].bsm; |
| 577 | } | 569 | } |
| 578 | |||
| 579 | }, | 570 | }, |
| 580 | watch:{ | 571 | watch:{ |
| 581 | dialogVisible(n){ | 572 | dialogVisible(n){ |
| ... | @@ -632,6 +623,11 @@ | ... | @@ -632,6 +623,11 @@ |
| 632 | this.gyfsList[i].disabled = item.mc === "单独所有"; | 623 | this.gyfsList[i].disabled = item.mc === "单独所有"; |
| 633 | } | 624 | } |
| 634 | } | 625 | } |
| 626 | console.log(this.tableData.length+":this.tableData[0].length"); | ||
| 627 | if(this.tableData.length>1){ | ||
| 628 | console.log(JSON.stringify(this.tableData[0])+":this.tableData[0].length"); | ||
| 629 | this.gyfs = this.tableData[0].gyfsbsm | ||
| 630 | } | ||
| 635 | }, | 631 | }, |
| 636 | } | 632 | } |
| 637 | }; | 633 | }; | ... | ... |
-
Please register or sign in to post a comment