거래로그에서 법인명이 미분류, null 이면 공백표시되도록 처리

This commit is contained in:
daekuk
2025-12-10 14:10:48 +09:00
parent 15a83f3f9b
commit a2ad71a080
@@ -291,6 +291,18 @@
}
function orgNameFormatter(cellvalue, options, rowObject) {
if (cellValue == null) return "";
if (cellValue === "null" || cellValue === "NULL") return "";
if (String(cellValue).trim() === "") return "";
if (cellValue === "미분류") return "";
return cellvalue;
}
$(document).ready(function () {
console.log(roleString);
@@ -362,7 +374,7 @@
{name: 'TRACKASISKEY2CTNT', hidden: true},
{name: 'EAISVCSERNO_TMP', align: 'left', width: '230'},
{name: 'KEYMGTMSGCTNT', align: 'left', width: '280'},
{name: 'KEYMGTMSGCTNT', align: 'left', width: '240'},
{name: 'LOGPRCSSSERNO_TMP', align: 'center', width: '40'},
{name: 'TELGMRECVTRANCD', align: 'left', width: '135', hidden: true},
{name: 'EAISVCNAME', align: 'left', width: '100'},
@@ -370,8 +382,8 @@
{name: 'EAIBZWKDSTCD_TMP', align: 'center', width: '50'},
{name: 'EXTBIZCD', align: 'center', width: '50', hidden: isApiGw},
{name: 'REFKEY', align: 'left', width: '280', hidden: isApiGw},
{name: 'CLIENTNAME', align: 'left', width: '100', hidden: !isApiGw},
{name: 'ORGNAME', align: 'left', width: '100', hidden: !isApiGw},
{name: 'CLIENTNAME', align: 'left', width: '280', hidden: !isApiGw},
{name: 'ORGNAME', align: 'left', width: '100', hidden: !isApiGw, formatter: orgNameFormatter},
{name: 'MSGDPSTYMS_TMP', align: 'center', width: '150', formatter: timeStampFormat2},
{name: 'MSGPRCSSYMS', align: 'center', width: '150', formatter: timeStampFormat2},
{name: 'COMPANYCODE', align: 'center', width: '80', hidden: true},