Browse Source

비행계획서 버그 수정 (최종본)

pull/2/head
이학준 2 years ago
parent
commit
26e5c69511
  1. 7
      src/containers/basis/flight/plan/FlightPlanDetailContainer.js

7
src/containers/basis/flight/plan/FlightPlanDetailContainer.js

@ -68,8 +68,7 @@ const FlightPlanDetailContainer = () => {
console.log(pilotList); console.log(pilotList);
if(p.cstmrSno === 0) { if(p.cstmrSno === 0) {
pilotList[i] = pilot pilotList[i] = pilot
} else { } else if(i == 0){
return pilotList.push(pilot); return pilotList.push(pilot);
} }
}); });
@ -108,6 +107,7 @@ const FlightPlanDetailContainer = () => {
return false; return false;
} }
} }
console.log(p);
}); });
if(checking){ if(checking){
@ -115,7 +115,7 @@ const FlightPlanDetailContainer = () => {
console.log('>>>>>>>>>>', arcrftList); console.log('>>>>>>>>>>', arcrftList);
if(p.arcrftSno === 0){ if(p.arcrftSno === 0){
arcrftList[i] = arcrft arcrftList[i] = arcrft
} else { } else if(i == 0){
return arcrftList.push(arcrft); return arcrftList.push(arcrft);
} }
}); });
@ -342,7 +342,6 @@ const FlightPlanDetailContainer = () => {
} }
} }
else { else {
debugger
return { return {
...prevState, ...prevState,
[arrName]: id [arrName]: id

Loading…
Cancel
Save