[as] feat: 재원협의 전자결재 로직 수정
This commit is contained in:
@@ -8,6 +8,7 @@ export { buildAcntgCostItems, recalculateBizCstTotals } from "./lib/business-cos
|
||||
export { buildCnstpScaleItems, recalculateBzScaleTotals } from "./lib/business-scale-form-utils";
|
||||
export {
|
||||
buildChecklistTabs,
|
||||
isFormChecklistComplete,
|
||||
orderCklstTreeNodes,
|
||||
syncCklstResultListFromTree,
|
||||
} from "./lib/checklist-form-utils";
|
||||
|
||||
@@ -159,3 +159,8 @@ export function syncCklstResultListFromTree(
|
||||
if (isSameCklstResultList(prev, next)) return prev;
|
||||
return next;
|
||||
}
|
||||
|
||||
export function isFormChecklistComplete(cklstResultList: CklstResultListItem[]): boolean {
|
||||
if (cklstResultList.length === 0) return true;
|
||||
return cklstResultList.every((item) => item.selected === "Y" || item.selected === "N");
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ export function validateBizCstSharBalance(
|
||||
);
|
||||
|
||||
if (exstnRemaining !== 0 || chgRqtRemaining !== 0) {
|
||||
return "총사업비를 확인해주세요.";
|
||||
return "재원분담 총사업비를 확인해주세요.";
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user