feat(orders): 订单读取与筛选只认渠道/状态三列
- 展示与筛选全部改读 fulfillment_channel/status,不再回退旧列 - 支持 third_party_voucher 与 archived,legacy_platform 映射为归档 - 前端类型、筛选项与标签同步
This commit is contained in:
@@ -222,9 +222,11 @@ export function resolveOrderFulfillmentMode(row: {
|
||||
fulfillmentMode?:
|
||||
| 'work_order'
|
||||
| 'affiliate_dash'
|
||||
| 'third_party_voucher'
|
||||
| 'legacy_platform'
|
||||
| 'manual'
|
||||
| 'pending'
|
||||
| 'archived'
|
||||
| 'mixed'
|
||||
}): { label: string; color: string } {
|
||||
switch (row.fulfillmentMode) {
|
||||
@@ -232,8 +234,10 @@ export function resolveOrderFulfillmentMode(row: {
|
||||
return { label: '⚡ 自动发货', color: 'blue' }
|
||||
case 'work_order':
|
||||
return { label: '👥 接单平台', color: 'purple' }
|
||||
case 'legacy_platform':
|
||||
return { label: '🗄 历史平台', color: 'default' }
|
||||
case 'third_party_voucher':
|
||||
return { label: '🎟 第三方卡券', color: 'cyan' }
|
||||
case 'archived':
|
||||
return { label: '🗄 历史归档', color: 'default' }
|
||||
case 'manual':
|
||||
return { label: '🙋 人工履约', color: 'orange' }
|
||||
case 'mixed':
|
||||
|
||||
Reference in New Issue
Block a user