123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRC02400" position="absolute 0 0 675 275" titletext="처방 이력 조회" oninit="SPMRC02400_oninit" onload="SPMRC02400_onload">
- <Layouts>
- <Layout>
- <Static text="처방 이력 조회" position="absolute 0 0 116 16" id="caption21" class="tit_2"/>
- <Button position="absolute 619 255 675 275" id="button4" class="btn4" text="닫기" onclick="button4_onclick"/>
- <Grid position="absolute 0 22 675 252" id="datagrid1" binddataset="ds_main_prcphistinfo_prcphistlist" autofittype="col" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="90"/>
- <Column size="133"/>
- <Column size="181"/>
- <Column size="100"/>
- <Column size="149"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="처방상태"/>
- <Cell col="2" text="수가코드"/>
- <Cell col="3" text="수가명칭" wordwrap="char"/>
- <Cell col="4" text="매수"/>
- <Cell col="5" text="신청부수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:left middle;" text="bind:prcphistcd" combodataset="ds_init_prcphistcd_M0009" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" style="align:left middle;" text="bind:calcscorcd"/>
- <Cell col="3" style="align:left middle;" text="bind:calcscornm" wordwrap="char"/>
- <Cell col="4" style="align:left middle;" text="bind:shtno"/>
- <Cell col="5" style="align:left middle;" text="bind:emrappcopies"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 18 675 24" linetype="horizontal" id="line1" class="line_1"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_prcphistinfo_prcphistlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphistcd" type="STRING" size="256" sumtext="처방이력상태"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="calcscornm" type="STRING" size="256" sumtext="수가명칭"/>
- <Column id="shtno" type="INT" size="256" sumtext="매수"/>
- <Column id="emrappcopies" type="INT" size="256" sumtext="부수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_prcphistcd_M0009" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-11-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-11-20 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01. :
- * : 02. :
- * Description : 화면 초기화
- ****************************************************************************************/
- function fInitialize()
- { // 공통코드 목록 가져오기
- appf_getCodeList([{dsNm: "ds_init_prcphistcd_M0009", cdGrpId: "M0009"}], true);
- //zbcfGetCodeList(new Array("M0009"), new Array("/root/init/prcphistcd") , true);
- var param = opener.frmf_getParameter("SPMRC02400_Param");
- ds_send.clearData();
- ds_send.addRow();
- ds_send.setColumn(0, "copyseqno", param);
-
- var oParam = {};
- oParam.id = "TRMRC02401";
- oParam.service = "chrtmngtapp.CopyIssMngt";
- oParam.method = "reqGetPrcpHistList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prcphistinfo_prcphistlist=prcphistlist";
- oParam.async = true;
- //oParam.callback = "cf_TRMRC02401";
- tranf_submit(oParam);
-
- }
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- function cf_TRMRC02401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- arErrorCode.push(sSvcId, nErrorCode);
- sysf_trace("***** cf_TRMRC02401 *****");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMRC02400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMRC02400_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|