This commit is contained in:
hyojun.choi 2025-02-07 11:14:37 +09:00
commit 102a78fc4c

View File

@ -347,8 +347,6 @@ export default function StepUp(props) {
// console.log('🚀 ~ handleRowClick ~ tempStepUpListData:', tempStepUpListData) // console.log('🚀 ~ handleRowClick ~ tempStepUpListData:', tempStepUpListData)
// console.log('🚀 ~ handleRowClick ~ selectedData:', selectedData) // console.log('🚀 ~ handleRowClick ~ selectedData:', selectedData)
console.log('mainIdx, subIdx', mainIdx, subIdx)
// PCS 2 PCS // PCS 2 PCS
if (stepUpListData[0].pcsItemList.length > 1 && mainIdx === 0) { if (stepUpListData[0].pcsItemList.length > 1 && mainIdx === 0) {
// //
@ -372,6 +370,8 @@ export default function StepUp(props) {
}), }),
} }
// PCS 1 2 3 PCS serQty 0 API
if (params.pcsItemList.length !== 1 && (params.pcsItemList[1]?.applySerQty !== 0 || params.pcsItemList[2]?.applySerQty) !== 0) {
// PCS // PCS
//const res = await getPcsVoltageStepUpList(params) //const res = await getPcsVoltageStepUpList(params)
//getPcsManualConfChk(params).then((res) => { //getPcsManualConfChk(params).then((res) => {
@ -390,6 +390,7 @@ export default function StepUp(props) {
} }
}) })
} }
}
selectedData.roofSurfaceList.forEach((roofSurface) => { selectedData.roofSurfaceList.forEach((roofSurface) => {
const targetSurface = canvas.getObjects().filter((obj) => obj.id === roofSurface.roofSurfaceId)[0] const targetSurface = canvas.getObjects().filter((obj) => obj.id === roofSurface.roofSurfaceId)[0]