[ST] - flx: input 표준화에 맞춰 소스 수정

This commit is contained in:
2026-10-14 17:05:45 +09:00
parent f7ddb6cae0
commit d444c591ec
3 changed files with 31 additions and 31 deletions
@@ -161,7 +161,7 @@ const StatsInputStatusInp = () => {
}
const hasInvalidStatus = rowData.some((row) =>
["0", "1", "4"].includes(String(row.laeSbmsnSttsCd ?? "")),
["0", "1", "4"].includes(String(row.lclgvSbmsnSttsCd ?? "")),
);
if (hasInvalidStatus) {
@@ -260,7 +260,7 @@ const StatsInputStatusInp = () => {
const allRowsLaeSbmsnApproved = useMemo(
() =>
rowData.length > 0 &&
rowData.every((row) => String(row.laeSbmsnSttsCd ?? "") === "3"),
rowData.every((row) => String(row.lclgvSbmsnSttsCd ?? "") === "3"),
[rowData],
);
@@ -301,11 +301,11 @@ const StatsInputStatusInp = () => {
getGridRef={gridRef}
onDataCellClick={handleExceptionSubmitHistoryCellClick}
cellStyleCallback={({ row, fieldName }) => {
if (fieldName !== "laeSbmsnSttsNm") {
if (fieldName !== "lclgvSbmsnSttsNm") {
return undefined;
}
const statusCd = String(row.laeSbmsnSttsCd ?? "");
const statusCd = String(row.lclgvSbmsnSttsCd ?? "");
if (statusCd === "0" || statusCd === "1") {
return "rg-cell-stats-status-pending";
}