更新采购导出

This commit is contained in:
吴红兵
2026-02-24 10:36:05 +08:00
parent 9c7798ac41
commit 7104b2ec07
4 changed files with 104 additions and 2 deletions

View File

@@ -134,6 +134,18 @@ export function getAcceptanceItems(acceptanceType: string) {
})
}
/**
* 下载履约验收模板
*/
export function downloadPerformanceAcceptanceTemplate(purchaseId: string, batch?: number) {
return request({
url: '/purchase/purchasingAccept/export-performance-acceptance-template',
method: 'get',
params: { purchaseId, batch },
responseType: 'blob' // 重要:用于文件下载
})
}
// ========== 工具函数 ==========
/**