账单导出

This commit is contained in:
2026-10-30 10:51:09 +08:00
parent 42a3fa00d4
commit 7366d88baf
178 changed files with 1166 additions and 898 deletions
+5
View File
@@ -23,3 +23,8 @@ export async function payBill(id: number, data: { paid_at: string; pay_remark?:
export async function exportBill(id: number) {
return downloadBlob(`/recon/bill/${id}/export`, {}, '门店账单.xlsx');
}
/** 批量导出账单:同一门店合并工作表,不同门店拆分为多个工作表 */
export async function exportBills(ids: number[]) {
return downloadBlob('/recon/bill/batch-export', { ids }, '门店账单_批量导出.xlsx');
}