123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRFC00204" position="absolute 0 0 707 438" titletext="임차장비 리스트" oninit="SPRFC00204_oninit" onload="SPRFC00204_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="임차장비 리스트" class="tit_2" position="absolute 0 0 130 21"/>
- <Shape id="line1" class="line_10" position="absolute 0 16 707 22"/>
- <Grid id="grd_rentfaxlst" taborder="1" cellsizingtype="col" position="absolute 0 21 707 401" binddataset="ds_rentfaxlst" autofittype="col" oncelldblclick="grd_rentfaxlst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="92"/>
- <Column size="178"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="기관코드"/>
- <Cell col="3" text="자산코드"/>
- <Cell col="4" text="자산명"/>
- <Cell col="5" colspan="2" text="계약기간" taborder="undefined"/>
- <Cell col="7" text="처리여부"/>
- <Cell col="8" text="장비비고"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" text="bind:instcd"/>
- <Cell col="3" text="bind:fixasetcd"/>
- <Cell col="4" style="align:left;" text="bind:fixasetnm"/>
- <Cell col="5" displaytype="date" text="bind:fcondd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" text="bind:tcondd" calendardisplaynulltype="none"/>
- <Cell col="7" text="bind:flag"/>
- <Cell col="8" style="align:left top;padding:4 2 2 2;" text="bind:facdcmt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 651 411 707 433" onclick="btn_close_onclick"/>
- <Button id="btn_apply" taborder="4" text="적용" class="btn4" position="absolute 593 411 649 433" onclick="btn_apply_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_rentfaxlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="fixasetcd" type="STRING" size="255"/>
- <Column id="fixasetnm" type="STRING" size="255"/>
- <Column id="fcondd" type="STRING" size="255"/>
- <Column id="tcondd" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="facdcmt" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_purcbasexp -> SPRFC00204
- * Creator : yjh
- * Make Date : 2018-08-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-08-13 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPRFC00204
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPRFC00204_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPRFC00204
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPRFC00204_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_rentfaxlst);
-
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- var oParam = {};
- oParam.id = "TRRFC00212";
- oParam.service = "purcbaseapp.PurcBaseMngt";
- oParam.method = "reqGetRentFaxLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_rentfaxlst=rentfaxlst";
- oParam.async = false;
- //oParam.callback = "cf_TRRFC00212";
- tranf_submit(oParam);
-
- ds_rentfaxlst.addColumn("chk", "string");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_close
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기버튼 클릭시
- ****************************************************************************************/
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_apply
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 적용버튼 클릭시
- ****************************************************************************************/
- function btn_apply_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_rentfaxlst.rowcount == 0)
- {
- return;
- }
-
- opener.ds_popfixa.setColumn(0, "selectyn", "Y");
- opener.ds_popfixa.setColumn(0, "fixasetcd", ds_rentfaxlst.getColumn(ds_rentfaxlst.rowposition, "fixasetcd"));
- opener.ds_popfixa.setColumn(0, "fixasetnm", ds_rentfaxlst.getColumn(ds_rentfaxlst.rowposition, "fixasetnm"));
- opener.ds_popfixa.setColumn(0, "instcd" , ds_send.getColumn(0, "instcd"));
-
- this.close();
- }
- function grd_rentfaxlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- btn_apply.click();
- }
- ]]></Script>
- </Form>
- </FDL>
|