diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx
index e2c6c088..aa11943e 100644
--- a/src/components/estimate/Estimate.jsx
+++ b/src/components/estimate/Estimate.jsx
@@ -717,7 +717,7 @@ export default function Estimate({}) {
/* 케이블 select 변경시 */
const onChangeDisplayCableItem = (value, itemList) => {
itemList.map((item, index) => {
- if (item.dispCableFlg === '1') {
+ if (item.dispCableFlg === '1' && item.itemTpCd !== 'M12') {
if (value !== '') {
onChangeDisplayItem(value, item.dispOrder, index, true)
}
@@ -1146,7 +1146,7 @@ export default function Estimate({}) {
dispCableFlgCnt++
}
- if (item.dispCableFlg === '1') {
+ if (item.dispCableFlg === '1' && item.itemTpCd !== 'M12') {
setCableItem(item.itemId)
}
}
@@ -1968,13 +1968,13 @@ export default function Estimate({}) {
getOptionValue={(x) => x.clRefChr1}
components={{
SingleValue: ({ children, ...props }) => {
- return {props.data.clRefChr3}
+ return {(item.itemTpCd === 'M12')? item.itemName : props.data.clRefChr3}
},
}}
isClearable={false}
isDisabled={true}
value={cableItemList.filter(function (option) {
- return option.clRefChr1 === item.itemId
+ return (item.itemTpCd === 'M12')? item.itemId : option.clRefChr1 === item.itemId
})}
/>
)}
diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js
index 2e0bbe1a..34ac80fb 100644
--- a/src/hooks/floorPlan/estimate/useEstimateController.js
+++ b/src/hooks/floorPlan/estimate/useEstimateController.js
@@ -130,6 +130,7 @@ export const useEstimateController = (planNo, flag) => {
addFlg: true,
paDispOrder: null,
dispCableFlg: '0',
+ itemTpCd:'',
},
],
})