dev #92
@ -236,7 +236,7 @@ const Trestle = forwardRef((props, ref) => {
|
|||||||
illuminationTp: managementState?.surfaceTypeValue ?? '',
|
illuminationTp: managementState?.surfaceTypeValue ?? '',
|
||||||
instHt: managementState?.installHeight ?? '',
|
instHt: managementState?.installHeight ?? '',
|
||||||
stdWindSpeed: managementState?.standardWindSpeedId ?? '',
|
stdWindSpeed: managementState?.standardWindSpeedId ?? '',
|
||||||
stdSnowLd: +managementState?.verticalSnowCover ?? '',
|
stdSnowLd: managementState?.verticalSnowCover ?? '',
|
||||||
inclCd: selectedRoof?.pitch ?? 0,
|
inclCd: selectedRoof?.pitch ?? 0,
|
||||||
roofPitch: Math.round(hajebichi ?? 0),
|
roofPitch: Math.round(hajebichi ?? 0),
|
||||||
constTp: constructionList[index].constTp,
|
constTp: constructionList[index].constTp,
|
||||||
@ -304,6 +304,7 @@ const Trestle = forwardRef((props, ref) => {
|
|||||||
kerabaMargin,
|
kerabaMargin,
|
||||||
roofIndex: roof.index,
|
roofIndex: roof.index,
|
||||||
raft: selectedRaftBase?.clCode,
|
raft: selectedRaftBase?.clCode,
|
||||||
|
hajebichi: hajebichi,
|
||||||
trestle: {
|
trestle: {
|
||||||
length: lengthBase,
|
length: lengthBase,
|
||||||
hajebichi: hajebichi,
|
hajebichi: hajebichi,
|
||||||
|
|||||||
@ -209,7 +209,7 @@ export function useModuleTrestle(props) {
|
|||||||
stdSnowLd: trestleState.stdSnowLd ?? '',
|
stdSnowLd: trestleState.stdSnowLd ?? '',
|
||||||
inclCd: trestleState.inclCd ?? '',
|
inclCd: trestleState.inclCd ?? '',
|
||||||
raftBaseCd: trestleState.raft ?? '',
|
raftBaseCd: trestleState.raft ?? '',
|
||||||
roofPitch: Math.round(trestleState.roofPitch) ?? '',
|
roofPitch: trestleState.hajebichi ? trestleState.hajebichi : (trestleState.roofPitch ?? ''),
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res?.data) setConstructionList(res.data)
|
if (res?.data) setConstructionList(res.data)
|
||||||
@ -236,7 +236,7 @@ export function useModuleTrestle(props) {
|
|||||||
inclCd: trestleState.inclCd ?? '',
|
inclCd: trestleState.inclCd ?? '',
|
||||||
constTp: trestleState.constTp ?? '',
|
constTp: trestleState.constTp ?? '',
|
||||||
mixMatlNo: trestleState.mixMatlNo ?? '',
|
mixMatlNo: trestleState.mixMatlNo ?? '',
|
||||||
roofPitch: trestleState.roofPitch ?? '',
|
roofPitch: trestleState.hajebichi ? trestleState.hajebichi : (trestleState.roofPitch ?? ''),
|
||||||
// workingWidth: trestleState.length ?? '',
|
// workingWidth: trestleState.length ?? '',
|
||||||
workingWidth: lengthBase ?? '',
|
workingWidth: lengthBase ?? '',
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user