feat: 网银流水导入模板+现金流联动(财务数据通道P1)

This commit is contained in:
Hermes CI Fix
2026-08-28 09:59:07 +08:00
parent b9c624fd7e
commit 3bc68fa1c6
9 changed files with 1050 additions and 6 deletions
+7
View File
@@ -383,6 +383,13 @@ export const cashApi = {
receivables: (params?: any) => api.get('/cash/receivables', { params }),
registerPayment: (id: number, data: any) => api.post(`/cash/receivables/${id}/payment`, data),
importBohaiAR: () => api.post('/cash/import/bohai-ar', {}),
// 网银流水导入(P1方案② 2026-08-28
importVouchers: (file: File) => {
const form = new FormData()
form.append('file', file)
return api.post('/cash/import/vouchers', form, { timeout: 60000 })
},
getVoucherTemplate: () => api.get('/cash/import/template', { responseType: 'blob' }),
// 到期提醒
upcoming: (params?: any) => api.get('/cash/upcoming', { params }),
// 页面看板(日历+预测+提醒)