fix(finance): 历史订单退款不再进入新财务口径

- 断代前 archived 订单的退款只保留业务记录,不再生成冲减事实/总账
- 退款后的事实与费用重算只针对非归档订单
- 移除 refund_adjustment 渠道值的前端筛选与标签
- 迁移 116 的列约束保留,不再写入该值
This commit is contained in:
yml2213
2026-11-01 16:22:49 +08:00
parent a692723c73
commit 5d7904f6ee
6 changed files with 30 additions and 62 deletions
@@ -67,7 +67,6 @@ export type FulfillmentChannel =
| 'pending'
| 'archived'
| 'unclassified'
| 'refund_adjustment'
export const FULFILLMENT_CHANNELS = new Set<string>([
'work_order',
@@ -77,7 +76,6 @@ export const FULFILLMENT_CHANNELS = new Set<string>([
'pending',
'archived',
'unclassified',
'refund_adjustment',
])
/**