权利人默认共有方式
Showing
6 changed files
with
11 additions
and
7 deletions
| ... | @@ -341,7 +341,7 @@ | ... | @@ -341,7 +341,7 @@ |
| 341 | data() { | 341 | data() { |
| 342 | return { | 342 | return { |
| 343 | update:false, | 343 | update:false, |
| 344 | gyfs: '', | 344 | gyfs: this.$store.state.gyfsList[0].bsm, |
| 345 | tableData: [], | 345 | tableData: [], |
| 346 | gyfsList:[], | 346 | gyfsList:[], |
| 347 | //表格选中项 | 347 | //表格选中项 |
| ... | @@ -658,9 +658,6 @@ | ... | @@ -658,9 +658,6 @@ |
| 658 | }, | 658 | }, |
| 659 | mounted() { | 659 | mounted() { |
| 660 | this.getQlrInfo(this.bsm); | 660 | this.getQlrInfo(this.bsm); |
| 661 | if(this.$store.state.gyfsList.length>0){ | ||
| 662 | this.gyfs=this.$store.state.gyfsList[0].bsm; | ||
| 663 | } | ||
| 664 | }, | 661 | }, |
| 665 | watch:{ | 662 | watch:{ |
| 666 | tableData:{ | 663 | tableData:{ |
| ... | @@ -730,9 +727,6 @@ | ... | @@ -730,9 +727,6 @@ |
| 730 | this.gyfsList[i].disabled = item.mc === "单独所有"; | 727 | this.gyfsList[i].disabled = item.mc === "单独所有"; |
| 731 | } | 728 | } |
| 732 | } | 729 | } |
| 733 | if(this.tableData.length>1){ | ||
| 734 | this.gyfs = this.tableData[0].gyfsbsm | ||
| 735 | } | ||
| 736 | }, | 730 | }, |
| 737 | 731 | ||
| 738 | "formData.qlrlxbsm":function (val) { | 732 | "formData.qlrlxbsm":function (val) { | ... | ... |
| ... | @@ -401,7 +401,9 @@ | ... | @@ -401,7 +401,9 @@ |
| 401 | getDzDetailByBsm(data).then((res)=>{ | 401 | getDzDetailByBsm(data).then((res)=>{ |
| 402 | if(res.code===200) { | 402 | if(res.code===200) { |
| 403 | this.form = res.result; | 403 | this.form = res.result; |
| 404 | if(res.result.gygyqlrqk!=null){ | ||
| 404 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); | 405 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); |
| 406 | } | ||
| 405 | if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){ | 407 | if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){ |
| 406 | this.disabled = false | 408 | this.disabled = false |
| 407 | }else { | 409 | }else { | ... | ... |
| ... | @@ -261,8 +261,10 @@ | ... | @@ -261,8 +261,10 @@ |
| 261 | this.form.qszt = res.result.qszt; | 261 | this.form.qszt = res.result.qszt; |
| 262 | this.zdbsm = res.result.zdzhbsm; | 262 | this.zdbsm = res.result.zdzhbsm; |
| 263 | this.getZddm(this.zdbsm); | 263 | this.getZddm(this.zdbsm); |
| 264 | if(res.result.gygyqlrqk!=null){ | ||
| 264 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); | 265 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); |
| 265 | } | 266 | } |
| 267 | } | ||
| 266 | }) | 268 | }) |
| 267 | }, | 269 | }, |
| 268 | onSubmit(){ | 270 | onSubmit(){ | ... | ... |
| ... | @@ -500,7 +500,9 @@ | ... | @@ -500,7 +500,9 @@ |
| 500 | .then((res) => { | 500 | .then((res) => { |
| 501 | if (res.result) { | 501 | if (res.result) { |
| 502 | this.formData = res.result; | 502 | this.formData = res.result; |
| 503 | if(res.result.gygyqlrqk!=null){ | ||
| 503 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); | 504 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); |
| 505 | } | ||
| 504 | if(this.formData.bblx === 0 && this.formData.qszt === '0' && this.formData.bhqkbsm == null){ | 506 | if(this.formData.bblx === 0 && this.formData.qszt === '0' && this.formData.bhqkbsm == null){ |
| 505 | console.log("12345") | 507 | console.log("12345") |
| 506 | this.disabled = false | 508 | this.disabled = false | ... | ... |
| ... | @@ -625,7 +625,9 @@ | ... | @@ -625,7 +625,9 @@ |
| 625 | if(res.code===200){ | 625 | if(res.code===200){ |
| 626 | this.form = res.result; | 626 | this.form = res.result; |
| 627 | this.hbsm = res.result.bsm; | 627 | this.hbsm = res.result.bsm; |
| 628 | if(res.result.gygyqlrqk!=null){ | ||
| 628 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); | 629 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); |
| 630 | } | ||
| 629 | this.$refs.qlrxxModule.getQlrInfo(hbsm); | 631 | this.$refs.qlrxxModule.getQlrInfo(hbsm); |
| 630 | if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){ | 632 | if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){ |
| 631 | this.disableFlag = false | 633 | this.disableFlag = false | ... | ... |
| ... | @@ -660,7 +660,9 @@ | ... | @@ -660,7 +660,9 @@ |
| 660 | getZrzDetailByBsm(data).then((res)=>{ | 660 | getZrzDetailByBsm(data).then((res)=>{ |
| 661 | if(res.code===200){ | 661 | if(res.code===200){ |
| 662 | this.form=res.result; | 662 | this.form=res.result; |
| 663 | if(res.result.gygyqlrqk!=null){ | ||
| 663 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); | 664 | this.$refs.qlrxxModule.changeGyfs(res.result.gygyqlrqk); |
| 665 | } | ||
| 664 | // //如果没有宗地代码,自动生成 | 666 | // //如果没有宗地代码,自动生成 |
| 665 | // if(res.result.zddm == null){ | 667 | // if(res.result.zddm == null){ |
| 666 | // this.generatorCode() | 668 | // this.generatorCode() | ... | ... |
-
Please register or sign in to post a comment