From 13576be1f6a90495a8a6d99bc183bb4b202d2108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Tue, 23 Aug 2022 17:29:32 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B3=84=ED=9A=8D?= =?UTF-8?q?=EC=84=9C=20-=20=EC=82=AD=EC=A0=9C=20=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basis/flight/plan/FlightPlanForm.js | 110 +++++++++--------- 1 file changed, 57 insertions(+), 53 deletions(-) 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 + > + + 삭제 + - } + ) + : + ( + <> + ) + } + ) } From 089d8a2ab3a9ece03a6bd585dfb8483369a839e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Tue, 23 Aug 2022 17:33:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=A7=80=EC=97=AD=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/basis/flight/models/basisFlightModel.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: '',