|
|
@ -19,10 +19,14 @@ function newRent02020Control(pageName, doctx="[data-doctx='rent02020']") {
|
|
|
|
ctrl.onCurrentChange = (item) => {
|
|
|
|
ctrl.onCurrentChange = (item) => {
|
|
|
|
if (!item) return;
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 화면에 Dataset 셋팅
|
|
|
|
// 화면에 단속 Dataset 셋팅
|
|
|
|
let formFields = new FimsFormFields(ctrl.selector("[name='frmEdit']"));
|
|
|
|
let formFields = new FimsFormFields(ctrl.selector("[name='frmEdit']"));
|
|
|
|
formFields.set(ctrl, item);
|
|
|
|
formFields.set(ctrl, item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 화면에 임대차계약 Dataset 셋팅
|
|
|
|
|
|
|
|
let formFields2 = new FimsFormFields(ctrl.selector("[name='frmEditLsct']"));
|
|
|
|
|
|
|
|
formFields2.set(ctrl, item);
|
|
|
|
|
|
|
|
|
|
|
|
let fileKey = item.data.LSCT_ID;
|
|
|
|
let fileKey = item.data.LSCT_ID;
|
|
|
|
if (fileKey != null) {
|
|
|
|
if (fileKey != null) {
|
|
|
|
pageObject[pageName].fnSearchFileList(fileKey);
|
|
|
|
pageObject[pageName].fnSearchFileList(fileKey);
|
|
|
|