[1118] : [【HANASYS DESIGN】CST053 - DTスリムの強化施工・多雪施工が設置出来ない。]

[작업내용] : 하제비치 수정시 하위 항목 초기화
This commit is contained in:
김민식 2025-06-19 10:14:34 +09:00
parent c464632b1a
commit bddc753e52
2 changed files with 15 additions and 1 deletions

View File

@ -174,6 +174,19 @@ const Trestle = forwardRef((props, ref) => {
})
}
const onChangeHajebichi = (e) => {
setHajebichi(e)
dispatch({
type: 'SET_HAJEBICHI',
roof: {
moduleTpCd: selectedModules.itemTp ?? '',
roofMatlCd: selectedRoof?.roofMatlCd ?? '',
raft: selectedRaftBase?.clCode,
hajebichi: e,
},
})
}
const onChangeTrestleMaker = (e) => {
setSelectedTrestle(e)
dispatch({
@ -578,7 +591,7 @@ const Trestle = forwardRef((props, ref) => {
type="text"
className="input-origin block"
disabled={selectedRoof.roofPchAuth === 'R'}
onChange={(e) => setHajebichi(e.target.value)}
onChange={(e) => onChangeHajebichi(e.target.value)}
value={hajebichi}
/>
</div>

View File

@ -12,6 +12,7 @@ const trestleReducer = (state, action) => {
switch (action.type) {
case 'SET_LENGTH':
case 'SET_RAFT_BASE':
case 'SET_HAJEBICHI':
case 'SET_TRESTLE_MAKER':
case 'SET_CONST_MTHD':
case 'SET_ROOF_BASE':