123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNG04100" position="absolute 0 0 590 550" titletext="응급CCDBAG 물품코드 HELP" oninit="SPMNG04100_oninit" onload="SPMNG04100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 580 520" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 580 35" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 519 7 575 29" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick" anchor="default"/>
- <Shape position="absolute 512 3 518 32" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Static text="조회조건 :" position="absolute 10 10 96 27" id="caption2" class="search_name" anchor="default"/>
- <Radio position="absolute 85 8 223 28" id="radio1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">처방명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 215 8 370 27" id="ipt_good" class="input_search" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="수술실 물품 리스트" position="absolute 5 44 151 60" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 60 580 66" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 65 580 520" id="grd_goodlist" binddataset="ds_main_goodlist" autofittype="col" oncelldblclick="group3_grd_goodlist_oncelldblclick" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="20"/>
- <Column size="140"/>
- <Column size="300"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4"/>
- <Cell col="5"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="2" style="align:left;" text="bind:goodcd"/>
- <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="4" text="bind:allsizespecid"/>
- <Cell col="5" text="bind:payflagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 521 580 548" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 461 2 517 24" id="btn_confirm" class="btn4" text="확인" onclick="group1_btn_confirm_onclick"/>
- <Button position="absolute 520 2 576 24" id="btn_cancel" class="btn4" text="취소" onclick="group1_btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드(명)"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256" sumtext="check여부"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.radio1" propid="value" datasetid="ds_send_reqdata" columnid="goodflag"/>
- <BindItem id="item1" compid="group3.group2.ipt_good" propid="value" datasetid="ds_send_reqdata" columnid="goodcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_csrxp -> SPMNG04100
- * Creator : yjh
- * Make Date : 2016-02-12
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-02-12 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG04100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNG04100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG04100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNG04100_onload(obj:Form, e:LoadEventInfo)
- {
- group3.group2.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if( !utlf_isNull(group3.group2.ipt_good.value) ){
- if( utlf_isNull(group3.group2.radio1.value) ){
- alert("조회조건을 선택하세요");
- return;
- }
- }
-
- var oParam = {};
- oParam.id = "TRMNG04100";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetBagGoodList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_goodlist=goodlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG04100";
- tranf_submit(oParam);
-
- ds_main_goodlist.addColumn("chkyn", "string");
- ds_main_goodlist.filter("");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_goodlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function group3_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- group1.btn_confirm.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_confirm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- if( group3.grd_goodlist.rowcount == 0 )
- {
- sysf_messageBox("적용할 내역이","I004");
- close();
- return;
- }
- //var iParam = ds_main_goodlist;
-
- //var nodelist = instance1.selectNodes(grd_goodlist.nodeset + "[chkyn='Y']");
- ds_main_goodlist.filter("chkyn=='1'");
-
- var rCVS = dsf_getDsCSV(ds_main_goodlist);
- ds_main_goodlist.filter("");
- if ( frmf_checkOpener() ) {
- opener.frmf_setParameter("SPMNG04100_", rCVS);
- } else {
- var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
- }
- close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cancel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소버튼 클릭시
- ****************************************************************************************/
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListCancel();
- }
- ]]></Script>
- </Form>
- </FDL>
|