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})