SMAVT01600_폐기분류.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAVT01100_기증자분류
  4. * 설 명 : 조직은행 기증자분류
  5. * 설 계 자 : 최예원 & 이정택
  6. * 작 성 자 : 최예원 & 이정택
  7. * 작 성 일 : 2011.01.08
  8. * 수정이력 : 2011.01.08
  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>조직은행 폐기 분류</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <abnclslist>
  20. <item>
  21. <delstep/>
  22. <delsau/>
  23. <partcode_total/>
  24. </item>
  25. </abnclslist>
  26. </main>
  27. <send>
  28. <srchfromdd/>
  29. <srchtodd/>
  30. <srchuseyn/>
  31. <srchgrafttypecd/>
  32. <srchgrafttypenm/>
  33. <srchflag/>
  34. </send>
  35. <init>
  36. <combobscdlst/>
  37. <comboabncdlst/>
  38. </init>
  39. <hidden/>
  40. <temp/>
  41. <rexprnt>
  42. <benflist>
  43. <srchfromdd/>
  44. <srchtodd/>
  45. </benflist>
  46. </rexprnt>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. fGetScreenInit();
  52. ]]>
  53. </script>
  54. <submission id="TRAVB00001"/>
  55. <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
  56. <submission id="TRAVT01600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/abnclslist"/>
  57. <submission id="TRAVB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combogtcdlst"/>
  58. </model>
  59. <script type="javascript">
  60. <![CDATA[
  61. // 화면 초기화
  62. function fGetScreenInit(){
  63. model.setValue("/root/send/srchfromdd", getCurrentDate());
  64. model.setValue("/root/send/srchtodd", getCurrentDate());
  65. model.removenode("/root/main/abnclslist");
  66. tbGetBscdList( new Array("R01", "S01"),
  67. new Array("/root/init/comboabncdlst", // R01 폐기사유
  68. "/root/init/combobscdlst") ); // S01 폐기단계
  69. rad_srchflag.select(0);
  70. var cnt = getNodesetCount("/root/init/comboabncdlst/R01");
  71. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+1) + "]/cdid", "총계");
  72. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+1) + "]/cdnm", "총계");
  73. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+2) + "]/cdid", "소계");
  74. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+2) + "]/cdnm", "소계");
  75. var cnt1 = getNodesetCount("/root/init/combobscdlst/S01");
  76. model.makeValue("/root/init/combobscdlst/S01[" + (parseInt(cnt1)+1) + "]/cdid", "총계");
  77. model.makeValue("/root/init/combobscdlst/S01[" + (parseInt(cnt1)+1) + "]/cdnm", "총계");
  78. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+2) + "]/cdid", "소계");
  79. model.makeValue("/root/init/comboabncdlst/R01[" + (parseInt(cnt)+2) + "]/cdnm", "소계");
  80. model.refresh();
  81. }
  82. ]]>
  83. </script>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  87. <script type="javascript" src="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
  88. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  89. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  90. </xhtml:head>
  91. <xhtml:body guideline="1,1194;2,784;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">조직은행 상태별 폐기 분류</caption>
  94. </group>
  95. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  96. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:250px; height:13px; ">조직은행 상태별 폐기 분류 리스트</caption>
  97. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  98. <datagrid id="dtg_abnclslist" nodeset="/root/main/abnclslist/item" scroll="auto" caption="폐 기 사 유^폐 기 사 유^합 계" colsep="^" colwidth="159, 442, 100" dataheight="23" defaultrows="3" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:664px; text-align:center; ">
  99. <col disabled="true" ref="delstep" type="combo">
  100. <choices>
  101. <itemset nodeset="/root/init/combobscdlst/S01">
  102. <label ref="cdnm"/>
  103. <value ref="cdid"/>
  104. </itemset>
  105. </choices>
  106. </col>
  107. <col disabled="true" ref="delsau" type="combo" style="text-align:left; padding-left:20; ">
  108. <choices>
  109. <itemset nodeset="/root/init/comboabncdlst/R01">
  110. <label ref="cdnm"/>
  111. <value ref="cdid"/>
  112. </itemset>
  113. </choices>
  114. </col>
  115. <col ref="partcode_total" type="output"/>
  116. <script type="javascript" ev:event="onaftersort">
  117. <![CDATA[
  118. dtg_abnclslist.gridToInstance();
  119. ]]>
  120. </script>
  121. </datagrid>
  122. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  123. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  124. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록일자 :</caption>
  125. <caption id="caption5" class="search_no_b" style="left:207px; top:9px; width:12px; height:17px; ">~</caption>
  126. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  127. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  128. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:9px; width:100px; height:19px; "/>
  129. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  130. <caption>조회</caption>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. if( model.getValue("/root/send/srchfromdd") == ""){
  134. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  135. return;
  136. }
  137. if( model.getValue("/root/send/srchtodd") == "" ){
  138. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  139. return;
  140. }
  141. submit("TRAVT01600");
  142. model.refresh();
  143. ]]>
  144. </script>
  145. </button>
  146. <select1 id="rad_srchflag" ref="/root/send/srchflag" appearance="full" cellspacing="15" cols="2" direction="acrossdown" overflow="visible" style="left:345px; top:9px; width:175px; height:20px; border-style:none; ">
  147. <choices>
  148. <item>
  149. <label>폐기일자</label>
  150. <value>1</value>
  151. </item>
  152. <item>
  153. <label>채취일자</label>
  154. <value>2</value>
  155. </item>
  156. </choices>
  157. </select1>
  158. </group>
  159. <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  160. <caption>엑셀저장</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  164. if (filename != "")
  165. {
  166. dtg_abnclslist.saveExcel(filename);
  167. }
  168. ]]>
  169. </script>
  170. </button>
  171. </group>
  172. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  173. </xhtml:body>
  174. </xhtml:html>