123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNG01102" position="absolute 0 0 540 490" titletext="멸균망확인" oninit="SPMNG01102_oninit" onload="SPMNG01102_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 380 23" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="멸균망확인" position="absolute 0 0 186 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 25 530 478" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="멸균망목록" position="absolute 5 8 126 24" id="caption12" class="tit_2" anchor="default"/>
- <Shape position="absolute 5 24 530 30" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Grid position="absolute 5 29 530 450" id="grd_gasnetlist" class="datagrid2" binddataset="ds_main_gasnetinfo_gasnetlist" anchor="default" onkeyup="grp_biz_grd_gasnetlist_onkeyup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="0"/>
- <Column size="227"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="물품코드"/>
- <Cell col="2" text="물품명"/>
- <Cell col="3" text="물품 수량"/>
- <Cell col="4" text="확인 수량"/>
- <Cell col="5" text="확인자"/>
- <Cell col="6" text="사유"/>
- <Cell col="7" text="기관코드"/>
- <Cell col="8" text="청구일자"/>
- <Cell col="9" text="청구번호"/>
- <Cell col="10" text="청구순번"/>
- <Cell col="11" text="청구부서"/>
- <Cell col="12" text="망순번"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:goodcd"/>
- <Cell col="2" displaytype="text" edittype="text" style="font:arial,9,bold;" text="bind:goodnm"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center;font:arial,9,bold;" text="bind:reqqty"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center;font:arial,9,bold;" text="bind:certqty"/>
- <Cell col="5" text="bind:certnm"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:certdesc"/>
- <Cell col="7" text="bind:instcd"/>
- <Cell col="8" text="bind:reqdd"/>
- <Cell col="9" text="bind:reqno"/>
- <Cell col="10" text="bind:reqseqno"/>
- <Cell col="11" text="bind:reqdeptcd"/>
- <Cell col="12" text="bind:netseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 485 3 527 22" id="btn_sav" class="btn5" text="저장" anchor="default" onclick="grp_biz_btn_sav_onclick"/>
- <Edit readonly="true" position="absolute 225 0 470 19" id="output1" anchor="default" class="output" style="background:transparent stretch 5,5;font:Dotum,9,bold;"/>
- </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="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="certflag" type="STRING" size="256" sumtext="확인여부"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_gasnetinfo_gasnetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="netseqno" type="STRING" size="256" sumtext="망번호 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="certnm" type="STRING" size="256" sumtext="확인자명"/>
- <Column id="certqty" type="STRING" size="256" sumtext="확인수량"/>
- <Column id="usernm" type="STRING" size="256" sumtext="확인자명"/>
- <Column id="certdesc" type="STRING" size="256" sumtext="확인사유"/>
- <Column id="cnfmyn" type="STRING" size="256" sumtext="확인여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_savedata_gasnetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="netseqno" type="STRING" size="256" sumtext="망번호 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="certqty" type="STRING" size="256" sumtext="청구수량"/>
- <Column id="certdesc" type="STRING" size="256" sumtext="청구수량"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.output1" propid="value" datasetid="ds_main" columnid="deptnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_csrxp -> SPMNG01102
- * Creator : yjh
- * Make Date : 2017-08-14
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-08-14 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- ds_main.setColumn(0, "deptnm", sysf_getModelProperty("reqdeptnm"));
- ds_main_gasnetinfo_gasnetlist.clearData();
-
- fSearch();
-
- }
- function fSearch() {
- var instcd ="";
- var reqdd = "";
- var reqno = "";
- var reqseqno = "";
- var reqdeptcd = "";
-
- instcd = sysf_getModelProperty("instcd");
- reqdd = sysf_getModelProperty("reqdd");
- reqno = sysf_getModelProperty("reqno");
- reqseqno = sysf_getModelProperty("reqseqno");
- reqdeptcd = sysf_getModelProperty("reqdeptcd");
-
- ds_send.setColumn(0, "instcd" , instcd);
- ds_send.setColumn(0, "reqdd" , reqdd);
- ds_send.setColumn(0, "reqno" , reqno);
- ds_send.setColumn(0, "reqseqno" , reqseqno);
- ds_send.setColumn(0, "reqdeptcd", reqdeptcd);
- ds_send.setColumn(0, "certflag", "Y");
-
- var oParam = {};
- oParam.id = "TRMNG01103";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetGasNetInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_gasnetinfo_gasnetlist=gasnetlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNG01103";
- tranf_submit(oParam);
-
- ds_main_gasnetinfo_gasnetlist.enableevent = false;
- ds_main_gasnetinfo_gasnetlist.updatecontrol = false;
-
- for(var i=0 ; i < ds_main_gasnetinfo_gasnetlist.rowcount ; i++) {
- ds_main_gasnetinfo_gasnetlist.setRowType(i, 4);
- }
-
- ds_main_gasnetinfo_gasnetlist.updatecontrol = true;
- ds_main_gasnetinfo_gasnetlist.enableevent = true;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG01102
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNG01102_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNG01102
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNG01102_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grp_biz.grd_gasnetlist, 0);
-
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_sav
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function grp_biz_btn_sav_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_gasnetinfo_gasnetlist.enableevent = false;
- ds_main_gasnetinfo_gasnetlist.updatecontrol = false;
-
- grdf_setStatusColumn(ds_main_gasnetinfo_gasnetlist, "status");
-
- ds_main_gasnetinfo_gasnetlist.updatecontrol = true;
- ds_main_gasnetinfo_gasnetlist.enableevent = true;
-
- ds_send_savedata_gasnetlist.copyData(grdf_getGridUpdateData(grp_biz.grd_gasnetlist));
-
- var oParam = {};
- oParam.id = "TXMNG01104";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqExeGasNetList";
- oParam.inds = "gasnetlist=ds_send_savedata_gasnetlist";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNG01104";
- tranf_submit(oParam);
-
- fSearch();
- }
- function grp_biz_grd_gasnetlist_onkeyup(obj:Grid, e:KeyEventInfo)
- {
- if(grp_biz.grd_gasnetlist.currentcell == grp_biz.grd_gasnetlist.getBindCellIndex("body", "certqty")) {
- if(e.keycode == 13 && (grp_biz.grd_gasnetlist.currentrow != grp_biz.grd_gasnetlist.rowcount - 1)) {
- ds_main_gasnetinfo_gasnetlist.rowposition = ds_main_gasnetinfo_gasnetlist.rowposition + 1;
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|