feat(invoice): 立账凭证检核复制文件加重命名后缀优化

This commit is contained in:
sophie committed 2026-10-28 15:00:49 +08:00
1 parent 02aa00e913
commit 3710aa4d81
10 files changed
+424 -23

No files matched your search

@@ -133,11 +133,13 @@ export function listVoucherCheckRuns(params: {
}
/**
* 分页查询指定排程批次的 invoice 明细,可按 result 过滤状态;同时返回 by_file_type。
* 分页查询指定排程批次的 invoice 明细,可按 result 和 invoice 号过滤;同时返回 by_file_type。
* @param params.invoice_no - 包含匹配,忽略大小写;空表示不按号筛
*/
export function listVoucherCheckRunItems(runId: number, params?: { result?: string; page?: number; page_size?: number }) {
export function listVoucherCheckRunItems(runId: number, params?: { result?: string; invoice_no?: string; page?: number; page_size?: number }) {
const q = new URLSearchParams();
if (params?.result) q.set('result', params.result);
if (params?.invoice_no) q.set('invoice_no', params.invoice_no);
if (params?.page) q.set('page', String(params.page));
if (params?.page_size) q.set('page_size', String(params.page_size));
const qs = q.toString();