123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPID23100" position="absolute 0 0 220 221" titletext="급비변경관리" oninit="model1_oninit" onload="SPPID23100_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="급여구분 변경" class="tit_2" position="absolute 0 32 144 52" positiontype="position"/>
- <Grid id="grd_P0469" taborder="2" useinputpanel="false" onkeydown="grd_P0469_onkeydown" position="absolute 0 51 216 192" autofittype="col" anchor="all" binddataset="ds_grid_grd_P0469" positiontype="position" oncelldblclick="grd_P0469_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="45"/>
- <Column size="158"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1" text="코드명"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:cdid"/>
- <Cell col="1" text="bind:cdnm"/>
- <Cell col="2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_confirm" taborder="3" text="확인" onlbuttonup="btn_confirm_onlbuttonup" class="btn5" position="absolute 128 194 172 214" anchor="right bottom" visible="true" positiontype="position" onclick="btn_confirm_onclick"/>
- <Static id="caption00" text="급비변경관리" class="tit_1" position="absolute 0 0 177 26"/>
- <Button id="Button00" taborder="4" text="닫기" class="btn2" position="absolute 173 194 217 214" anchor="right bottom" onclick="Button00_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_P0469" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0469" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-08-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-08-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- // 화면을 초기화한다.
- function lf_fInitialize() {
- // 공통코드를 조회한다.
- appf_getCodeListSubmit([{cdGrpId: "P0469", dsNm: "ds_grid_grd_P0469"}], false, false, "");
-
-
- //자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- if( frmf_checkOpener() ) {
- var cdid = sCdid;
- var selectCd = sCdcls;
- if( !utlf_isNull(cdid) ) { // 기존에 선택된 사유
- for(i = 0 ; i < ds_grid_grd_P0469.rowcount; i++) {
- if( cdid == ds_grid_grd_P0469.getColumn( i, "cdid" ) ) {
- ds_grid_grd_P0469.rowposition = i;
- i = ds_grid_grd_P0469.rowposition;
- }
- }
- }
- }
-
-
- }
- function SPPID23100_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_fInitialize(); // 화면을 초기화한다
-
- //그리드 정렬
- grdf_setGridSort(grd_P0469);
-
- }
- function grd_P0469_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- // 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- if( frmf_checkOpener() ) {
- var objRtnVal = new Object();
- objRtnVal.sCdid = ds_grid_grd_P0469.getColumn( e.row, "cdid" );
- this.close(objRtnVal);
- }
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- // 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- if( frmf_checkOpener() ) {
- var objRtnVal = new Object();
- objRtnVal.sCdid = ds_grid_grd_P0469.getColumn( ds_grid_grd_P0469.rowposition, "cdid" );
- this.close(objRtnVal);
- }
- else {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); //없습니다.
- }
- this.close();
-
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }]]></Script>
- </Form>
- </FDL>
|