Merge branch 'feature/yj-layoutSetup' of https://git.hanasys.jp/qcast3/qcast-front into qcast-pub
This commit is contained in:
commit
14aa4227f4
@ -2057,15 +2057,17 @@ export default function Estimate({}) {
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="al-r">
|
<td className="al-r">
|
||||||
{convertNumberToPriceDecimal(
|
{item?.openFlg === '1'
|
||||||
item?.showSaleTotPrice === '0'
|
? 'OPEN'
|
||||||
? null
|
: convertNumberToPriceDecimal(
|
||||||
: item?.amount === ''
|
item?.showSaleTotPrice === '0'
|
||||||
? null
|
|
||||||
: item?.saleTotPrice === '0'
|
|
||||||
? null
|
? null
|
||||||
: item?.saleTotPrice?.replaceAll(',', ''),
|
: item?.amount === ''
|
||||||
)}
|
? null
|
||||||
|
: item?.saleTotPrice === '0'
|
||||||
|
? null
|
||||||
|
: item?.saleTotPrice?.replaceAll(',', ''),
|
||||||
|
)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
)
|
)
|
||||||
|
|||||||
@ -291,6 +291,8 @@ const Trestle = forwardRef((props, ref) => {
|
|||||||
snowGdPossYn,
|
snowGdPossYn,
|
||||||
cvrChecked,
|
cvrChecked,
|
||||||
snowGdChecked,
|
snowGdChecked,
|
||||||
|
setupCover: cvrChecked,
|
||||||
|
setupSnowCover: snowGdChecked,
|
||||||
},
|
},
|
||||||
trestleDetail: trestleDetail,
|
trestleDetail: trestleDetail,
|
||||||
}
|
}
|
||||||
@ -365,8 +367,8 @@ const Trestle = forwardRef((props, ref) => {
|
|||||||
// ...constructionList.find((construction) => newAddedRoofs[index].construction.constTp === construction.constTp),
|
// ...constructionList.find((construction) => newAddedRoofs[index].construction.constTp === construction.constTp),
|
||||||
...roof.construction,
|
...roof.construction,
|
||||||
roofIndex: roof.index,
|
roofIndex: roof.index,
|
||||||
setupCover: roof.cvrYn === 'Y',
|
setupCover: cvrChecked,
|
||||||
setupSnowCover: roof.snowGdYn === 'Y',
|
setupSnowCover: snowGdChecked,
|
||||||
selectedIndex: roof.index,
|
selectedIndex: roof.index,
|
||||||
},
|
},
|
||||||
trestleDetail: roof.trestleDetail,
|
trestleDetail: roof.trestleDetail,
|
||||||
|
|||||||
@ -717,6 +717,9 @@ export const useTrestle = () => {
|
|||||||
|
|
||||||
if (result.resultCode === 'E') {
|
if (result.resultCode === 'E') {
|
||||||
swalFire({ text: result.resultMsg, icon: 'error' })
|
swalFire({ text: result.resultMsg, icon: 'error' })
|
||||||
|
clear()
|
||||||
|
setViewCircuitNumberTexts(true)
|
||||||
|
setIsGlobalLoading(false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -77,10 +77,10 @@ export function useEvent() {
|
|||||||
setCanvasZoom(Number((zoom * 100).toFixed(0)))
|
setCanvasZoom(Number((zoom * 100).toFixed(0)))
|
||||||
|
|
||||||
// 마우스 위치 기준으로 확대/축소
|
// 마우스 위치 기준으로 확대/축소
|
||||||
canvas.zoomToPoint({ x: opt.e.offsetX, y: opt.e.offsetY }, zoom)
|
canvas.zoomToPoint(new fabric.Point(opt.e.offsetX, opt.e.offsetY), zoom)
|
||||||
|
|
||||||
canvas.requestRenderAll()
|
|
||||||
canvas.calcOffset()
|
canvas.calcOffset()
|
||||||
|
canvas.setViewportTransform(canvas.viewportTransform)
|
||||||
|
canvas.requestRenderAll()
|
||||||
|
|
||||||
// 이벤트의 기본 동작 방지 (스크롤 방지)
|
// 이벤트의 기본 동작 방지 (스크롤 방지)
|
||||||
opt.e.preventDefault()
|
opt.e.preventDefault()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user