123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO33800" position="absolute 0 0 700 555" titletext="PRN 가능약품 목록조회" oninit="SPMMO33800_oninit" onload="SPMMO33800_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="PRN가능약품 목록조회" class="tit_2" position="absolute 0 0 161 20"/>
- <Grid id="datagrid1" taborder="4" binddataset="ds_main_prn_result" useinputpanel="false" position="absolute 0 61 700 555" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="44"/>
- <Column size="74"/>
- <Column size="91"/>
- <Column size="189"/>
- <Column size="140"/>
- <Column size="140"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="분류"/>
- <Cell col="1" text="OCS분류"/>
- <Cell col="2" text="약품코드"/>
- <Cell col="3" text="한글명"/>
- <Cell col="4" text="영문명"/>
- <Cell col="5" text="성분명"/>
- <Cell col="6" text="적응증"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:prcpclscd"/>
- <Cell col="1" style="align:left middle;" text="bind:ordclasscd"/>
- <Cell col="2" style="align:left middle;" text="bind:drug_code"/>
- <Cell col="3" style="align:left middle;" text="bind:drug_hngnm"/>
- <Cell col="4" style="align:left middle;" text="bind:drug_engnm"/>
- <Cell col="5" style="align:left middle;" text="bind:comdesc"/>
- <Cell col="6" text="bind:prndesc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="Div00" taborder="5" position="absolute 0 21 700 56" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="약품코드 :" class="search_name" position="absolute 17 8 92 28" anchor="default"/>
- <Edit id="search_code" taborder="1" position="absolute 105 8 250 28" anchor="default" onkeydown="Div00_search_code_onkeydown"/>
- <Static id="caption3" text="약품명 :" class="search_name" position="absolute 286 8 353 28" anchor="default"/>
- <Edit id="search_name" taborder="2" position="absolute 364 8 519 28" anchor="default" onkeydown="Div00_search_name_onkeydown"/>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 625 8 681 28" anchor="top right" onclick="Div00_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </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="search_code" type="STRING" size="256" sumtext="약품코드"/>
- <Column id="search_name" type="STRING" size="256" sumtext="약품명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prn_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drug_code" type="STRING" size="256" sumtext="약품코드"/>
- <Column id="drug_hngnm" type="STRING" size="256" sumtext="약품명(한글)"/>
- <Column id="drug_engnm" type="STRING" size="256" sumtext="약품명(영문)"/>
- <Column id="comdesc" type="STRING" size="256" sumtext="약품성분"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="ordclasscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="prndesc" type="STRING" size="256" sumtext="적응중"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="Div00.search_code" propid="value" datasetid="ds_send" columnid="search_code"/>
- <BindItem id="item1" compid="Div00.search_name" propid="value" datasetid="ds_send" columnid="search_name"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPMMO33800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
-
- grdf_initGrid(datagrid1);
- }
- function SPMMO33800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(datagrid1);
-
- if(!utlf_isNull(opener.frmf_getParameter("SPMMO33800_search_code"))){
- ds_send.setColumn(0, "search_code" , opener.frmf_getParameter("SPMMO33800_search_code"));
-
- Div00.btn_search.onclick.fireEvent(Div00.btn_search, new ClickEventInfo());
- }
- }
- function Div00_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "search_name", Div00.search_name.value);
- ds_send.setColumn(0, "search_code", Div00.search_code.value);
-
- var oParam = {};
- oParam.id = "TRMMO33800";
- oParam.service = "prcpbaseapp.PrcpClsMngt";
- oParam.method = "reqGetPrnSearchResult";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prn_result=item";
- oParam.async = true;
- tranf_submit(oParam);
- }
- function Div00_search_code_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- Div00.btn_search.onclick.fireEvent(Div00.btn_search, new ClickEventInfo());
- Div00.search_code.setFocus();
- }
- }
- function Div00_search_name_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- Div00.btn_search.onclick.fireEvent(Div00.btn_search, new ClickEventInfo());
- Div00.search_name.setFocus();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|