견적서 봄 컴포넌트
This commit is contained in:
parent
90a0a38931
commit
610aa3433f
@ -885,6 +885,10 @@ export default function Estimate({ params }) {
|
||||
item.showSalePrice = '0'
|
||||
item.showSaleTotPrice = '0'
|
||||
}
|
||||
if (estimateContextState.estimateType === 'YJOD' && item.paDispOrder) {
|
||||
item.showSalePrice = '0'
|
||||
item.showSaleTotPrice = '0'
|
||||
}
|
||||
})
|
||||
}
|
||||
}, [itemChangeYn, estimateContextState.itemList])
|
||||
|
||||
@ -1403,15 +1403,21 @@ export default function StuffDetail() {
|
||||
alert(getMessage('stuff.detail.delete.message1'))
|
||||
} else {
|
||||
if (confirm(getMessage('common.message.data.delete'))) {
|
||||
del({ url: `/api/object/${objectNo}?${queryStringFormatter(delParams)}` }).then(() => {
|
||||
setFloorPlanObjectNo({ floorPlanObjectNo: '' })
|
||||
if (session.storeId === 'T01') {
|
||||
stuffSearchParams.code = 'DELETE'
|
||||
} else {
|
||||
resetStuffRecoil()
|
||||
}
|
||||
router.push('/management/stuff', { scroll: false })
|
||||
})
|
||||
// setIsGlobalLoading(true)
|
||||
del({ url: `/api/object/${objectNo}?${queryStringFormatter(delParams)}` })
|
||||
.then(() => {
|
||||
setFloorPlanObjectNo({ floorPlanObjectNo: '' })
|
||||
if (session.storeId === 'T01') {
|
||||
stuffSearchParams.code = 'DELETE'
|
||||
} else {
|
||||
resetStuffRecoil()
|
||||
}
|
||||
// setIsGlobalLoading(false)
|
||||
router.push('/management/stuff', { scroll: false })
|
||||
})
|
||||
.catch(() => {
|
||||
// setIsGlobalLoading(false)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user