From c75d3259c73e7649cd7bf286c452a8a0fb09bc65 Mon Sep 17 00:00:00 2001 From: basssy Date: Thu, 13 Mar 2025 09:46:51 +0900 Subject: [PATCH] =?UTF-8?q?#884=20=EA=B2=AC=EC=A0=81=EC=84=9C=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=EC=99=84=EC=84=B1=20=EC=95=84=EC=9D=B4=ED=85=9C=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/estimate/Estimate.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index c9a38727..4e331009 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -1782,11 +1782,15 @@ export default function Estimate({}) { }} menuPlacement={'auto'} getOptionLabel={(x) => x.itemName} - getOptionValue={(x) => x.itemId} + getOptionValue={(x) => x.itemNo} isClearable={false} isDisabled={!!item?.paDispOrder} value={displayItemList.filter(function (option) { - return option.itemId === item.itemId + if (item.itemNo === '') { + return false + } else { + return option.itemId === item.itemId + } })} />