From 3ef1c2124ec4d5844b32716884841c873f1fc4ff Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 3 Sep 2024 08:23:55 +0800 Subject: [PATCH] md --- src/views/emis/emisSettleBill/index.vue | 20 +++++++++++++++---- .../SubBillConfirmByMoneyList.vue | 11 ++++++++++ .../SubBillConfirmByMonthList.vue | 17 ++++++++++++++-- .../emisSettleSubBill/SubBillMonthSumList.vue | 2 ++ 4 files changed, 44 insertions(+), 6 deletions(-) diff --git a/src/views/emis/emisSettleBill/index.vue b/src/views/emis/emisSettleBill/index.vue index 4c7f73d1..d32ebfcf 100644 --- a/src/views/emis/emisSettleBill/index.vue +++ b/src/views/emis/emisSettleBill/index.vue @@ -215,6 +215,10 @@ + + + + @@ -285,6 +289,8 @@ export default { // 结算总账单表格数据 emisSettleBillList: [], + selectList:[], + currentId:null, openForm: false, titleForm: "", @@ -536,11 +542,15 @@ export default { }, handleExportToBill() { - this.download('emis/emisSettleBill/exportBill', { - settleBillNo:this.currentSettleBillNo - }, `账单${new Date().getTime()}.xlsx`) - + if(this.selectList&&this.selectList.length>0){ + this.selectList.forEach(item=>{ + this.download('emis/emisSettleBill/exportBill', { + settleBillNo:item.settleBillNo + }, `账单${item.settleBillName}.xlsx`) + }); + } }, + /** 搜索按钮操作 */ handleQuery() { this.queryParams.pageNum = 1; @@ -558,6 +568,8 @@ export default { this.single = selection.length!==1 this.multiple = !selection.length + this.selectList=selection; + if(selection&&selection.length>0){ this.currentSettleBillNo=selection[0].settleBillNo; } diff --git a/src/views/emis/emisSettleSubBill/SubBillConfirmByMoneyList.vue b/src/views/emis/emisSettleSubBill/SubBillConfirmByMoneyList.vue index 821a623c..063db0f4 100644 --- a/src/views/emis/emisSettleSubBill/SubBillConfirmByMoneyList.vue +++ b/src/views/emis/emisSettleSubBill/SubBillConfirmByMoneyList.vue @@ -45,8 +45,19 @@ + + + + + + + + + + + diff --git a/src/views/emis/emisSettleSubBill/SubBillConfirmByMonthList.vue b/src/views/emis/emisSettleSubBill/SubBillConfirmByMonthList.vue index 8eb20d53..e5061458 100644 --- a/src/views/emis/emisSettleSubBill/SubBillConfirmByMonthList.vue +++ b/src/views/emis/emisSettleSubBill/SubBillConfirmByMonthList.vue @@ -51,6 +51,17 @@ + + + + + + + + + + + @@ -707,11 +718,11 @@ export default { if(this.$route.query.custNo!=null){ this.queryParams.blConfirmCenter='0'; this.queryParams.blConfirmSite=this.$route.query.blConfirmSite; + this.actionType=this.$route.query.actionType; + this.queryParams.custNo=this.$route.query.custNo; let startTime=this.$route.query.startTime; let endTime=this.$route.query.endTime; this.dateTimeRange=[startTime, endTime] - this.actionType=this.$route.query.actionType; - this.queryParams.custNo=this.$route.query.custNo; this.initData(); } } @@ -729,6 +740,8 @@ export default { // this.queryParams.blConfirmSite='1'; this.actionType=this.$route.query.actionType; this.queryParams.custNo=this.$route.query.custNo; + this.queryParams.blConfirmSite=this.$route.query.blConfirmSite; + this.initData(); }, diff --git a/src/views/emis/emisSettleSubBill/SubBillMonthSumList.vue b/src/views/emis/emisSettleSubBill/SubBillMonthSumList.vue index 7d447d8f..091ea7cc 100644 --- a/src/views/emis/emisSettleSubBill/SubBillMonthSumList.vue +++ b/src/views/emis/emisSettleSubBill/SubBillMonthSumList.vue @@ -17,6 +17,8 @@ + +