功能:增加订单搜索与状态筛选
This commit is contained in:
@@ -8,6 +8,15 @@ export const orderStatusMap: Record<string, { color: string; text: string }> = {
|
||||
cancelled: { color: 'default', text: '已取消' },
|
||||
}
|
||||
|
||||
export const orderStatusOptions = [
|
||||
{ value: '', label: '全部' },
|
||||
{ value: 'paid', label: '待发货' },
|
||||
{ value: 'delivering', label: '发货中' },
|
||||
{ value: 'delivered', label: '已交付' },
|
||||
{ value: 'ship_failed', label: '发货失败' },
|
||||
{ value: 'cancelled', label: '已取消' },
|
||||
]
|
||||
|
||||
export const memberRoleOptions = [
|
||||
{ value: 'owner', label: '负责人' },
|
||||
{ value: 'operator', label: '运营' },
|
||||
|
||||
Reference in New Issue
Block a user