feat(cost-center): 第三方卡券渠道归一与采购价配置

- 归一新增 tpv:<SKU> 直达,卡券单无需手工映射
- 成本配置/总览/异常支持 third_party_voucher 与 archived 维度
- 新增卡券采购价面板,写入 sys_third_party_voucher_cost
- 修正 man: 商品改价误用不存在的 sys_manual_cost
This commit is contained in:
yml2213
2026-10-31 19:52:32 +08:00
parent 0ce3c8fa97
commit f4e0c47744
16 changed files with 264 additions and 40 deletions
@@ -38,15 +38,20 @@ const FULFILLMENT_MODE_OPTIONS = [
{ value: '', label: '全部履约方式' },
{ value: 'work_order', label: '接单平台' },
{ value: 'affiliate_dash', label: '自动发货' },
{ value: 'legacy_platform', label: '历史平台' },
{ value: 'third_party_voucher', label: '第三方卡券' },
{ value: 'manual', label: '人工客服' },
{ value: 'unclassified', label: '未分类' },
{ value: 'archived', label: '历史归档' },
]
const FULFILLMENT_MODE_LABEL: Record<string, string> = {
work_order: '接单平台',
affiliate_dash: '自动发货',
legacy_platform: '历史平台',
third_party_voucher: '第三方卡券',
legacy_platform: '历史归档',
manual: '人工客服',
archived: '历史归档',
unclassified: '未分类',
}
const COST_STAGE_LABEL: Record<string, { label: string; color: string }> = {