docs: register finance allocation routes

This commit is contained in:
2026-09-02 20:32:42 +08:00
parent f281268efe
commit f0801c2774
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@
- 入库费用的应付/直接已付表单在 `../unified-orders/components/InboundFeeDetailManager.vue`,柜次费用在 `../loading-lists/components/ContainerFeesPanel.vue`;对应 API 分别为 `../unified-orders/api/inboundFeeDetails.ts`、`../loading-lists/api/containerFees.ts`。
- `DIRECT_PAID` 必须提交已付时间、付款方式,以及付款流水号或至少一个付款凭证;凭证由费用 API 调用 `/platform/finance/v1/vouchers` 上传为 `FINANCE_VOUCHER`,并绑定当前客户。
- 后端事实入口为 Firstleg `FeePaymentSnapshotValidator`、入库/柜次费用服务,文件元数据归 File;Finance 只消费已发布的费用来源快照,不在前端或 Finance 中重建付款事实。
- 财务与柜级公共费用分摊统一从 `pages/` 和 `api/finance.ts` 进入;`allocationGroupId` 整组审核、驳回、调整或作废,不允许按单条分摊明细绕过整组状态机。
## 权限与验证