From c210ec1b5f6ec6935fe8c2b5bb75f0a0fcae302e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 13 Mar 2026 22:46:18 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[shipment]=20=EC=B6=9C=ED=95=98=20?= =?UTF-8?q?=EC=83=81=ED=83=9C=EB=B3=80=EA=B2=BD=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=EC=97=90=20can=5Fship=20=EA=B2=80=EC=A6=9D=20UI=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - canShip=true일 때만 상태 변경 버튼 활성화 - canShip=false일 때 '출하 불가 (품질 검수 필요)' 비활성 버튼 표시 --- .../outbound/ShipmentManagement/ShipmentDetail.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/outbound/ShipmentManagement/ShipmentDetail.tsx b/src/components/outbound/ShipmentManagement/ShipmentDetail.tsx index a412657f..b4a61b11 100644 --- a/src/components/outbound/ShipmentManagement/ShipmentDetail.tsx +++ b/src/components/outbound/ShipmentManagement/ShipmentDetail.tsx @@ -301,7 +301,7 @@ export function ShipmentDetail({ id }: ShipmentDetailProps) { 삭제 )} - {STATUS_TRANSITIONS[detail.status] && ( + {STATUS_TRANSITIONS[detail.status] && detail.canShip && ( )} + {STATUS_TRANSITIONS[detail.status] && !detail.canShip && ( + + )} ); }, [detail, canDelete, handleOpenStatusDialog]);