SPRSO20800_재고조회(처방현황).xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRSO20800" position="absolute 0 0 1197 436" titletext="재고조회(입고내역)" oninit="SPRSO20800_oninit" onload="SPRSO20800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 0 16 1193 22" linetype="horizontal" id="line8" class="line_10"/>
  8. <Static text="처방현황" position="absolute 0 0 184 22" id="caption20" class="tit_2"/>
  9. <Button position="absolute 1137 410 1193 432" id="btn_close" class="btn4" text="닫기" onclick="btn_close_onclick"/>
  10. <Grid position="absolute 0 21 1193 409" id="grd_win" binddataset="ds_main_deptstocklist" autoenter="select" autofittype="col" cellsizingtype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="21"/>
  15. <Column size="90"/>
  16. <Column size="90"/>
  17. <Column size="75"/>
  18. <Column size="85"/>
  19. <Column size="65"/>
  20. <Column size="90"/>
  21. <Column size="90"/>
  22. <Column size="80"/>
  23. <Column size="65"/>
  24. <Column size="75"/>
  25. <Column size="48"/>
  26. <Column size="55"/>
  27. <Column size="55"/>
  28. <Column size="55"/>
  29. <Column size="65"/>
  30. <Column size="60"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell/>
  38. <Cell col="1" text="등록일자"/>
  39. <Cell col="2" text="등록번호"/>
  40. <Cell col="3" text="환자명"/>
  41. <Cell col="4" text="처방일자"/>
  42. <Cell col="5" text="구분"/>
  43. <Cell col="6" text="처방과"/>
  44. <Cell col="7" text="진료과"/>
  45. <Cell col="8" text="병동"/>
  46. <Cell col="9" text="병실"/>
  47. <Cell col="10" text="처방의사"/>
  48. <Cell col="11" text="처방량"/>
  49. <Cell col="12" text="횟수"/>
  50. <Cell col="13" text="일수"/>
  51. <Cell col="14" text="총처방량"/>
  52. <Cell col="15" text="금액"/>
  53. <Cell col="16" text="집계방법"/>
  54. </Band>
  55. <Band id="body">
  56. <Cell celltype="head" expr="currow+1"/>
  57. <Cell col="1" displaytype="date" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
  58. <Cell col="2" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:pid"/>
  59. <Cell col="3" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:patnm"/>
  60. <Cell col="4" displaytype="date" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  61. <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"/>
  62. <Cell col="6" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcpdeptcdnm"/>
  63. <Cell col="7" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:orddeptcdnm"/>
  64. <Cell col="8" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:wardnm"/>
  65. <Cell col="9" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:room"/>
  66. <Cell col="10" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:prcppsnnm"/>
  67. <Cell col="11" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:goodqty"/>
  68. <Cell col="12" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:times"/>
  69. <Cell col="13" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:dayno"/>
  70. <Cell col="14" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:totqty"/>
  71. <Cell col="15" displaytype="number" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:calcamt"/>
  72. <Cell col="16" style="background:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');background2:EXPR(parseInt(calcamt) == 0 ? '#ffffcc' : '');" text="bind:reqmthd"/>
  73. </Band>
  74. </Format>
  75. </Formats>
  76. </Grid>
  77. </Layout>
  78. </Layouts>
  79. <Objects>
  80. <Dataset id="ds_main_deptstocklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  81. <ColumnInfo>
  82. <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
  83. <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원"/>
  84. <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서"/>
  85. <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서"/>
  86. <Column id="totqty" type="STRING" size="256" sumtext="수량"/>
  87. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  88. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  89. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  90. <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과"/>
  91. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  92. <Column id="wardnm" type="STRING" size="256" sumtext="병동"/>
  93. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  94. <Column id="room" type="STRING" size="256" sumtext="병실"/>
  95. <Column id="prcppsn" type="STRING" size="256" sumtext="처방의사"/>
  96. <Column id="prcppsnnm" type="STRING" size="256" sumtext="처방의사"/>
  97. <Column id="goodqty" type="STRING" size="256" sumtext="처방량"/>
  98. <Column id="times" type="STRING" size="256" sumtext="횟수"/>
  99. <Column id="dayno" type="STRING" size="256" sumtext="일수"/>
  100. <Column id="calcamt" type="STRING" size="256" sumtext="금액"/>
  101. <Column id="sumflag" type="STRING" size="256" sumtext="집계방법(집계구분)"/>
  102. <Column id="reqmthd" type="STRING" size="256" sumtext="집계방법"/>
  103. </ColumnInfo>
  104. </Dataset>
  105. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  106. <Dataset id="ds_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  107. <ColumnInfo>
  108. <Column id="label" type="STRING" size="256"/>
  109. <Column id="value" type="STRING" size="256"/>
  110. </ColumnInfo>
  111. <Rows>
  112. <Row>
  113. <Col id="label">입원</Col>
  114. <Col id="value">I</Col>
  115. </Row>
  116. <Row>
  117. <Col id="label">외래</Col>
  118. <Col id="value">O</Col>
  119. </Row>
  120. <Row>
  121. <Col id="label">건진</Col>
  122. <Col id="value">S</Col>
  123. </Row>
  124. <Row>
  125. <Col id="label">응급</Col>
  126. <Col id="value">E</Col>
  127. </Row>
  128. <Row>
  129. <Col id="label">DSC</Col>
  130. <Col id="value">D</Col>
  131. </Row>
  132. </Rows>
  133. </Dataset>
  134. </Objects>
  135. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  136. * System Name :
  137. * Job Name :
  138. * Creator :
  139. * Make Date : 2017-06-19
  140. * Description :
  141. *---------------------------------------------------------------------------------------
  142. * Modify Date Modifier Modify Description
  143. *---------------------------------------------------------------------------------------
  144. * 2017-06-19 Live Converter TF->XP
  145. *
  146. *---------------------------------------------------------------------------------------
  147. ****************************************************************************************/
  148. include "com_commonxp::comm_main.xjs";
  149. include "mis_miscommonxp::MIS.xjs";
  150. function SPRSO20800_oninit(obj:Form, e:InitEventInfo)
  151. {
  152. frmf_initForm(obj);
  153. }
  154. function SPRSO20800_onload(obj:Form, e:LoadEventInfo)
  155. {
  156. grdf_initGrid(grd_win);
  157. try
  158. {
  159. ds_send.copyData(arg_ds_send)
  160. }
  161. catch
  162. {
  163. }
  164. var oParam = {};
  165. oParam.id = "TRRSO21303";
  166. oParam.service = "deliveapp.DeliveMngt";
  167. oParam.method = "reqGetMonthPrcpPrescondDetl";
  168. oParam.inds = "req=ds_send";
  169. oParam.outds = "ds_main_deptstocklist=deptstocklist";
  170. oParam.async = false;
  171. //oParam.callback = "cf_TRRSO21303";
  172. tranf_submit(oParam);
  173. }
  174. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  175. {
  176. this.close();
  177. }
  178. ]]></Script>
  179. </Form>
  180. </FDL>