123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRBC00200" position="absolute 0 0 590 544" titletext="예산관리부서 조회" oninit="SPRBC00200_oninit" onload="SPRBC00200_onload">
- <Layouts>
- <Layout>
- <Shape id="line32" class="line_6" position="absolute 0 513 580 519"/>
- <Button id="btn_confirm" taborder="1" text="확인" class="btn4" position="absolute 466 518 522 540" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="2" text="취소" class="btn4" position="absolute 524 518 580 540" onclick="btn_cancel_onclick"/>
- <Div id="group2" taborder="3" position="absolute 0 -4 580 1"/>
- <Static id="caption1" text="예산관리부서코드 리스트" class="tit_2" position="absolute 0 44 183 65"/>
- <Shape id="line1" class="line_10" position="absolute 0 60 580 66"/>
- <Grid id="grd_deptlist" taborder="4" binddataset="ds_main_bugtdept_bugtdeptlist" useinputpanel="false" position="absolute 0 65 580 511" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="grd_deptlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="127"/>
- <Column size="275"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="부서코드"/>
- <Cell col="2" text="부서명"/>
- <Cell col="3" text="종료일자"/>
- <Cell col="4" text="부서코드종료일자"/>
- <Cell col="5" text="선택"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" class="text_center" text="bind:deptcd"/>
- <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:depthngnm"/>
- <Cell col="3" displaytype="date" class="text_center" text="bind:todd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" text="bind:deptcdtodd"/>
- <Cell col="5" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group4" taborder="5" class="div_SA2" position="absolute 0 1 580 41">
- <Layouts>
- <Layout>
- <Edit id="ipt_deptcd" taborder="5" class="input_s_essential" position="absolute 90 8 355 27" anchor="default" autoselect="true" autoskip="true" onkeydown="group4_ipt_deptcd_onkeydown"/>
- <Static id="caption7" text="조 건 :" class="search_name" position="absolute 15 9 101 26" anchor="default"/>
- <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 509 7 565 29" anchor="default" onclick="group4_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 491 4 497 31" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_dept_oncolumnchanged">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bugtdept_bugtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
- <Column id="deptcdtodd" type="STRING" size="256" sumtext="종료일"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_target_validation" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.ipt_deptcd" propid="value" datasetid="ds_send_dept" columnid="deptcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPRBC00200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRBC00200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_deptlist);
-
- try
- {
- ds_target_defaultvalue.copyData(arg_ds_target_defaultvalue);
- }
- catch (e)
- {}
- try
- {
- ds_target_validation.copyData(arg_ds_target_validation);
- }
- catch (e)
- {}
- try
- {
- ds_target.copyData(arg_ds_target);
- }
- catch (e)
- {}
-
- if(utlf_isNull(ds_target_validation.getColumnInfo("bugtdeptlist")))
- {
- var oParam = {};
- oParam.id = "TRRBC99201";
- oParam.service = "miscommoncdrefapp.CommonCdRef";
- oParam.method = "reqGetBugtMngDeptCdList";
- oParam.inds = "req=ds_send_dept";
- oParam.outds = "ds_main_bugtdept_bugtdeptlist=bugtdeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRBC99201";
- tranf_submit(oParam);
- }
- else
- {
- ds_main_bugtdept_bugtdeptlist.copyData(ds_target_validation);
- }
- group4.ipt_deptcd.setFocus();
- }
- function grd_deptlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- btn_confirm.click();
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListReturn(grd_deptlist);
- }
- function group4_ipt_deptcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- var oParam = {};
- oParam.id = "TRRBC99201";
- oParam.service = "miscommoncdrefapp.CommonCdRef";
- oParam.method = "reqGetBugtMngDeptCdList";
- oParam.inds = "req=ds_send_dept";
- oParam.outds = "ds_main_bugtdept_bugtdeptlist=bugtdeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRBC99201";
- tranf_submit(oParam);
- }
- }
- function ds_send_dept_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "deptcd")
- {
- var oParam = {};
- oParam.id = "TRRBC99201";
- oParam.service = "miscommoncdrefapp.CommonCdRef";
- oParam.method = "reqGetBugtMngDeptCdList";
- oParam.inds = "req=ds_send_dept";
- oParam.outds = "ds_main_bugtdept_bugtdeptlist=bugtdeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRBC99201";
- tranf_submit(oParam);
- }
- }
- function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRBC99201";
- oParam.service = "miscommoncdrefapp.CommonCdRef";
- oParam.method = "reqGetBugtMngDeptCdList";
- oParam.inds = "req=ds_send_dept";
- oParam.outds = "ds_main_bugtdept_bugtdeptlist=bugtdeptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRBC99201";
- tranf_submit(oParam);
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|