지도점검 테이블 수정

This commit is contained in:
jyha00
2025-07-22 13:10:22 +09:00
parent 225bae08d3
commit 6102e0af6b
+9 -4
View File
@@ -142,7 +142,12 @@ export const chRowspanTable = (
) : key === "order" ? (
++order
) : (
value
// value
(["anlOperCst", "dtfcltCpct", "prcsCpct"].includes(head.id)) ? (
formatCommaNumber(value)
) : (
<>{value}</>
)
)}
</TableCell>
);
@@ -173,9 +178,9 @@ export const chRowspanTable = (
}}
/>
) : (
(head.id === "totalSplyUswtrUtztnQnt" || head.id === "totalRuseFcltUtztnQnt" || head.id === "splyUswtrUtztnQnt" || head.id === "ruseFcltUtztnQnt") ? (
<span className="underline text-blue-600 cursor-pointer">
{value}
(["totalSplyUswtrUtztnQnt", "totalRuseFcltUtztnQnt", "splyUswtrUtztnQnt", "ruseFcltUtztnQnt", "levyAmt"].includes(head.id)) ? (
<span className={["totalSplyUswtrUtztnQnt", "totalRuseFcltUtztnQnt", "splyUswtrUtztnQnt", "ruseFcltUtztnQnt"].includes(head.id) ? "underline text-blue-600 cursor-pointer" : ""}>
{formatCommaNumber(value)}
</span>
) : (
<>{value}</>