수동 회로 할당 버그 수정
This commit is contained in:
parent
27f62ea355
commit
4c8ac9fbe4
@ -210,8 +210,10 @@ export default function PassivityCircuitAllocation(props) {
|
|||||||
result[firstPart].count += 1
|
result[firstPart].count += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log('🚀 ~ handleCircuitNumberFix ~ result:', result)
|
||||||
const usedPcses = pcsList.filter((model) => model.isUsed)
|
const usedPcses = pcsList.filter((model) => model.isUsed)
|
||||||
const pcsItemList = usedPcses.map((model, index) => {
|
const pcsItemList = usedPcses.map((model, index) => {
|
||||||
|
if (result[(index + 1).toString()]) {
|
||||||
return {
|
return {
|
||||||
pcsMkrCd: model.pcsMkrCd,
|
pcsMkrCd: model.pcsMkrCd,
|
||||||
pcsSerCd: model.pcsSerCd,
|
pcsSerCd: model.pcsSerCd,
|
||||||
@ -228,6 +230,7 @@ export default function PassivityCircuitAllocation(props) {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user