서까래 변경 안되는 현상 수정
This commit is contained in:
parent
42e6cb38e0
commit
6414a1116c
@ -137,6 +137,7 @@ export default function RoofAllocationSetting(props) {
|
|||||||
showKey={'clCodeNm'}
|
showKey={'clCodeNm'}
|
||||||
sourceKey={'clCode'}
|
sourceKey={'clCode'}
|
||||||
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
||||||
|
onChange={(e) => handleChangeRaft(e, index)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -253,7 +253,7 @@ export function useRoofAllocationSetting(id) {
|
|||||||
|
|
||||||
// 서까래 변경
|
// 서까래 변경
|
||||||
const handleChangeRaft = (e, index) => {
|
const handleChangeRaft = (e, index) => {
|
||||||
const raftValue = e.value
|
const raftValue = e.clCode
|
||||||
|
|
||||||
const newRoofList = currentRoofList.map((roof, idx) => {
|
const newRoofList = currentRoofList.map((roof, idx) => {
|
||||||
if (idx === index) {
|
if (idx === index) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user