From dfc776a3c3a6af24e9ba2a4b6e530f44b83c7591 Mon Sep 17 00:00:00 2001 From: Yangk Date: Mon, 12 Jan 2026 17:56:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(AfterSales,=20TimesheetInfo,=20BusinessTri?= =?UTF-8?q?p):=20=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=8C=89ID=E5=88=97=E8=A1=A8=E8=BF=87?= =?UTF-8?q?=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/crm/businessTripApply/index.vue | 4 +++- src/views/oa/erp/afterSales/index.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/oa/crm/businessTripApply/index.vue b/src/views/oa/crm/businessTripApply/index.vue index 6162c2e..04931cb 100644 --- a/src/views/oa/crm/businessTripApply/index.vue +++ b/src/views/oa/crm/businessTripApply/index.vue @@ -331,7 +331,9 @@ const handleExport = () => { proxy?.download( 'oa/crm/businessTripApply/export', { - ...queryParams.value + ...queryParams.value, + // 如果选中了数据,则只导出选中的数据 + tripIds: ids.value.length > 0 ? ids.value.join(',') : undefined }, `businessTripApply_${new Date().getTime()}.xlsx` ); diff --git a/src/views/oa/erp/afterSales/index.vue b/src/views/oa/erp/afterSales/index.vue index 48dd193..ee8e67a 100644 --- a/src/views/oa/erp/afterSales/index.vue +++ b/src/views/oa/erp/afterSales/index.vue @@ -382,7 +382,9 @@ const handleExport = () => { proxy?.download( 'oa/erp/afterSales/export', { - ...queryParams.value + ...queryParams.value, + // 如果选中了数据,则只导出选中的数据 + afterSalesIds: ids.value.length > 0 ? ids.value.join(',') : undefined }, `afterSales_${new Date().getTime()}.xlsx` );