5a5ec20b by 杨威
2 parents 69bd0ece a9651d72
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 class="radioBtn" 41 class="radioBtn"
42 label="4" 42 label="4"
43 border 43 border
44 @click="plcVisible" 44 @click="openPlC"
45 >批量层</el-button 45 >批量层</el-button
46 > 46 >
47 <el-button 47 <el-button
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
238 <!-- 批量操作弹出框 --> 238 <!-- 批量操作弹出框 -->
239 <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose" @lodding="lodding"></pl-h> 239 <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose" @lodding="lodding"></pl-h>
240 <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose" @lodding="lodding"></pl-zl> 240 <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose" @lodding="lodding"></pl-zl>
241 <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose" @lodding="lodding"></pl-c> 241 <pl-c :plc-visible="plcVisible" :bsms="cbsmList" @close="plcClose" @lodding="lodding"></pl-c>
242 <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose" @lodding="lodding"></pl-sh> 242 <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose" @lodding="lodding"></pl-sh>
243 <h-cxlz 243 <h-cxlz
244 :h-cxlz-visble="hcxlzVisible" 244 :h-cxlz-visble="hcxlzVisible"
...@@ -393,6 +393,13 @@ export default { ...@@ -393,6 +393,13 @@ export default {
393 }, 100); 393 }, 100);
394 }, 394 },
395 methods: { 395 methods: {
396 openPlC(){
397 if (this.cbsmList.length <= 0) {
398 Message.warning("请选择层")
399 return
400 }
401 this.plcVisible=true
402 },
396 openPl(val){ 403 openPl(val){
397 if (this.bsms.length <= 0) { 404 if (this.bsms.length <= 0) {
398 Message.warning("请选择操作户") 405 Message.warning("请选择操作户")
...@@ -413,8 +420,7 @@ export default { ...@@ -413,8 +420,7 @@ export default {
413 } 420 }
414 }, 421 },
415 lodding(){ 422 lodding(){
416 let zrzbsm=this.$store.state.zrzbsm; 423 this.getlpbData();
417 this.$refs.lpbContent.getLpb(zrzbsm,this.syclx);
418 }, 424 },
419 hcxlzClose() { 425 hcxlzClose() {
420 this.hcxlzVisible = false; 426 this.hcxlzVisible = false;
...@@ -534,7 +540,7 @@ export default { ...@@ -534,7 +540,7 @@ export default {
534 }, 540 },
535 //户保存 541 //户保存
536 hbjSaveInfo() { 542 hbjSaveInfo() {
537 this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.syclx); 543 this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition);
538 }, 544 },
539 //户编辑表单重置 545 //户编辑表单重置
540 hbjResetInfo() { 546 hbjResetInfo() {
...@@ -542,7 +548,7 @@ export default { ...@@ -542,7 +548,7 @@ export default {
542 }, 548 },
543 //调用楼盘表信息查询接口 549 //调用楼盘表信息查询接口
544 getlpbData() { 550 getlpbData() {
545 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm,this.syclx); 551 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm);
546 //改变楼盘表子组件的key值,重新渲染 552 //改变楼盘表子组件的key值,重新渲染
547 this.time = new Date().getTime(); 553 this.time = new Date().getTime();
548 }, 554 },
......