优化
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const loadingListStatusLabels: Record<string, string> = {
|
||||
WAIT_LOADING: '待装柜',
|
||||
EDITING: '预装柜中',
|
||||
LOADING: '拣货中',
|
||||
COMPLETED: '装柜完成',
|
||||
}
|
||||
|
||||
export function loadingListStatusLabel(status: string | null | undefined) {
|
||||
if (!status) return '—'
|
||||
return loadingListStatusLabels[status] || '未知状态'
|
||||
}
|
||||
Reference in New Issue
Block a user