From 7dccaf7bab54bed32e264d53b9c608bbaafb51d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Thu, 19 Mar 2026 21:06:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[quotes]=20=EA=B2=AC=EC=A0=81=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20UI=20=EA=B0=9C=EC=84=A0=20=E2=80=94=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83/=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EC=A0=95=EB=A6=AC,=20=EC=9E=85=EB=A0=A5=20?= =?UTF-8?q?=EC=98=81=EC=97=AD=20=EB=86=92=EC=9D=B4=20=EB=A7=9E=EC=B6=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/quotes/LocationDetailPanel.tsx | 54 ++++++++-------- src/components/quotes/LocationListPanel.tsx | 63 ++++++++++--------- src/components/quotes/QuoteFooterBar.tsx | 57 ++++++++++------- src/components/quotes/QuoteRegistration.tsx | 6 +- src/components/quotes/QuoteSummaryPanel.tsx | 48 ++++++++------ src/components/quotes/quoteConfig.ts | 13 +--- 6 files changed, 129 insertions(+), 112 deletions(-) diff --git a/src/components/quotes/LocationDetailPanel.tsx b/src/components/quotes/LocationDetailPanel.tsx index 14bdb580..4744931e 100644 --- a/src/components/quotes/LocationDetailPanel.tsx +++ b/src/components/quotes/LocationDetailPanel.tsx @@ -304,9 +304,9 @@ export function LocationDetailPanel({ return (
{/* ②-1 개소 정보 영역 */} -
- {/* 1행: 층, 부호, 가로, 세로, 제품코드 */} -
+
+ {/* 입력 영역 (왼쪽 입력 폼과 높이 맞춤) */} +
@@ -315,7 +315,7 @@ export function LocationDetailPanel({ value={location.floor} onChange={(e) => handleFieldChange("floor", e.target.value)} disabled={disabled} - className="h-8 text-sm" + className="h-8 text-sm border border-gray-300" /> {FLOOR_OPTIONS.map((f) => ( @@ -330,7 +330,7 @@ export function LocationDetailPanel({ value={location.code} onChange={(e) => handleFieldChange("code", e.target.value)} disabled={disabled} - className="h-8 text-sm" + className="h-8 text-sm border border-gray-300" /> {locationCodes.map((code) => ( @@ -344,7 +344,7 @@ export function LocationDetailPanel({ value={location.openWidth} onChange={(value) => handleFieldChange("openWidth", value ?? 0)} disabled={disabled} - className="h-8 text-sm" + className="h-8 text-sm border border-gray-300" />
@@ -353,7 +353,7 @@ export function LocationDetailPanel({ value={location.openHeight} onChange={(value) => handleFieldChange("openHeight", value ?? 0)} disabled={disabled} - className="h-8 text-sm" + className="h-8 text-sm border border-gray-300" />
@@ -372,7 +372,7 @@ export function LocationDetailPanel({ }} disabled={disabled} > - + @@ -398,7 +398,7 @@ export function LocationDetailPanel({ onValueChange={(value) => handleFieldChange("guideRailType", value)} disabled > - + @@ -419,7 +419,7 @@ export function LocationDetailPanel({ onValueChange={(value) => handleFieldChange("motorPower", value)} disabled={disabled} > - + @@ -440,7 +440,7 @@ export function LocationDetailPanel({ onValueChange={(value) => handleFieldChange("controller", value)} disabled={disabled} > - + @@ -454,27 +454,28 @@ export function LocationDetailPanel({
- {/* 3행: 제작사이즈, 산출중량, 산출면적, 수량, 산출하기 */} -
+
+ {/* 결과행: 제작사이즈, 산출중량, 산출면적, 수량, 산출하기 */} +
- 제작사이즈 -

+ 제작사이즈 +

{String(location.bomResult?.variables?.W1 ?? location.manufactureWidth ?? "-")} X {String(location.bomResult?.variables?.H1 ?? location.manufactureHeight ?? "-")}

- 산출중량 -

+ 산출중량 +

{(location.bomResult?.variables?.K ?? location.bomResult?.variables?.WEIGHT) ? `${Number(location.bomResult?.variables?.K ?? location.bomResult?.variables?.WEIGHT).toFixed(2)} kg` : "-"}

- 산출면적 -

+ 산출면적 +

{(location.bomResult?.variables?.M ?? location.bomResult?.variables?.AREA) ? `${Number(location.bomResult?.variables?.M ?? location.bomResult?.variables?.AREA).toFixed(2)} m²` : "-"} @@ -493,7 +494,7 @@ export function LocationDetailPanel({ totalPrice: unitPrice * newQty, }); }} - className="h-8 text-sm font-semibold" + className="h-8 text-sm font-semibold border border-gray-300" min={1} disabled={disabled} /> @@ -502,7 +503,7 @@ export function LocationDetailPanel({

-
{/* ②-2 품목 상세 영역 */}
@@ -531,7 +531,7 @@ export function LocationDetailPanel({ {tab.label} @@ -546,10 +546,10 @@ export function LocationDetailPanel({ return ( -
+
- + 품목명 규격 {isBendingTab && ( @@ -738,11 +738,10 @@ export function LocationDetailPanel({
{/* 품목 추가 + 저장 버튼 */} -
+
+
+ +
)} {/* 발주 개소 목록 헤더 */} -
+
-

- 📋 발주 개소 목록 ({locations.length}) +

+ 발주 개소 목록 ({locations.length})