fix: [재고생산] completed 상태 라벨을 '생산완료'로 통일

- 목록/상세 모두 completed → '생산완료' (produced와 동일 스타일)
This commit is contained in:
김보곤
2026-03-22 14:59:54 +09:00
parent 169ba3c4d2
commit ac63cf2e21
2 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ export function StockProductionDetail({ orderId }: StockProductionDetailProps) {
in_progress: { label: '생산지시완료', className: 'bg-indigo-100 text-indigo-700' },
in_production: { label: '생산중', className: 'bg-green-100 text-green-700' },
produced: { label: '생산완료', className: 'bg-teal-100 text-teal-700' },
completed: { label: '완료', className: 'bg-gray-500 text-white' },
completed: { label: '생산완료', className: 'bg-teal-100 text-teal-700' },
cancelled: { label: '취소', className: 'bg-red-100 text-red-700' },
};
const s = statusConfig[data.status] || { label: data.status || '-', className: 'bg-gray-100 text-gray-600' };

View File

@@ -48,7 +48,7 @@ function getStatusBadge(status: StockStatus) {
in_progress: { label: "생산지시완료", className: "bg-indigo-100 text-indigo-700 border-indigo-200" },
in_production: { label: "생산중", className: "bg-green-100 text-green-700 border-green-200" },
produced: { label: "생산완료", className: "bg-teal-100 text-teal-700 border-teal-200" },
completed: { label: "완료", className: "bg-gray-500 text-white border-gray-500" },
completed: { label: "생산완료", className: "bg-teal-100 text-teal-700 border-teal-200" },
cancelled: { label: "취소", className: "bg-red-100 text-red-700 border-red-200" },
};
const c = config[status] || config.draft;
@@ -81,7 +81,7 @@ export function StockProductionList() {
{ value: 'confirmed', label: '확정' },
{ value: 'in_progress', label: '생산지시완료' },
{ value: 'in_production', label: '생산중' },
{ value: 'completed', label: '완료' },
{ value: 'completed', label: '생산완료' },
],
allOptionLabel: '전체',
},