feature/survey : 조사매물 지붕정보 공통코드 값 추가 #122

Merged
seul merged 3 commits from feature/survey into dev 2025-08-06 09:43:10 +09:00
Showing only changes of commit 8be8831fc4 - Show all commits

View File

@ -401,6 +401,7 @@ const RadioSelected = ({
const [etcChecked, setEtcChecked] = useState<boolean>(Boolean(etcValue))
const selectedId =
/** 누수 흔적 boolean 타입이므로 number 타입으로 변환 - 값이 없을 경우 2(없음) 으로 초기화*/
column === 'leakTrace' ? Number(detailInfoData?.[column as keyof SurveyDetailInfo]) || 2 : detailInfoData?.[column as keyof SurveyDetailInfo]
const isSpecialColumn = column === 'rafterDirection' || column === 'leakTrace' || column === 'insulationPresence'