diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index b0434a4..96b8e2a 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -646,35 +646,27 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => { /> - {index !== 0 ? + {data.groupNm? + ( - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - + + handleDeleteArray({ type: 'pilot', index }) + } + outline + > + + 삭제 + - : - - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - - - } + ) + : + ( + <> + ) + } ) } @@ -787,35 +779,47 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { /> - {index !== 0 ? - - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - - + {/* {index !== 0 ? + ( + + + handleDeleteArray({ type: 'pilot', index }) + } + outline + > + + 삭제 + + + ) : + <> + } */} + {data.groupNm? + ( - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - + + handleDeleteArray({ type: 'arcrft', index }) + } + outline + > + + 삭제 + - } + ) + : + ( + <> + ) + } + ) } diff --git a/src/modules/basis/flight/models/basisFlightModel.ts b/src/modules/basis/flight/models/basisFlightModel.ts index 70b7b38..4d8809f 100644 --- a/src/modules/basis/flight/models/basisFlightModel.ts +++ b/src/modules/basis/flight/models/basisFlightModel.ts @@ -191,7 +191,7 @@ export const initFlight = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '', @@ -240,7 +240,7 @@ export const initFlight = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '', @@ -298,7 +298,7 @@ export const initFlightBas = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '', @@ -323,7 +323,7 @@ export const initFlightBas = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '', @@ -389,7 +389,7 @@ export const initFlightBas = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '', @@ -438,7 +438,7 @@ export const initFlightBas = { memberName: '', email: '', hpno: '', - clncd: '+81', + clncd: '+82', addr: '', addrDtlCn: '', zip: '',