123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT00101" position="absolute 0 0 506 331" titletext="조제시참고사항" oninit="SMADT00101_oninit" onload="SMADT00101_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 505 298" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="검수보류사유" position="absolute 0 3 113 20" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 19 505 25" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Grid position="absolute 0 24 505 292" id="grd_reflist" binddataset="ds_main_list" oncelldblclick="grp_biz_grd_reflist_oncelldblclick" anchor="default" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="81"/>
- <Column size="396"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사유코드"/>
- <Cell col="2" text="보류사유"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="image"/>
- <Cell col="1" text="bind:cdid"/>
- <Cell col="2" text="bind:cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 296 506 323" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 449 5 505 27" id="btn_cls" class="btn4" text="닫기" onclick="grp_btn_btn_cls_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list" 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_A0150list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "com_basiccodexp::ZBC001.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMADT00101
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : oninit
- ****************************************************************************************/
- function SMADT00101_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components :
- * Components ID : SMADT00101
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : onload 이벤트
- ****************************************************************************************/
- function SMADT00101_onload(obj:Form, e:LoadEventInfo)
- {
- // dsf_createDs("ds_A0150list", [{col: "cdid", type:"string", size:256}, {col: "cdnm", type:"string", size:256}]);
- // ds_A0150list.addRow();
- //
- grdf_setRowTypeIcon(grp_biz.grd_reflist, 0); // 그리드 상태 표시
-
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_A0150list", cdGrpId: "A0150", showValue: false}];
- appf_getCodeList(arrParam, true, false, "");
- ds_main_list.copyData(ds_A0150list);
- }
- /****************************************************************************************
- * Components :
- * Components ID : grp_biz_grd_reflist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 더블클릭
- ****************************************************************************************/
- function grp_biz_grd_reflist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (frmf_checkOpener()) {
- opener.ds_temp.setColumn(0,"reteresn", ds_main_list.getColumn(e.row,"cdid"));
- this.close();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : grp_btn_btn_cls
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : '닫기'
- ****************************************************************************************/
- function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|