feat(cost-center): 卡券商品创建即生成渠道规则,补齐成本项预设

- 新建 tpv: 商品时自动写 third_party_voucher 规则,避免新卡券 SKU 停在待分类
- 成本项预设新增「第三方卡券采购成本」
This commit is contained in:
yml2213
2026-11-01 14:46:14 +08:00
parent 624c0ef4af
commit fca836eb4b
3 changed files with 32 additions and 0 deletions
@@ -171,6 +171,14 @@ export const COST_ITEM_PRESETS: CostItemPreset[] = [
pricingMode: 'per_item',
unitName: '件',
},
{
key: 'third_party_voucher_cost',
label: '第三方卡券采购成本',
name: '第三方卡券采购成本',
costModel: 'third_party_voucher_cost',
pricingMode: 'per_item',
unitName: '件',
},
{
key: 'work_order_reward',
label: '接单平台打手报酬',