From 33f763b48f6731679857dc845d21c447eeef538b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Thu, 26 Feb 2026 22:43:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[=EA=B2=80=EC=82=AC=EB=AC=B8=EC=84=9C]?= =?UTF-8?q?=20bending=20=EA=B0=9C=EC=86=8C=EB=B3=84=20=EC=A0=80=EC=9E=A5?= =?UTF-8?q?=20fallback=20=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - isBending이지만 bendingProducts가 없는 경우에도 기존 개소별 저장 동작하도록 조건 변경 - Before: if (!isBending) → 절곡이면 무조건 skip - After: if (!isBending || bendingProducts.length === 0) → 구성품 없으면 개소별 fallback --- .../WorkOrders/documents/TemplateInspectionContent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/production/WorkOrders/documents/TemplateInspectionContent.tsx b/src/components/production/WorkOrders/documents/TemplateInspectionContent.tsx index 0aac454a..91455ec7 100644 --- a/src/components/production/WorkOrders/documents/TemplateInspectionContent.tsx +++ b/src/components/production/WorkOrders/documents/TemplateInspectionContent.tsx @@ -740,8 +740,8 @@ export const TemplateInspectionContent = forwardRef { + // 개소(WorkItem)별 데이터: 비-Bending 또는 Bending이지만 구성품이 없는 경우 (AS-IS) + if (!isBending || bendingProducts.length === 0) effectiveWorkItems.forEach((wi, rowIdx) => { for (const col of template.columns) { // 일련번호 컬럼 → 저장 (mng show에서 표시용) if (isSerialColumn(col.label)) {