123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRSO20800" position="absolute 0 0 1197 436" titletext="재고조회(입고내역)" oninit="SPRSO20800_oninit" onload="SPRSO20800_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 16 1193 22" linetype="horizontal" id="line8" class="line_10"/>
- <Static text="처방현황" position="absolute 0 0 184 22" id="caption20" class="tit_2"/>
- <Button position="absolute 1137 410 1193 432" id="btn_close" class="btn4" text="닫기" onclick="btn_close_onclick"/>
- <Grid position="absolute 0 21 1193 409" id="grd_win" binddataset="ds_main_deptstocklist" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="75"/>
- <Column size="85"/>
- <Column size="65"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="65"/>
- <Column size="75"/>
- <Column size="48"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="65"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" 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="횟수"/>
- <Cell col="13" text="일수"/>
- <Cell col="14" text="총처방량"/>
- <Cell col="15" text="금액"/>
- <Cell col="16" text="집계방법"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:patnm"/>
- <Cell col="4" displaytype="date" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" displaytype="combo" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:ioflag" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="6" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcpdeptcdnm"/>
- <Cell col="7" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:orddeptcdnm"/>
- <Cell col="8" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:wardnm"/>
- <Cell col="9" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:room"/>
- <Cell col="10" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcppsnnm"/>
- <Cell col="11" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:goodqty"/>
- <Cell col="12" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:times"/>
- <Cell col="13" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:dayno"/>
- <Cell col="14" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:totqty"/>
- <Cell col="15" displaytype="number" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:calcamt"/>
- <Cell col="16" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:reqmthd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_deptstocklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서"/>
- <Column id="totqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="room" type="STRING" size="256" sumtext="병실"/>
- <Column id="prcppsn" type="STRING" size="256" sumtext="처방의사"/>
- <Column id="prcppsnnm" type="STRING" size="256" sumtext="처방의사"/>
- <Column id="goodqty" type="STRING" size="256" sumtext="처방량"/>
- <Column id="times" type="STRING" size="256" sumtext="횟수"/>
- <Column id="dayno" type="STRING" size="256" sumtext="일수"/>
- <Column id="calcamt" type="STRING" size="256" sumtext="금액"/>
- <Column id="sumflag" type="STRING" size="256" sumtext="집계방법(집계구분)"/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="집계방법"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">건진</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPRSO20800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRSO20800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_win);
- try
- {
- ds_send.copyData(arg_ds_send)
- }
- catch
- {
- }
-
- var oParam = {};
- oParam.id = "TRRSO21303";
- oParam.service = "deliveapp.DeliveMngt";
- oParam.method = "reqGetMonthPrcpPrescondDetl";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_deptstocklist=deptstocklist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSO21303";
- tranf_submit(oParam);
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|