From 81f7c5aeacfce5ea7c18729aa94212516bbfad63 Mon Sep 17 00:00:00 2001 From: kent Date: Tue, 13 Jan 2026 19:47:39 +0900 Subject: [PATCH] =?UTF-8?q?feat(WEB):=20=EC=A3=BC=EB=AC=B8/=EC=9E=91?= =?UTF-8?q?=EC=97=85=EC=A7=80=EC=8B=9C=20=EA=B3=B5=EC=A0=95=20=EC=97=B0?= =?UTF-8?q?=EB=8F=99=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - process_id 필드 추가 (공정 연동) - 공정별 다중 작업지시 생성 지원 (processIds) - ApiProductionOrderResponse 타입 수정 (work_orders 배열 지원) - process 정보 포함 응답 처리 --- src/components/orders/OrderRegistration.tsx | 17 ++++---- src/components/orders/actions.ts | 43 +++++++++++++++++---- 2 files changed, 42 insertions(+), 18 deletions(-) diff --git a/src/components/orders/OrderRegistration.tsx b/src/components/orders/OrderRegistration.tsx index deea1be9..c02530d9 100644 --- a/src/components/orders/OrderRegistration.tsx +++ b/src/components/orders/OrderRegistration.tsx @@ -416,7 +416,7 @@ export function OrderRegistration({ {form.selectedQuotation.siteName} / - {formatAmount(form.selectedQuotation.amount)}원 + {formatAmount(form.selectedQuotation.amount)} @@ -491,6 +491,7 @@ export function OrderRegistration({ setForm((prev) => ({ ...prev, siteName: e.target.value })); clearFieldError("siteName"); }} + disabled={!!form.selectedQuotation} className={cn(fieldErrors.siteName && "border-red-500")} /> {fieldErrors.siteName && ( @@ -757,8 +758,6 @@ export function OrderRegistration({ 순번 품목코드 품명 - - 부호 규격 수량 단위 @@ -770,7 +769,7 @@ export function OrderRegistration({ {form.items.length === 0 ? ( - + 품목이 없습니다. 견적을 선택하거나 품목을 추가해주세요. @@ -784,8 +783,6 @@ export function OrderRegistration({ {item.itemName} - {item.type || "-"} - {item.symbol || "-"} {item.spec} {item.unit} - {formatAmount(item.unitPrice)}원 + {formatAmount(item.unitPrice)} - {formatAmount(item.amount)}원 + {formatAmount(item.amount)}