SMAGR03500_물품사용상세내역.xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>물품사용량내역조회(처방/사용량)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ipgoinfo>
  11. <ipgolist>
  12. <prcpdd/>
  13. <rgstdt/>
  14. <goodcd/>
  15. <goodnm/>
  16. <goodspec/>
  17. <allsizespecidnm/>
  18. <deliveunit/>
  19. <prodcmpynm/>
  20. <custnm/>
  21. <pid/>
  22. <hngnm/>
  23. <prcpqty/>
  24. </ipgolist>
  25. </ipgoinfo>
  26. </main>
  27. <send>
  28. <iodate/>
  29. <custnm/>
  30. <prodcmpynm/>
  31. <goodcd/>
  32. <goodnm/>
  33. <totinqty/>
  34. <totrtninqty/>
  35. <totoutqty/>
  36. <prcpdd/>
  37. <globalinstance>
  38. <instance1/>
  39. </globalinstance>
  40. <req>
  41. <data/>
  42. </req>
  43. </send>
  44. <init>
  45. <baseinfo>
  46. <intiunit/>
  47. </baseinfo>
  48. </init>
  49. <hidden>
  50. <item/>
  51. </hidden>
  52. <cmb_info>
  53. <dpcminfo>
  54. <dpcmcust>
  55. <custnm/>
  56. <perchgr/>
  57. <cntctel/>
  58. <faxno/>
  59. <mpphontel/>
  60. <email/>
  61. <auttrsmflag/>
  62. <custcd/>
  63. <suppdeptcd/>
  64. <instcd/>
  65. <trsmtrid/>
  66. <useyn/>
  67. </dpcmcust>
  68. </dpcminfo>
  69. </cmb_info>
  70. </root>
  71. </instance>
  72. <submission id="TRAGR03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ipgoinfo"/>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. aezfSetSuppDeptcd();
  76. zbcfGetCodeList( new Array("R0039"), new Array("/root/init/baseinfo/intiunit") );
  77. submit("TRAGA00101");
  78. model.setValue("/root/send/iodate", getCurrentDate());
  79. model.setValue("/root/send/prcpdd", getCurrentDate());
  80. btn_sea.dispatch("DOMActivate");
  81. ]]>
  82. </script>
  83. <submission id="TRZBC00101"/>
  84. <submission id="TRAGA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info/dpcminfo"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  89. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  90. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  91. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  92. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  93. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  95. </xhtml:head>
  96. <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  97. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  98. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:67px; vertical-align:top; ">
  99. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  100. <line id="line13" class="line_4" style="x1:1102px; y1:7px; x2:1102px; y2:59px; "/>
  101. <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:1120px; top:20px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. model.removeNodeset("/root/main/ipgoinfo/ipgolist");
  106. submit("TRAGR03501");
  107. var inqty = 0;
  108. var rtninqty = 0;
  109. var outqty = 0;
  110. for (var i = 1; i < datagrid1.rows; i++){
  111. inqty = parseFloat(inqty) + parseFloat(model.getValue("/root/main/ipgoinfo/ipgolist[" + i + "]/prcpqty"));
  112. }
  113. model.setValue("/root/send/totinqty", inqty);
  114. model.refresh();
  115. ]]>
  116. </script>
  117. </button>
  118. <caption id="caption2" class="search_name" style="left:15px; top:12px; width:86px; height:17px; ">사용일자 :</caption>
  119. <input id="input1" ref="/root/send/iodate" navindex="1" inputtype="date" style="left:110px; top:11px; width:120px; height:19px; text-align:center; "/>
  120. <caption id="caption3" class="search_name" style="left:485px; top:12px; width:86px; height:17px; ">거래처명 :</caption>
  121. <caption id="caption4" class="search_name" style="left:745px; top:12px; width:99px; height:17px; ">제조회사명 :</caption>
  122. <input id="input3" ref="/root/send/prodcmpynm" navindex="3" style="left:855px; top:11px; width:145px; height:19px; "/>
  123. <caption id="caption1" class="search_name" style="left:15px; top:42px; width:86px; height:17px; ">물품코드 :</caption>
  124. <caption id="caption5" class="search_name" style="left:250px; top:42px; width:93px; height:17px; ">물 품 명 :</caption>
  125. <input id="input4" ref="/root/send/goodcd" navindex="4" style="left:110px; top:39px; width:120px; height:19px; "/>
  126. <input id="input5" ref="/root/send/goodnm" navindex="5" style="left:345px; top:39px; width:120px; height:19px; "/>
  127. <caption id="caption7" style="left:580px; top:45px; width:65px; height:20px; ">총사용량 :</caption>
  128. <output id="output1" ref="/root/send/totinqty" format="#,###" style="left:645px; top:45px; width:75px; height:19px; text-align:center; "/>
  129. <input id="input6" ref="/root/send/prcpdd" navindex="1" inputtype="date" style="left:260px; top:11px; width:120px; height:19px; text-align:center; "/>
  130. <caption id="caption8" style="left:235px; top:13px; width:20px; height:20px; text-align:center; ">~</caption>
  131. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1016px; top:45px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  132. <caption>엑셀저장</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  136. if(file == "") return;
  137. datagrid1.saveExcel(file, "sheet1");
  138. ]]>
  139. </script>
  140. </button>
  141. <select1 id="combo1" ref="/root/send/custnm" appearance="minimal" editmode="input" style="left:580px; top:11px; width:145px; height:19px; ">
  142. <choices>
  143. <itemset nodeset="/root/cmb_info/dpcminfo">
  144. <label ref="dpcmcust/custnm"/>
  145. <value ref="dpcmcust/custnm"/>
  146. </itemset>
  147. </choices>
  148. </select1>
  149. </group>
  150. <line id="line1" class="line_1" style="x1:3px; y1:79px; x2:1194px; y2:80px; "/>
  151. <datagrid id="datagrid1" nodeset="/root/main/ipgoinfo/ipgolist" caption="사용일자^처방일시^물품코드^물품명^규격^All Size^단위^제조회사^거래처^등록번호^환자명^사용량" colsep="^" colwidth="80, 123, 76, 210, 99, 92, 75, 105, 99, 79, 60, 72" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:82px; width:1191px; height:660px; ">
  152. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  153. <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  154. <col ref="goodcd" style="text-align:left; "/>
  155. <col ref="goodnm" style="text-align:left; "/>
  156. <col ref="goodspec" style="text-align:left; "/>
  157. <col ref="allsizespecidnm" style="text-align:left; "/>
  158. <col disabled="true" ref="deliveunit" type="combo" style="text-align:left; ">
  159. <choices>
  160. <itemset nodeset="/root/init/baseinfo/intiunit/R0039">
  161. <label ref="cdnm"/>
  162. <value ref="cdid"/>
  163. </itemset>
  164. </choices>
  165. </col>
  166. <col ref="prodcmpynm" style="text-align:left; "/>
  167. <col ref="custnm" style="text-align:left; "/>
  168. <col ref="pid"/>
  169. <col ref="hngnm"/>
  170. <col ref="prcpqty" format="999999" style="text-align:right; "/>
  171. <script type="javascript" ev:event="xforms-value-changed">
  172. <![CDATA[
  173. ]]>
  174. </script>
  175. <script type="javascript" ev:event="onaftersort">
  176. <![CDATA[
  177. datagrid1.gridToInstance();
  178. ]]>
  179. </script>
  180. </datagrid>
  181. </group>
  182. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  183. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  184. </group>
  185. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  186. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:240px; height:13px; ">물품사용량내역조회(처방/사용량)</caption>
  187. </group>
  188. </xhtml:body>
  189. </xhtml:html>