diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 523b597a..b3772b7e 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -190,6 +190,13 @@ button{border:0;background:transparent;} .tab-menu ul li.active{border-bottom:2px solid #7367f0;} .tab-content{display:none;} .tab-content.active{display:block;} + +/*비행계획서 신청 버튼 css*/ +.arcrft-del-btn{float:right;margin-top: -39px;margin-right: 70px; +} +#ownerNm{width : 250px;} +#email{width : 300px} +.pilot-del-btn{float: right;margin-top: -39px;margin-right: 140px;} /*날씨상세정보*/ .layer-weather-box{color:#bbb;} .layer-weather-box .layer-weather-table table{border:1px solid #404656;} diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index cb3f6448..2dd3f9fa 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -520,7 +520,7 @@ const AreaForm = ({data, handleChange, index}) => { const PilotForm = ({data, handleChange, index, handleDeleteArray}) => { return (
- + - +
- + - - {data.groupNm? + {data.groupNm? ( - + handleDeleteArray({ type: 'pilot', index }) } @@ -645,6 +643,9 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => { <> ) } + + +
) } @@ -759,6 +760,27 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { readOnly /> + {data.groupNm? + ( + + + handleDeleteArray({ type: 'arcrft', index }) + } + outline + > + + 삭제 + + + ) + : + ( + <> + ) + } {/* {index !== 0 ? @@ -780,28 +802,7 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { : <> } */} - {data.groupNm? - ( - - - handleDeleteArray({ type: 'arcrft', index }) - } - outline - > - - 삭제 - - - ) - : - ( - <> - ) - } - + ) }