From f21fa9bc9838493ff5c3eb2eceb99ddeaa8a9933 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Mon, 13 Apr 2026 13:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E9=87=91=E6=B5=81=E6=B0=B4=E8=B4=A6?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BC=A0=E5=B8=82=E5=9C=BAid=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=AD=97=E6=AE=B5=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/financialAccount/cashFlow.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/moneyManage/financialAccount/cashFlow.vue b/src/views/moneyManage/financialAccount/cashFlow.vue index ccf7084..efddb29 100644 --- a/src/views/moneyManage/financialAccount/cashFlow.vue +++ b/src/views/moneyManage/financialAccount/cashFlow.vue @@ -373,6 +373,17 @@ const handleExport = async () => { return statuses; }; try { + let performanceMarkets = []; + const selectedNames = queryParams.performanceMarket; + if (Array.isArray(selectedNames) && selectedNames.length > 0) { + performanceMarkets = selectedNames + .map(name => { + if (!name) return null; + const id = MarketNameForId(name); + return id; + }) + .filter(id => id !== null && id !== 'null'); // 过滤无效值 + } const params = { pageNum: queryParams.pageNum, pageSize: queryParams.pageSize, @@ -383,6 +394,7 @@ const handleExport = async () => { endTime: queryParams.timeRange?.[1] ? dayjs(queryParams.timeRange[1]).format('YYYY-MM-DD HH:mm:ss') : '', payType: normalizePayType(queryParams.payType || ''), orderCode: queryParams.orderCode, + performanceMarkets: performanceMarkets, statuses: formatStatuses(queryParams.statuses), markets: [], } @@ -773,12 +785,12 @@ onMounted(async () => {