From d3b293da28fba6b0c29abfb0ec3e157e5efe4b90 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 19 May 2026 11:17:28 +0800 Subject: [PATCH] =?UTF-8?q?1.1.45=20=E9=87=87=E8=B4=AD=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E5=8D=95=E5=AF=BC=E5=87=BApdf=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/projectPurchase/index.ts | 12 +++++++++ src/views/oa/erp/projectPurchase/index.vue | 31 ++++++++++++++++++++-- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/api/oa/erp/projectPurchase/index.ts b/src/api/oa/erp/projectPurchase/index.ts index 1d173b3..f8fa351 100644 --- a/src/api/oa/erp/projectPurchase/index.ts +++ b/src/api/oa/erp/projectPurchase/index.ts @@ -98,6 +98,18 @@ export function getErpProjectPurchaseList (query) { * @param projectId * @param spareFlag */ +/** + * 导出项目采购审批单 PDF + * @param projectPurchaseId 项目采购ID + */ +export const exportProjectPurchaseApprovalPdf = (projectPurchaseId: string | number) => { + return request({ + url: '/oa/erp/projectPurchase/exportApprovalPdf/' + projectPurchaseId, + method: 'get', + responseType: 'blob' + }); +}; + export const getProjectMaterialsByProjectId = ( projectId: string | number, spareFlag: string, diff --git a/src/views/oa/erp/projectPurchase/index.vue b/src/views/oa/erp/projectPurchase/index.vue index e2f3eb7..7b8f2e6 100644 --- a/src/views/oa/erp/projectPurchase/index.vue +++ b/src/views/oa/erp/projectPurchase/index.vue @@ -91,7 +91,7 @@ - +