This commit is contained in:
吴红兵
2026-03-05 01:20:15 +08:00
parent c3daa41f10
commit 1e6d6ae981
3 changed files with 46 additions and 3 deletions

View File

@@ -124,6 +124,20 @@ export function canFillForm(purchaseId: string) {
})
}
/**
* 下载履约验收模板根据金额判断使用down/up目录
* @param purchaseId 采购申请ID
* @returns Promise<Blob> - 模板文件 blob
*/
export function downloadTemplate(purchaseId: string) {
return request({
url: '/purchase/purchasingAccept/download-template',
method: 'get',
params: { purchaseId },
responseType: 'blob'
})
}
/**
* 根据品目类型获取验收项配置
*/