123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADB60900" position="absolute 0 0 501 338" titletext="용매선택" oninit="SPADB60900_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 500 306" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="용매선택" position="absolute 2 7 99 23" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 23 500 29" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Grid position="absolute 0 52 250 306" id="datagrid1" binddataset="ds_main_reconlist" autofittype="col" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="53"/>
- <Column size="43"/>
- <Column size="149"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" colspan="2" text="용매" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" text="bind:solvcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:solvnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 250 52 500 306" id="datagrid2" binddataset="ds_main_dilulist" autofittype="col" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="53"/>
- <Column size="43"/>
- <Column size="149"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" colspan="2" text="용매" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" text="bind:solvcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:solvnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="재구성" position="absolute 0 28 250 51" align="align:center middle;" id="caption37" class="cell_1" anchor="default"/>
- <Static text="희석" position="absolute 250 28 500 51" align="align:center middle;" id="caption2" class="cell_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 306 501 333" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 444 5 500 27" id="btn_cls" class="btn4" text="닫기" onclick="grp_btn_btn_cls_onclick"/>
- <Button position="absolute 385 5 441 27" id="btn_cfm" class="btn4" text="확인" onclick="grp_btn_btn_cfm_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_reconlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="solvcd" type="STRING" size="256"/>
- <Column id="solvnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">IW</Col>
- <Col id="solvnm">주사용 증류수</Col>
- </Row>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">NS</Col>
- <Col id="solvnm">NS</Col>
- </Row>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">DW</Col>
- <Col id="solvnm">DW</Col>
- </Row>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">기타</Col>
- <Col id="solvnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dilulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="solvcd" type="STRING" size="256"/>
- <Column id="solvnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">NS</Col>
- <Col id="solvnm">NS</Col>
- </Row>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">DW</Col>
- <Col id="solvnm">DW</Col>
- </Row>
- <Row>
- <Col id="chk">false</Col>
- <Col id="solvcd">기타</Col>
- <Col id="solvnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </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"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADB60900
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADB60900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_btn.btn_cfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인
- ****************************************************************************************/
- function grp_btn_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- var MixTxt = "";
- var MixTxt2 = "";
-
- if(ds_main_reconlist.getColumn(0,"chk") == 1){
- MixTxt = MixTxt + ds_main_reconlist.getColumn(0,"solvnm")+" ";
- }
-
- if(ds_main_reconlist.getColumn(1,"chk") == 1){
- MixTxt = MixTxt + ds_main_reconlist.getColumn(1,"solvnm")+" ";
- }
-
- if(ds_main_reconlist.getColumn(2,"chk") == 1){
- MixTxt = MixTxt + ds_main_reconlist.getColumn(2,"solvnm")+" ";
- }
-
- if(ds_main_reconlist.getColumn(3,"chk") == 1){
- MixTxt = MixTxt + ds_main_reconlist.getColumn(3,"solvnm");
- }
- if(ds_main_dilulist.getColumn(0,"chk") == 1){
- MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(0,"solvnm")+" ";
- }
-
- if(ds_main_dilulist.getColumn(1,"chk") == 1){
- MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(1,"solvnm")+" ";
- }
-
- if(ds_main_dilulist.getColumn(2,"chk") == 1){
- MixTxt2 = MixTxt2 + ds_main_dilulist.getColumn(2,"solvnm");
- }
- opener.ds_main_baseinfo_druginfo.setColumn(0,"reconsolv", MixTxt);
- opener.ds_main_baseinfo_druginfo.setColumn(0,"dilusolv", MixTxt2);
-
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * 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>
|