From ac63cf2e21a2f8b9f9803586a5a132a986ab8fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 22 Mar 2026 14:59:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[=EC=9E=AC=EA=B3=A0=EC=83=9D=EC=82=B0]?= =?UTF-8?q?=20completed=20=EC=83=81=ED=83=9C=20=EB=9D=BC=EB=B2=A8=EC=9D=84?= =?UTF-8?q?=20'=EC=83=9D=EC=82=B0=EC=99=84=EB=A3=8C'=EB=A1=9C=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 목록/상세 모두 completed → '생산완료' (produced와 동일 스타일) --- src/components/stocks/StockProductionDetail.tsx | 2 +- src/components/stocks/StockProductionList.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/stocks/StockProductionDetail.tsx b/src/components/stocks/StockProductionDetail.tsx index e5ab17c5..fc5d67ab 100644 --- a/src/components/stocks/StockProductionDetail.tsx +++ b/src/components/stocks/StockProductionDetail.tsx @@ -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' }; diff --git a/src/components/stocks/StockProductionList.tsx b/src/components/stocks/StockProductionList.tsx index 291a4602..f9913b50 100644 --- a/src/components/stocks/StockProductionList.tsx +++ b/src/components/stocks/StockProductionList.tsx @@ -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: '전체', },