diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index a52f8423..578b16fa 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -356,6 +356,7 @@ export default function Estimate({ params }) { if (item2.itemId === item.itemId) { updateList.push({ ...item, + openFlg: item2.unitPrice === '0.0' ? '1' : '0', salePrice: item2.unitPrice === null ? '0' : item2.unitPrice, saleTotPrice: (item.amount * item2.unitPrice).toString(), }) @@ -535,6 +536,7 @@ export default function Estimate({ params }) { updates.saleTotPrice = (res.salePrice * estimateContextState.itemList[index].amount).toString() // updates.saleTotPrice = '' updates.amount = '' + updates.openFlg = res.openFlg if (estimateContextState.estimateType === 'YJSS') { if (res.pkgMaterialFlg === '0') { @@ -1322,9 +1324,9 @@ export default function Estimate({ params }) {
| diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index e48d6b76..75ed2aba 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -89,6 +89,7 @@ export const useEstimateController = (planNo) => { partAdd: '1', //NEW 체인지 플래그 delFlg: '0', //삭제 플래그 0 삭제하면 1 addFlg: true, + paDispOrder: null, }, ], }) |