From 9ba3012f09c8eab86805580a743724fa236100d1 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 6 Aug 2025 18:11:27 +0800 Subject: [PATCH] md --- .../emisSettleBill/BillPayOpenBillSumQuery.vue | 16 +++++++++++++++- .../emis/emisSettleBill/BillPaybackSumList.vue | 16 ++++++++++++++++ .../emis/emisSettleBill/BillPaybackSumQuery.vue | 15 ++++++++++++++- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/views/emis/emisSettleBill/BillPayOpenBillSumQuery.vue b/src/views/emis/emisSettleBill/BillPayOpenBillSumQuery.vue index 8974c4b6..d75e1809 100644 --- a/src/views/emis/emisSettleBill/BillPayOpenBillSumQuery.vue +++ b/src/views/emis/emisSettleBill/BillPayOpenBillSumQuery.vue @@ -216,8 +216,22 @@ export default { } }; }, + watch: { + $route () { + if(this.$route.query.opType=='2'){ + this.queryParams.billMonth=this.$route.query.billMonth; + this.queryParams.openBillStatus='0'; + + this.getList(); + } + } + }, created() { - + if(this.$route.query.opType=='2'){ + this.queryParams.billMonth=this.$route.query.billMonth; + this.queryParams.openBillStatus='0'; + this.getList(); + } }, methods: { /** 查询统计信息 */ diff --git a/src/views/emis/emisSettleBill/BillPaybackSumList.vue b/src/views/emis/emisSettleBill/BillPaybackSumList.vue index 18a4ef0c..75d09838 100644 --- a/src/views/emis/emisSettleBill/BillPaybackSumList.vue +++ b/src/views/emis/emisSettleBill/BillPaybackSumList.vue @@ -43,7 +43,23 @@ export default { queryType:null }; }, + watch: { + $route () { + if(this.$route.query.opType=='1'){ + this.activeTab="payback"; + } + else if(this.$route.query.opType=='2'){ + this.activeTab="openbill"; + } + } + }, created() { + if(this.$route.query.opType=='1'){ + this.activeTab="payback"; + } + else if(this.$route.query.opType=='2'){ + this.activeTab="openbill"; + } }, methods: { handleTabsClick(){ diff --git a/src/views/emis/emisSettleBill/BillPaybackSumQuery.vue b/src/views/emis/emisSettleBill/BillPaybackSumQuery.vue index 5eef04d8..dbebc8ad 100644 --- a/src/views/emis/emisSettleBill/BillPaybackSumQuery.vue +++ b/src/views/emis/emisSettleBill/BillPaybackSumQuery.vue @@ -228,8 +228,21 @@ export default { } }; }, + watch: { + $route () { + if(this.$route.query.opType=='1'){ + this.queryParams.billMonth=this.$route.query.billMonth; + this.queryParams.paymentStatus='0'; + this.getList(); + } + } + }, created() { - + if(this.$route.query.opType=='1'){ + this.queryParams.billMonth=this.$route.query.billMonth; + this.queryParams.paymentStatus='0'; + this.getList(); + } }, methods: { /** 查询统计信息 */