견적서 상세

This commit is contained in:
basssy 2024-11-28 09:33:40 +09:00
parent 9c1caae229
commit 10b9a2d42f

View File

@ -648,7 +648,7 @@ export default function Estimate({ params }) {
estimateContextState.itemList.sort((a, b) => {
return a.dispOrder - b.dispOrder
})
// console.log('YJOD ::::::::::', estimateContextState.itemList)
console.log('YJOD 토탈만들어주기::::::::::', estimateContextState.itemList)
let pushData = []
let uniquSet = new Set()
@ -733,7 +733,7 @@ export default function Estimate({ params }) {
})
} else {
//YJSS
// console.log('YJSS ::::::::::', estimateContextState.itemList)
console.log('YJSS 토탈만들어주기::::::::::', estimateContextState.itemList)
estimateContextState.itemList.sort((a, b) => {
return a.dispOrder - b.dispOrder
})
@ -1459,8 +1459,7 @@ export default function Estimate({ params }) {
<input
type="text"
className="input-light al-r"
// value={convertNumberToPriceDecimal(item?.showSalePrice === '0' ? null : item?.salePrice?.replaceAll(',', ''))}
value={convertNumberToPriceDecimal(item?.salePrice?.replaceAll(',', ''))}
value={convertNumberToPriceDecimal(item?.showSalePrice === '0' ? null : item?.salePrice?.replaceAll(',', ''))}
disabled={
estimateContextState?.estimateType === 'YJSS'
? item?.paDispOrder