From 32108583e9749aaddbb07b73b3bb34a8d39746dc Mon Sep 17 00:00:00 2001 From: basssy Date: Sat, 7 Dec 2024 07:34:18 +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 --- .../floorPlan/estimate/useEstimateController.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index c58fddb4..02f82a64 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -230,13 +230,13 @@ export const useEstimateController = (planNo) => { estimateData.pkgAsp = '0' estimateData.pkgTotPrice = '0' } else { - console.log('item:::', item) - // if (item.pkgMaterialFlg === '1') { - // if (Number(item.salePrice) === 0) { - // itemFlg = false - // return alert(getMessage('estimate.detail.save.requiredSalePrice')) - // } - // } + if (item.pkgMaterialFlg === '1') { + if (Number(item.salePrice) === 0) { + console.log('item:::', item) + itemFlg = false + return alert(getMessage('estimate.detail.save.requiredSalePrice')) + } + } } } }