户合并完善
Showing
1 changed file
with
17 additions
and
11 deletions
... | @@ -307,6 +307,7 @@ | ... | @@ -307,6 +307,7 @@ |
307 | import moveH from "./../../../../../components/moveH/moveH"; | 307 | import moveH from "./../../../../../components/moveH/moveH"; |
308 | import { getLpb, insertUpDownC, deleteCByBsm } from "@api/lpb"; | 308 | import { getLpb, insertUpDownC, deleteCByBsm } from "@api/lpb"; |
309 | import { hhb } from "@api/h"; | 309 | import { hhb } from "@api/h"; |
310 | import { Message } from 'element-ui'; | ||
310 | export default { | 311 | export default { |
311 | name: "", | 312 | name: "", |
312 | components: { moveH }, | 313 | components: { moveH }, |
... | @@ -576,7 +577,6 @@ export default { | ... | @@ -576,7 +577,6 @@ export default { |
576 | this.lpbChTop = e.pageY; | 577 | this.lpbChTop = e.pageY; |
577 | if (this.isHbfg) { | 578 | if (this.isHbfg) { |
578 | this.rightClickFlag = 'hb'; | 579 | this.rightClickFlag = 'hb'; |
579 | console.log(this.fghbChoosedList,'this.fghbChoosedList '); | ||
580 | if (this.fghbChoosedList.length>1) { | 580 | if (this.fghbChoosedList.length>1) { |
581 | this.lpbChVisible = true; | 581 | this.lpbChVisible = true; |
582 | //判断选中户可以执行的合并类型 | 582 | //判断选中户可以执行的合并类型 |
... | @@ -717,19 +717,25 @@ export default { | ... | @@ -717,19 +717,25 @@ export default { |
717 | .then(() => { | 717 | .then(() => { |
718 | //确定合并 调用合并接口 this.hbsmList为选中户bsm数组 TO DO | 718 | //确定合并 调用合并接口 this.hbsmList为选中户bsm数组 TO DO |
719 | let params = { | 719 | let params = { |
720 | "ljzbsm": "", | ||
721 | "newuserbsm": "", | 720 | "newuserbsm": "", |
722 | "oldBsms": olbBsms, | 721 | "oldBsms": olbBsms, |
723 | "scyclx": "", | 722 | "scyclx": this.$parent.scyclx, |
724 | "zdybsm": "", | 723 | "ljzbsm": this.fghbChoosedList[0].ljzbsm, |
725 | "zrzbsm": "" | 724 | "zdybsm": this.fghbChoosedList[0].zdybsm, |
725 | "zrzbsm": this.fghbChoosedList[0].zrzbsm | ||
726 | } | ||
727 | // console.log(params,'params'); | ||
728 | hhb(params).then((res) => { | ||
729 | if(res.code == 200){ | ||
730 | Message.success('合并成功'); | ||
731 | // 清除选中户 | ||
732 | this.clearChoosedH(); | ||
733 | this.fghbChoosedList = []; | ||
734 | // 更新楼盘表 | ||
735 | this.getLpb(this.zrzbsm, this.$parent.scyclx); | ||
726 | } | 736 | } |
727 | console.log(params,'params'); | 737 | }) |
728 | // hhb(params).then(() => { | 738 | .catch(() => {}); |
729 | //合并成功后更新楼盘表 | ||
730 | |||
731 | // }) | ||
732 | // .catch(() => {}); | ||
733 | }) | 739 | }) |
734 | .catch(() => {}); | 740 | .catch(() => {}); |
735 | }else{ | 741 | }else{ | ... | ... |
-
Please register or sign in to post a comment