From fc8e85b76c1ea809c3ef166c8b6c6fa557a0f3da Mon Sep 17 00:00:00 2001 From: ysCha Date: Tue, 29 Apr 2025 15:02:19 +0900 Subject: [PATCH] =?UTF-8?q?886=20-=20=EA=B2=AC=EC=A0=81=EC=84=9C=20?= =?UTF-8?q?=EC=A0=95=EA=B0=80=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20:?= =?UTF-8?q?=200=20=3D>=20"open"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/estimate/Estimate.jsx | 1 + src/hooks/floorPlan/estimate/useEstimateController.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index cf38bd7b..8ce54402 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -564,6 +564,7 @@ export default function Estimate({}) { updateList.push({ ...item, openFlg: data.data2[i].unitPrice === '0.0' ? '1' : '0', + unitOpenFlg: (showPriceCd === 'QSP_PRICE' && item.openFlg === '1') ? '1' : '0', salePrice: data.data2[i].unitPrice === null ? '0' : data.data2[i].unitPrice, saleTotPrice: (item.amount * data.data2[i].unitPrice).toString(), }) diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index a0765766..a4c83fe7 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -310,6 +310,7 @@ export const useEstimateController = (planNo, flag) => { //봄 컴포넌트 제품은 0으로 item.openFlg = '0' + item.unitOpenFlg = '0' } } })