|
|
@ -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 |
|
|
|