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