견적서 봄 수정

This commit is contained in:
basssy 2024-12-07 07:27:16 +09:00
parent 655b8f29cd
commit ba9e45fcd6
2 changed files with 5 additions and 3 deletions

View File

@ -840,7 +840,6 @@ export default function Estimate({ params }) {
}
}
})
// totals.pkgTotPrice = estimateContextState.pkgAspNumber(estimateContextState.pkgAsp.replaceAll(',', '')) * totals.totVolKw * 1000
let pkgAsp = estimateContextState.pkgAsp ? Number(estimateContextState.pkgAsp.replaceAll(',', '')) : 0
totals.pkgTotPrice = pkgAsp * totals.totVolKw * 1000
@ -876,8 +875,11 @@ export default function Estimate({ params }) {
item.showSalePrice = '0'
item.showSaleTotPrice = '0'
}
if (estimateContextState.estimateType === 'YJSS' && item.paDispOrder) {
item.showSalePrice = '0'
item.showSaleTotPrice = '0'
}
})
estimateContextState.itemList.forEach((item) => {
if (estimateContextState.estimateType === 'YJOD' && item.openFlg === '1') {
item.showSalePrice = '0'

View File

@ -6,7 +6,7 @@ export default function ProductItem({ num, name, children }) {
//
const pageMove = (num) => {
if (num === 1) {
router.push('/management/stuff')
router.push('/management/stuff', { scroll: false })
} else if (num === 2) {
router.push('/community/notice')
} else {