From 881f4668dab7cd82403afdea9cdf6749140fc2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Fri, 6 Feb 2026 09:41:27 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20=EA=B2=80=EC=82=AC=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=20=EB=AA=A8=EB=8B=AC=20UI/UX=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ImportInspectionInputModal 수입검사 입력 모달 개선 - InspectionInputModal 작업자화면 검사입력 개선 - ProductInspectionInputModal 제품검사 입력 개선 - WipProductionModal 수정 Co-Authored-By: Claude Opus 4.5 --- .../ImportInspectionInputModal.tsx | 62 ++++----- .../WorkOrders/WipProductionModal.tsx | 4 +- .../WorkerScreen/InspectionInputModal.tsx | 126 +++++++++--------- .../ProductInspectionInputModal.tsx | 40 +++--- 4 files changed, 116 insertions(+), 116 deletions(-) diff --git a/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx b/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx index 1bce8f10..79eb2ef8 100644 --- a/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx +++ b/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx @@ -68,8 +68,8 @@ function OkNgToggle({ className={cn( 'px-6 py-2 rounded-lg text-sm font-medium transition-colors', value === 'ok' - ? 'bg-gray-900 text-white' - : 'bg-gray-700 text-white hover:bg-gray-600' + ? 'bg-gray-700 text-white' + : 'bg-gray-200 text-gray-700 hover:bg-gray-300' )} > OK @@ -80,8 +80,8 @@ function OkNgToggle({ className={cn( 'px-6 py-2 rounded-lg text-sm font-medium transition-colors', value === 'ng' - ? 'bg-gray-900 text-white' - : 'bg-gray-700 text-white hover:bg-gray-600' + ? 'bg-gray-700 text-white' + : 'bg-gray-200 text-gray-700 hover:bg-gray-300' )} > NG @@ -107,7 +107,7 @@ function JudgmentToggle({ 'px-4 py-2 rounded-lg text-sm font-medium transition-colors', value === 'pass' ? 'bg-orange-500 text-white' - : 'bg-gray-700 text-white hover:bg-gray-600' + : 'bg-gray-200 text-gray-700 hover:bg-gray-300' )} > 적합 @@ -118,8 +118,8 @@ function JudgmentToggle({ className={cn( 'px-4 py-2 rounded-lg text-sm font-medium transition-colors', value === 'fail' - ? 'bg-gray-900 text-white' - : 'bg-gray-700 text-white hover:bg-gray-600' + ? 'bg-gray-700 text-white' + : 'bg-gray-200 text-gray-700 hover:bg-gray-300' )} > 부적합 @@ -192,9 +192,9 @@ export function ImportInspectionInputModal({ return ( - + - + 수입검사 @@ -202,21 +202,21 @@ export function ImportInspectionInputModal({
{/* 제품명 */}
- +
{/* 규격 */}
- +
@@ -231,7 +231,7 @@ export function ImportInspectionInputModal({ 'px-6 py-2 rounded-lg text-sm font-medium transition-colors', formData.sampleTab === tab ? 'bg-orange-500 text-white' - : 'bg-gray-700 text-white hover:bg-gray-600' + : 'bg-gray-200 text-gray-700 hover:bg-gray-300' )} > {tab} @@ -241,7 +241,7 @@ export function ImportInspectionInputModal({ {/* 겉모양: OK/NG */}
- + setFormData((prev) => ({ ...prev, appearanceStatus: v }))} @@ -251,43 +251,43 @@ export function ImportInspectionInputModal({ {/* 두께 / 너비 */}
- + handleNumberChange('thickness', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
- + handleNumberChange('width', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
{/* 길이 */}
- + handleNumberChange('length', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
{/* 판정: 적합/부적합 */}
- + setFormData((prev) => ({ ...prev, judgment: v }))} @@ -297,49 +297,49 @@ export function ImportInspectionInputModal({ {/* 인장강도 / 연신율 */}
- + handleNumberChange('tensileStrength', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
- + handleNumberChange('elongation', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
{/* 아연의 최소 부착량 */}
- + handleNumberChange('zincCoating', e.target.value)} - className="bg-gray-800 border-gray-700 text-white" + className="" />
{/* 내용 */}
- +