[as fr] 병렬결재 2차 검토완료 시 문서상태 SL 역전 fr 해결

This commit is contained in:
2026-10-23 16:58:56 +09:00
parent 4e9bca25ef
commit 957fe4637e
2 changed files with 29 additions and 6 deletions
@@ -633,11 +633,13 @@ function FloatingActionButtons({
}
async function handleRvwStrgClick() {
const targetPrgrsStts =
isSecondApproval || prgrsSttsComCd === "RK" ? "RK" : prgrsSttsComCd === "SL" ? "SL" : "TE";
const payload = buildTechReviewReplyPayload(
data,
checklistFormState,
"KECO",
prgrsSttsComCd === "SL" ? "SL" : prgrsSttsComCd === "RK" ? "RK" : "TE",
targetPrgrsStts,
"SV",
getReviewOpinionFormData(),
opnrNm,
@@ -689,12 +691,15 @@ function FloatingActionButtons({
}
}
const targetPrgrsStts =
isSecondApproval || prgrsSttsComCd === "RK" ? "RK" : prgrsSttsComCd === "SL" ? "SL" : "TE";
const payload = {
...buildTechReviewReplyPayload(
data,
checklistFormState,
"KECO",
prgrsSttsComCd,
targetPrgrsStts,
"SV",
getReviewOpinionFormData(),
opnrNm,
@@ -1041,7 +1046,13 @@ function FloatingActionButtons({
onOpenChange={(open) => setActiveDialog(open ? "elaprApproval" : null)}
elaprDocNo={data.detDto?.fnrsCnsltnDocNo ?? fnrsCnsltnDocNo}
currentUserUuid={userInfo?.userUnqId ?? ""}
elaprCycl={prgrsSttsComCd === "RK" ? 2 : undefined}
elaprCycl={
userPendingPrgrs?.elaprCycl != null
? Number(userPendingPrgrs.elaprCycl)
: isSecondApproval || prgrsSttsComCd === "RK"
? 2
: 1
}
taskSeComCd={normalizedTaskSeComCd || undefined}
onSuccess={() => {
queryClient.invalidateQueries({