SMLBP02600_혈액출고BISS전송.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBP02600_혈액출고(BISS).xrw
  4. * 설 명 : 혈액출고조회조회(BISS)
  5. * 설 계 자 : (주)에이씨케이 - 박정은
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2008. 02. 19
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>혈액출고조회(BISS)</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <delivelist>
  20. <seq/>
  21. <delivecd/>
  22. <delivenm/>
  23. <delivedd/>
  24. <delivetm/>
  25. <blodcd/>
  26. <blodnm/>
  27. <blodno/>
  28. <abocd/>
  29. <abo/>
  30. <bizdd/>
  31. <biztm/>
  32. <hinstcd/>
  33. <hinstnm/>
  34. <etc/>
  35. </delivelist>
  36. </main>
  37. <send>
  38. <fromdd/>
  39. <todd/>
  40. </send>
  41. <init>
  42. </init>
  43. <hidden>
  44. </hidden>
  45. </root>
  46. </instance>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fSetInit();
  53. ]]>
  54. </script>
  55. <submission id="TRLBP02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/delivelist"/>
  56. </model>
  57. <script type="javascript">
  58. <![CDATA[
  59. // 초기화
  60. function fSetInit() {
  61. var fromdate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-7)
  62. var todate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-1);
  63. model.setValue("/root/send/fromdd" , fromdate.getDateFormat("YYYYMMDD"));
  64. model.setValue("/root/send/todd" , todate.getDateFormat("YYYYMMDD"));
  65. model.refresh();
  66. }
  67. // 조회
  68. function fGetDelive(){
  69. submit("TRLBP02601");
  70. grd_rsltbiss.rowHidden(1) = true;
  71. grd_rsltbiss.refresh();
  72. //model.refresh();
  73. }
  74. // 엑셀 저장
  75. function fExeCSV(pGridId) {
  76. var fileName = window.fileDialog("save", ",", false, "출고BISS파일전송_"+getCurrentDate()+".CSV", "", "");
  77. if (fileName != "")
  78. {
  79. pGridId.saveText(fileName, "\n", ",", "", false, true);
  80. }
  81. }
  82. function fExeExcel(pGridId) {
  83. var dd = getCurrentDate();
  84. var fileName = window.fileDialog("save", ",", false, "출고BISS파일전송_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  85. if (fileName != "")
  86. {
  87. pGridId.saveExcel(fileName, dd, true, true , "", "0");
  88. }
  89. }
  90. ]]>
  91. </script>
  92. </xhtml:head>
  93. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  94. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
  95. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  96. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  97. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  98. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:94px; height:17px; ">출고일자 :</caption>
  99. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. fGetDelive();
  104. ]]>
  105. </script>
  106. </button>
  107. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  108. <input id="input26" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:110px; top:8px; width:110px; height:19px; "/>
  109. <input id="input1" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:245px; top:8px; width:110px; height:19px; "/>
  110. <caption id="caption111" class="caption1" style="left:225px; top:8px; width:20px; height:19px; font-weight:bold; ">~</caption>
  111. </group>
  112. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:197px; height:14px; ">혈액출고 조회(BISS)</caption>
  113. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  114. <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  115. <caption>CSV저장</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. fExeCSV(grd_rsltbiss);
  119. ]]>
  120. </script>
  121. </button>
  122. <button id="button2" class="btn2_letter5" style="left:1053px; top:49px; width:75px; height:19px; ">
  123. <caption>Excel저장</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. fExeExcel(grd_rsltbiss);
  127. ]]>
  128. </script>
  129. </button>
  130. <datagrid id="grd_rsltbiss" nodeset="/root/main/delivelist" caption="No^출고구분코드^출고구분명^출고일자^출고시간^제제코드^제제명^혈액번호^혈액형코드^혈액형^헌혈일^헌혈시간^출고처코드^출고처명^비고" colsep="^" colwidth="40, 80, 80, 80, 70, 70, 70, 100, 70, 70, 90, 70, 80, 100, 80" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" tooptip="true" style="left:0px; top:75px; width:1194px; height:646px; text-align:center; ">
  131. <col ref="seq"/>
  132. <col ref="delivecd"/>
  133. <col ref="delivenm" format="yyyy-mm-dd" style="left:140px; top:23px; width:80px; height:23px; "/>
  134. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  135. <col ref="delivetm" format="hh:nn" style="text-align:center; "/>
  136. <col ref="blodcd"/>
  137. <col ref="blodnm"/>
  138. <col ref="blodno" style="text-align:center; "/>
  139. <col ref="abocd" style="text-align:center; "/>
  140. <col ref="abo" style="text-align:center; "/>
  141. <col ref="bizdd" format="yyyy-mm-dd" style="text-align:center; "/>
  142. <col ref="biztm" format="hh:nn" style="text-align:center; "/>
  143. <col ref="hinstcd"/>
  144. <col ref="hinstnm"/>
  145. <col ref="etc" type="input"/>
  146. <script type="javascript" ev:event="onaftersort">
  147. <![CDATA[
  148. grd_rsltbiss.gridToInstance();
  149. ]]>
  150. </script>
  151. </datagrid>
  152. </group>
  153. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  154. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  155. <caption>초기화</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. window.reload();
  159. ]]>
  160. </script>
  161. </button>
  162. <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  163. <button id="button3" class="btn4_letter2" visibility="hidden" style="left:1068px; top:3px; width:56px; height:22px; ">
  164. <caption>저장</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. ]]>
  168. </script>
  169. </button>
  170. </group>
  171. <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
  172. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">혈액출고 조회(BISS)</caption>
  173. </group>
  174. </xhtml:body>
  175. </xhtml:html>