SPMNG04200_SET처방 상세내역.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>SET기구 처방 집계현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <fromdd/>
  12. <todd/>
  13. <flag/>
  14. <deptcd/>
  15. <deptflag/>
  16. <goodcd/>
  17. </cond>
  18. <suminfo>
  19. <sumlist/>
  20. </suminfo>
  21. </main>
  22. <send>
  23. </send>
  24. <init>
  25. <R0435list/>
  26. <deptinfo>
  27. <deptlist/>
  28. </deptinfo>
  29. </init>
  30. <hidden>
  31. </hidden>
  32. </root>
  33. </instance>
  34. <script type="javascript">
  35. <![CDATA[
  36. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  37. function fInitialize() {
  38. zbcfGetCodeList( new Array ( "R0435"), new Array ( "/root/init/R0435list" ), false);
  39. addComboItem("cmb_goodcd", "전체", "", "above");
  40. if(checkOpener()) {
  41. model.setValue(ipt_fromdd.attribute("ref"), opener.javascript.getParameter("fromdd"));
  42. model.setValue(ipt_todd.attribute("ref"), opener.javascript.getParameter("todd"));
  43. model.setValue(cmb_goodcd.attribute("ref"), opener.javascript.getParameter("goodcd"));
  44. model.setValue(ipt_deptcd.attribute("ref"), opener.javascript.getParameter("deptcd"));
  45. } else {
  46. model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate());
  47. model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
  48. model.setValue(cmb_goodcd.attribute("ref"), "");
  49. model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
  50. }
  51. ipt_fromdd.refresh();
  52. ipt_todd.refresh();
  53. cmb_goodcd.refresh();
  54. ipt_deptcd.refresh();
  55. fSearch();
  56. }
  57. function fSearch(){
  58. model.makeNode("/root/send/reqdata");
  59. model.copyNode("/root/send/reqdata", "/root/main/cond");
  60. submit("TRMNG04204");
  61. grd_sumlist.subtotalPosition="below";
  62. grd_sumlist.subtotal("sum", -1, grd_sumlist.colRef("sumcnt"), "#,###.##", "background-color:#99ff99; font-weight:bold", grd_sumlist.colRef("room"), "합계");
  63. }
  64. ]]>
  65. </script>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  70. <script type="javascript" ev:event="xforms-ready">
  71. <![CDATA[
  72. fInitialize();
  73. ]]>
  74. </script>
  75. <submission id="TRMNG04204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/suminfo"/>
  76. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. </model>
  78. </xhtml:head>
  79. <xhtml:body pagewidth="770" pageheight="640" guideline="1,753;2,641;" style="font-family:돋움체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
  81. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; font-family:돋움체; ">부서별 Set처방 상세내역</caption>
  82. </group>
  83. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:750px; height:622px; font-family:돋움체; ">
  84. <group id="grp_sea" style="left:0px; top:10px; width:745px; height:35px; font-family:돋움체; vertical-align:top; ">
  85. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:745px; height:35px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; ">.,m</shape>
  86. <caption id="cap_instcd" class="search_name" style="left:15px; top:10px; width:86px; height:17px; font-family:돋움체; ">처방일자:</caption>
  87. <line id="line13" class="line_4" style="x1:610px; y1:4px; x2:610px; y2:29px; font-family:돋움체; border-color:#ffe4bb; border-left-style:solid; "/>
  88. <button id="btn_search" class="btn1_letter2" navindex="2" style="left:620px; top:7px; width:56px; height:22px; font-family:돋움체; ">
  89. <caption>조회</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. fSearch();
  93. ]]>
  94. </script>
  95. </button>
  96. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" inputtype="date" style="left:100px; top:10px; width:85px; height:19px; font-family:돋움체; "/>
  97. <input id="ipt_todd" ref="/root/main/cond/todd" inputtype="date" style="left:195px; top:10px; width:85px; height:19px; font-family:돋움체; "/>
  98. <caption id="caption1" style="left:185px; top:12px; width:16px; height:18px; font-family:돋움체; font-weight:bold; ">~</caption>
  99. <button id="button1" class="btn1_letter2" navindex="2" style="left:680px; top:7px; width:56px; height:22px; font-family:돋움체; ">
  100. <caption>엑셀</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. var fileName = window.fileDialog("save", ",", false, "부서별Enema SkinPrep", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  104. if (fileName != "")
  105. {
  106. grd_sumlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
  107. }
  108. ]]>
  109. </script>
  110. </button>
  111. <caption id="caption2" class="search_name" style="left:290px; top:10px; width:91px; height:17px; font-family:돋움체; ">물품코드 :</caption>
  112. </group>
  113. <caption id="caption8" class="tit_2" style="left:5px; top:59px; width:201px; height:14px; font-family:돋움체; ">SET처방 상세내역</caption>
  114. <line id="line1" class="line_1" style="x1:0px; y1:74px; x2:745px; y2:74px; font-family:돋움체; "/>
  115. <datagrid id="grd_sumlist" nodeset="/root/main/suminfo/sumlist" class="datagrid2" caption="부서명^병실^등록번호^환자명^처방일자^처방코드^처방명^물품코드^물품명^수량^집계&#xA;구분" colsep="^" colwidth="0, 44, 63, 65, 75, 75, 111, 75, 118, 40, 40" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:79px; width:745px; height:541px; font-family:돋움체; ">
  116. <col ref="deptnm" style="padding-left:1; "/>
  117. <col ref="room" style="font-family:돋움체; text-align:center; "/>
  118. <col ref="pid" style="font-family:돋움체; text-align:center; "/>
  119. <col ref="patnm" style="font-family:돋움체; padding-left:1; "/>
  120. <col ref="prcpdd" format="yyyy-mm-dd" style="font-family:돋움체; text-align:center; padding-left:1; "/>
  121. <col ref="prcpcd" style="font-family:돋움체; text-align:center; padding-left:1; "/>
  122. <col ref="prcpnm" style="font-family:돋움체; text-align:left; padding-left:1; "/>
  123. <col ref="goodcd" style="font-family:돋움체; text-align:center; "/>
  124. <col ref="goodnm" style="font-family:돋움체; padding-left:1; "/>
  125. <col ref="sumcnt" style="font-family:돋움체; text-align:right; padding-right:1; "/>
  126. <col ref="sumflag" style="font-family:돋움체; text-align:center; "/>
  127. </datagrid>
  128. <input id="ipt_deptcd" ref="/root/main/cond/deptcd" visibility="hidden" style="left:320px; top:50px; width:100px; height:19px; font-family:돋움체; "/>
  129. <select1 id="cmb_goodcd" ref="/root/main/cond/goodcd" appearance="minimal" style="left:380px; top:18px; width:150px; height:19px; font-family:돋움체; ">
  130. <choices>
  131. <itemset nodeset="/root/init/R0435list/R0435">
  132. <label ref="cdnm"/>
  133. <value ref="cdid"/>
  134. </itemset>
  135. </choices>
  136. </select1>
  137. </group>
  138. </xhtml:body>
  139. </xhtml:html>