|
|
|
@ -152,8 +152,10 @@
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
var infoPrefixFields = new FormFields("#infoPrefix-form");
|
|
|
|
|
<c:if test="${!empty userInfo}">infoPrefixControl.setData([${userInfo}]);</c:if>
|
|
|
|
|
|
|
|
|
|
infoPrefixControl.setInfo = obj => {
|
|
|
|
|
obj = obj || infoPrefixControl.dataset.getCurrent("item");
|
|
|
|
|
infoPrefixFields.set(infoPrefixControl, obj);
|
|
|
|
|
let create = isEmpty(obj.data.USER_ACNT);
|
|
|
|
|
$("input[name='account']").prop("readonly", !create);
|
|
|
|
@ -177,6 +179,7 @@ infoPrefixControl.onModify = (changed) => {
|
|
|
|
|
if (["USER_NM", "EML_ADRS", "MBL_TELNO"].filter(e => changed.includes(e)).length < 1)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (window.renderinfoPrefixList)
|
|
|
|
|
renderinfoPrefixList();
|
|
|
|
|
infoPrefixControl.dataset.setState();
|
|
|
|
|
}
|
|
|
|
|