[1436]처마 커버의 처음 체크2

This commit is contained in:
ysCha 2026-02-02 14:24:52 +09:00
parent 79a66390b6
commit 6cdd89eb0c
2 changed files with 3 additions and 3 deletions

View File

@ -413,7 +413,7 @@ const Trestle = forwardRef((props, ref) => {
setCvrYn(constructionList[index].cvrYn)
setSnowGdPossYn(constructionList[index].snowGdPossYn)
setCvrChecked(false)
setCvrChecked(true)
setSnowGdChecked(false)
}
}

View File

@ -61,7 +61,7 @@ export function useModuleTrestle(props) {
const [lengthBase, setLengthBase] = useState(0)
const [hajebichi, setHajebichi] = useState(0)
const [cvrYn, setCvrYn] = useState('N')
const [cvrChecked, setCvrChecked] = useState(false)
const [cvrChecked, setCvrChecked] = useState(true)
const [snowGdPossYn, setSnowGdPossYn] = useState('N')
const [snowGdChecked, setSnowGdChecked] = useState(false)
const [eavesMargin, setEavesMargin] = useState(0)
@ -88,7 +88,7 @@ export function useModuleTrestle(props) {
setKerabaMargin(selectedRoof?.kerabaMargin ?? 0)
setLengthBase(Math.round(selectedRoof?.length ?? 0))
setCvrYn(selectedRoof?.construction?.cvrYn ?? 'N')
setCvrChecked(selectedRoof?.construction?.cvrChecked ?? false)
setCvrChecked(selectedRoof?.construction?.cvrChecked ?? true)
setSnowGdPossYn(selectedRoof?.construction?.snowGdPossYn ?? 'N')
setSnowGdChecked(selectedRoof?.construction?.snowGdChecked ?? false)
setTrestleDetail(selectedRoof?.trestleDetail)