From 7c15da2b4c40133e471d3d936d2fe424f89f88ce Mon Sep 17 00:00:00 2001 From: basssy Date: Tue, 18 Mar 2025 10:29:26 +0900 Subject: [PATCH] =?UTF-8?q?YJSS=20=EA=B8=88=EC=95=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/floorPlan/estimate/useEstimateController.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index d509a1e0..5ed1cd8f 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -291,6 +291,12 @@ export const useEstimateController = (planNo, flag) => { setIsGlobalLoading(false) return swalFire({ text: getMessage('estimate.detail.save.requiredSalePrice'), type: 'alert', icon: 'warning' }) } + + if (item.salePrice < 1) { + itemFlg = false + setIsGlobalLoading(false) + return swalFire({ text: getMessage('estimate.detail.save.requiredSalePrice'), type: 'alert', icon: 'warning' }) + } } } }