From 90a0a3893152a2a3598ba42dd09d139a88972de6 Mon Sep 17 00:00:00 2001 From: basssy Date: Mon, 9 Dec 2024 09:35:57 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=AC=EC=A0=81=EC=84=9C=20=EC=A0=80?= =?UTF-8?q?=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/floorPlan/estimate/useEstimateController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index 02f82a64..77141fdf 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -231,8 +231,7 @@ export const useEstimateController = (planNo) => { estimateData.pkgTotPrice = '0' } else { if (item.pkgMaterialFlg === '1') { - if (Number(item.salePrice) === 0) { - console.log('item:::', item) + if (isNaN(item.salePrice)) { itemFlg = false return alert(getMessage('estimate.detail.save.requiredSalePrice')) }