feat: 付款记录付款凭证查看下载
This commit is contained in:
@@ -34,6 +34,15 @@ export const syncKingdeeBatch = ids =>
|
||||
// 回写任务按 paymentNo 分批远程查询 A103-2/A103-4,同样可能超过全局超时
|
||||
export const syncKingdeeResult = () =>
|
||||
request({ url: `${baseUrl}/sync-kingdee-result`, method: 'post', timeout: APPROVE_TIMEOUT });
|
||||
// 付款记录付款凭证下载(后端代理 A801-2 流式回源),耗时较普通接口长,放宽到 120s
|
||||
export const downloadRecordVoucher = recordId =>
|
||||
request({
|
||||
url: `${baseUrl}/record/download-voucher`,
|
||||
method: 'get',
|
||||
params: { recordId },
|
||||
responseType: 'blob',
|
||||
timeout: 120000,
|
||||
});
|
||||
|
||||
export const paymentTypeOptions = [
|
||||
{ label: '项目预付', value: 'project_advance' },
|
||||
|
||||
Reference in New Issue
Block a user