12 lines
335 B
TypeScript
12 lines
335 B
TypeScript
const loadingListStatusLabels: Record<string, string> = {
|
|
WAIT_LOADING: '待装柜',
|
|
EDITING: '预装柜中',
|
|
LOADING: '拣货中',
|
|
COMPLETED: '装柜完成',
|
|
}
|
|
|
|
export function loadingListStatusLabel(status: string | null | undefined) {
|
|
if (!status) return '—'
|
|
return loadingListStatusLabels[status] || '未知状态'
|
|
}
|