지붕재할당 퍼블 수정
This commit is contained in:
parent
bc1de6e490
commit
4bd65f7207
@ -115,22 +115,25 @@ export default function ContextRoofAllocationSetting(props) {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="block-box">
|
{roof.raftAuth && (
|
||||||
<div className="flex-ment">
|
<div className="block-box">
|
||||||
<span>{getMessage('slope')}</span>
|
<div className="flex-ment">
|
||||||
<div className="input-grid">
|
<span>{getMessage('modal.placement.initial.setting.rafter')}</span>
|
||||||
<input
|
{raftCodes.length > 0 && (
|
||||||
type="text"
|
<div className="grid-select">
|
||||||
className="input-origin block"
|
<QSelectBox
|
||||||
onChange={(e) => {
|
options={raftCodes}
|
||||||
handleChangeInput(e, currentAngleType === 'slope' ? 'pitch' : 'angle', index)
|
value={roof}
|
||||||
}}
|
showKey={'clCodeNm'}
|
||||||
defaultValue={currentAngleType === 'slope' ? roof.pitch : roof.angle}
|
sourceKey={'clCode'}
|
||||||
/>
|
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<span className="absol">{pitchText}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)}
|
||||||
|
|
||||||
{(roof.widAuth || roof.lenAuth) && (
|
{(roof.widAuth || roof.lenAuth) && (
|
||||||
<>
|
<>
|
||||||
{roof.widAuth && (
|
{roof.widAuth && (
|
||||||
@ -155,43 +158,37 @@ export default function ContextRoofAllocationSetting(props) {
|
|||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(roof.raftAuth || roof.roofPchAuth) && (
|
{roof.roofPchAuth && (
|
||||||
<>
|
<div className="block-box">
|
||||||
{roof.raftAuth && (
|
<div className="flex-ment">
|
||||||
<div className="block-box">
|
<span>{getMessage('hajebichi')}</span>
|
||||||
<div className="flex-ment">
|
<div className="input-grid">
|
||||||
<span>{getMessage('modal.placement.initial.setting.rafter')}</span>
|
<input
|
||||||
{raftCodes.length > 0 && (
|
type="text"
|
||||||
<div className="grid-select">
|
className="input-origin block"
|
||||||
<QSelectBox
|
value={parseInt(roof.hajebichi)}
|
||||||
options={raftCodes}
|
readOnly={roof.roofPchAuth === 'R'}
|
||||||
value={roof}
|
/>
|
||||||
showKey={'clCodeNm'}
|
|
||||||
sourceKey={'clCode'}
|
|
||||||
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
</div>
|
||||||
{roof.roofPchAuth && (
|
</div>
|
||||||
<div className="block-box">
|
|
||||||
<div className="flex-ment">
|
|
||||||
<span>{getMessage('hajebichi')}</span>
|
|
||||||
<div className="input-grid">
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
className="input-origin block"
|
|
||||||
value={parseInt(roof.hajebichi)}
|
|
||||||
readOnly={roof.roofPchAuth === 'R'}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
|
<div className="block-box">
|
||||||
|
<div className="flex-ment">
|
||||||
|
<span>{getMessage('slope')}</span>
|
||||||
|
<div className="input-grid">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
className="input-origin block"
|
||||||
|
onChange={(e) => {
|
||||||
|
handleChangeInput(e, currentAngleType === 'slope' ? 'pitch' : 'angle', index)
|
||||||
|
}}
|
||||||
|
defaultValue={currentAngleType === 'slope' ? roof.pitch : roof.angle}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span className="absol">{pitchText}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div className="block-box">
|
<div className="block-box">
|
||||||
<div className="icon-btn-wrap">
|
<div className="icon-btn-wrap">
|
||||||
<button
|
<button
|
||||||
|
|||||||
@ -117,22 +117,27 @@ export default function RoofAllocationSetting(props) {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="block-box">
|
|
||||||
<div className="flex-ment">
|
{roof.raftAuth && (
|
||||||
<span>{getMessage('slope')}</span>
|
<div className="block-box">
|
||||||
<div className="input-grid">
|
<div className="flex-ment">
|
||||||
<input
|
<span>{getMessage('modal.placement.initial.setting.rafter')}</span>
|
||||||
type="text"
|
{raftCodes.length > 0 && (
|
||||||
className="input-origin block"
|
<div className="grid-select">
|
||||||
onChange={(e) => {
|
<QSelectBox
|
||||||
handleChangeInput(e, currentAngleType === 'slope' ? 'pitch' : 'angle', index)
|
options={raftCodes}
|
||||||
}}
|
value={roof}
|
||||||
defaultValue={currentAngleType === 'slope' ? roof.pitch : roof.angle}
|
showKey={'clCodeNm'}
|
||||||
/>
|
sourceKey={'clCode'}
|
||||||
|
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
||||||
|
onChange={(e) => handleChangeRaft(e, index)}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<span className="absol">{pitchText}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)}
|
||||||
|
|
||||||
{(roof.widAuth || roof.lenAuth) && (
|
{(roof.widAuth || roof.lenAuth) && (
|
||||||
<>
|
<>
|
||||||
{roof.widAuth && (
|
{roof.widAuth && (
|
||||||
@ -169,45 +174,38 @@ export default function RoofAllocationSetting(props) {
|
|||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(roof.raftAuth || roof.roofPchAuth) && (
|
{roof.roofPchAuth && (
|
||||||
<>
|
<div className="block-box">
|
||||||
{roof.raftAuth && (
|
<div className="flex-ment">
|
||||||
<div className="block-box">
|
<span>{getMessage('hajebichi')}</span>
|
||||||
<div className="flex-ment">
|
<div className="input-grid">
|
||||||
<span>{getMessage('modal.placement.initial.setting.rafter')}</span>
|
<input
|
||||||
{raftCodes.length > 0 && (
|
type="text"
|
||||||
<div className="grid-select">
|
className="input-origin block"
|
||||||
<QSelectBox
|
onChange={(e) => handleChangeInput(e, 'hajebichi', index)}
|
||||||
options={raftCodes}
|
value={parseInt(roof.hajebichi)}
|
||||||
value={roof}
|
readOnly={roof.roofPchAuth === 'R'}
|
||||||
showKey={'clCodeNm'}
|
/>
|
||||||
sourceKey={'clCode'}
|
|
||||||
targetKey={roof.raft ? 'raft' : 'raftBaseCd'}
|
|
||||||
onChange={(e) => handleChangeRaft(e, index)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
</div>
|
||||||
{roof.roofPchAuth && (
|
</div>
|
||||||
<div className="block-box">
|
|
||||||
<div className="flex-ment">
|
|
||||||
<span>{getMessage('hajebichi')}</span>
|
|
||||||
<div className="input-grid">
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
className="input-origin block"
|
|
||||||
onChange={(e) => handleChangeInput(e, 'hajebichi', index)}
|
|
||||||
value={parseInt(roof.hajebichi)}
|
|
||||||
readOnly={roof.roofPchAuth === 'R'}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
|
<div className="block-box">
|
||||||
|
<div className="flex-ment">
|
||||||
|
<span>{getMessage('slope')}</span>
|
||||||
|
<div className="input-grid">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
className="input-origin block"
|
||||||
|
onChange={(e) => {
|
||||||
|
handleChangeInput(e, currentAngleType === 'slope' ? 'pitch' : 'angle', index)
|
||||||
|
}}
|
||||||
|
defaultValue={currentAngleType === 'slope' ? roof.pitch : roof.angle}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span className="absol">{pitchText}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div className="block-box">
|
<div className="block-box">
|
||||||
<div className="icon-btn-wrap">
|
<div className="icon-btn-wrap">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user