data-map null 부분 체크 수정.

main
jjh 1 year ago
parent 9a1181d4d6
commit ff68a67a77

@ -718,7 +718,7 @@ class FormFields {
if (["day", "time"].includes(dataFmtType)) if (["day", "time"].includes(dataFmtType))
obj[property] = value.replace(/-|:/gi, ""); obj[property] = value.replace(/-|:/gi, "");
else if (dataMap.endsWith("AMT")) else if (dataMap != null && dataMap.endsWith("AMT"))
obj[property] = value.replace(/,/gi, ""); obj[property] = value.replace(/,/gi, "");
else else
obj[property] = value; obj[property] = value;

Loading…
Cancel
Save