From abb322d1ffc8b7eb09864430910e016bd003eee5 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 9 May 2024 09:39:17 +0900 Subject: [PATCH] =?UTF-8?q?FimsFormFields.set=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp | 4 ++-- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp | 2 +- src/main/webapp/resources/js/base/base-fims.js | 2 +- 35 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp index 4b3bef4b..4645afff 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp @@ -182,7 +182,7 @@ var infoPrefixFields = new FimsFormFields("#infoPrefix-form"); infoPrefixControl.setInfo = obj => { - infoPrefixFields.set(obj); + infoPrefixFields.set(infoPrefixControl,obj); let create = isEmpty(obj.data.USER_ACNT); $("input[name='account']").prop("readonly", !create); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp index b67b8264..dce86db7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp @@ -288,7 +288,7 @@ $(document).ready(function(){ if(!dataItem){ return; } - $P.formFields.set(dataItem); + $P.formFields.set($P.layoutControl, dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp index 7136ac3e..6196b08d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp @@ -62,7 +62,7 @@ $(document).ready(function(){ * Dataset.on **************************************************************************/ $P.crdnControl.dataset.onCurrentChange = (dataItem) => { - $P.formFields.set(dataItem); + $P.formFields.set($P.crdnControl,dataItem); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp index 8c9b5a00..0f2f1c0d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp @@ -324,7 +324,7 @@ if (!DI) return; // Dataset 셋팅 - $P.formFields.set(DI); + $P.formFields.set($P.control,DI); // 업무별 입력 항목 $P.renderTask(DI.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp index 553cee56..c8baac6d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp @@ -97,7 +97,7 @@ if (!DI) return; // Dataset 셋팅 - $P.formFields.set(DI); + $P.formFields.set($P.control,DI); // 업무구분에 따른 URL 변경 $P.setURL(DI.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp index cae3f3c7..8e97514a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp @@ -110,7 +110,7 @@ $(document).ready(function(){ * pageObject.function **************************************************************************/ $P.setInfo = (item) => { - $P.formFields.set(item); + $P.formFields.set($P.exmptnVhclControl, item); var create = isEmpty(item.EXMPTN_VHCL_ID); $("#vhrno--${pageName}").prop("readonly", !create); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp index 355c3c28..993fd0ae 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp @@ -439,7 +439,7 @@ $(document).ready(function(){ * Dataset.on **************************************************************************/ $P.crdnControl.dataset.onCurrentChange = (dataItem) => { - $P.formFields.set(dataItem); + $P.formFields.set($P.crdnControl,dataItem); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp index e029e670..ac7c6d6e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp @@ -135,7 +135,7 @@ $(document).ready(function() { * Dataset.on **************************************************************************/ $P.cvlcptControl.dataset.onCurrentChange = (dataItem) => { - $P.formFields.set(dataItem); + $P.formFields.set($P.cvlcptControl,dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp index 15a4b495..523427c1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp @@ -104,7 +104,7 @@ $(document).ready(function() { * Dataset.on **************************************************************************/ $P.cvlcptControl.dataset.onCurrentChange = (dataItem) => { - $P.formFields.set(dataItem); + $P.formFields.set($P.cvlcptControl,dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp index c0855efe..09bd387c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp @@ -97,7 +97,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp index 04c8e021..b8ec6841 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp @@ -122,7 +122,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp index f6da1184..b50770c1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp @@ -214,7 +214,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control.item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp index 74db79db..cd89c1bb 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp @@ -157,7 +157,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp index 63589816..9e148615 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp @@ -116,7 +116,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp index f69d3c3f..cd71a0df 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp @@ -123,7 +123,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp index f8a89621..5f44000d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp @@ -105,7 +105,7 @@ $(document).ready(function(){ if(!dataItem){ return; } - $P.formFields.set(dataItem); + $P.formFields.set($P.ntcControl,dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp index fc01e6eb..325e93cc 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp @@ -100,7 +100,7 @@ $(document).ready(function(){ if(!dataItem){ return; } - $P.formFields.set(dataItem); + $P.formFields.set($P.schdlControl,dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp index 8b0a8f49..bcf233c0 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp @@ -155,7 +155,7 @@ $(document).ready(function(){ if(!dataItem){ return; } - $P.formFields.set(dataItem); + $P.formFields.set($P.deptControl,dataItem); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp index 957e6fa5..6e082ef3 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp @@ -159,7 +159,7 @@ ${pageName}Control.onCurrentChange = item => { if (!item) return; - ${pageName}Fields.set(item); + ${pageName}Fields.set(${pageName}Control,item); // 업무구분에 따른 url 변경 ${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/createCrdnPayer.do"); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp index d5db0619..92244ef6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp @@ -187,7 +187,7 @@ if (!item) return; // Dataset 셋팅 - ${pageName}Fields.set(item); + ${pageName}Fields.set(${pageName}Control,item); // 납부 방법 구분 코드(PAY_MTHD_SE_CD) if (typeof item.data.PAY_MTHD_SE_CD == "undefined" || item.data.PAY_MTHD_SE_CD == null || item.data.PAY_MTHD_SE_CD == "") { diff --git a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp index 8412c36d..67d68259 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp @@ -122,7 +122,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp index adf55cfa..aa4e7b17 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp @@ -95,7 +95,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp index 700adf9c..7fb731bf 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp @@ -105,7 +105,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp index 0debabe2..e08e5a9d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp @@ -195,7 +195,7 @@ $(document).ready(function(){ var info = $P.provided.getInfo(key); var formFields = new FimsFormFields("#frmEdit--${pageName}"); - formFields.set(info); + formFields.set(null,info); } //교부청구서 파일 생성 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp index 03fa3e7c..8344ce82 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp @@ -112,7 +112,7 @@ $(document).ready(function(){ var info = $P.provided.getInfo(key); var formFields = new FimsFormFields("#frmEdit--${pageName}"); - formFields.set(info); + formFields.set(null,info); } $P.fnMakeFile = (fileType, paper) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp index 662037ac..b21f695b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp @@ -110,7 +110,7 @@ $(document).ready(function(){ var info = $P.provided.getInfo(key); var formFields = new FimsFormFields("#frmEdit--${pageName}"); - formFields.set(info); + formFields.set(null,info); } $P.fnMakeFile = (fileType, paper) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp index 905595c2..eb691f33 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp @@ -144,7 +144,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.mainControl,item); // 건수 표기 let controlName = "${callControlName}"; diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index 60ef9702..7c9571c3 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -348,7 +348,7 @@ $P.control.onCurrentChange = item => { if (!item) return; - $P.formFields.set(item); + $P.formFields.set($P.control,item); let key = item.data.CRDN_ID; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp index 35f71f10..8951e569 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp @@ -216,7 +216,7 @@ $P.control.onCurrentChange = item => { if (!item) return; - $P.formFields.set(item); + $P.formFields.set($P.control,item); let key = item.data.OPNN_ID; diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp index 36618bc1..75533c92 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp @@ -343,14 +343,14 @@ $P.rductControl.onCurrentChange = (item) => { if (!item) return; - $P.rductFormFields.set(item); + $P.rductFormFields.set($P.rductControl,item); } // 부과제외 선택 자료 변경 이벤트 $P.levyExclControl.onCurrentChange = (item) => { if (!item) return; - $P.exclFormFields.set(item); + $P.exclFormFields.set($P.levyExclControl,item); } // 감경 dialog diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp index 04e19aa7..8b56d5f9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp @@ -316,7 +316,7 @@ $P.control.onCurrentChange = (item) => { if (!item) return; - $P.formFields.set(item); + $P.formFields.set($P.control,item); let key = item.data.LEVY_ID; diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp index f4b65ec5..e0d887f3 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp @@ -278,7 +278,7 @@ $("#tbody--${pageName}").setCurrentRow(key); // datatable에 자료 셋팅 - $P.formFields.set(item); // 화면에 자료 셋팅 + $P.formFields.set($P.control,item); // 화면에 자료 셋팅 }; // 수기 수납 등록 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp index a3ddb234..732a4597 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp @@ -103,7 +103,7 @@ if (!item) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set($P.control,item); // 업무구분에 따른 URL 변경 $P.setURL(item.data.TASK_SE_CD); diff --git a/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp index db601959..9af9f5b8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/user/user-info.jsp @@ -228,7 +228,7 @@ var userFields = new FimsFormFields("#user-form"); var userControl = new UserControl(); userControl.setInfo = obj => { - userFields.set(obj); + userFields.set(userControl,obj); let create = isEmpty(obj.USER_ACNT); if(!create){ diff --git a/src/main/webapp/resources/js/base/base-fims.js b/src/main/webapp/resources/js/base/base-fims.js index 9beaf240..0ad10b11 100644 --- a/src/main/webapp/resources/js/base/base-fims.js +++ b/src/main/webapp/resources/js/base/base-fims.js @@ -451,7 +451,7 @@ class FimsFormFields extends FormFields { * @param {object} formObj document.querySelector('form') * @param {object} jsonData json type data */ - set(obj){ + set(ctrl,obj){ document.querySelectorAll(this.children).forEach(input => {