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' } } })