SMRWD09000_후원회기부금공제내역조회.xrw 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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>후원회기부금공제내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <hosedwndedu>
  11. <hosedwndedulist/>
  12. </hosedwndedu>
  13. </main>
  14. <send>
  15. <hosedwndedu>
  16. <instcd/>
  17. <payym/>
  18. <emplno/>
  19. <emplnm/>
  20. <prfshipflag/>
  21. <edwnflag>01</edwnflag>
  22. <payappyn/>
  23. </hosedwndedu>
  24. </send>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. misfGridInit(grd_hosedwndedulist);
  30. misfMsterDetailSet(grd_hosedwndedulist, null, "TRRWD09001" ,"N");
  31. var curdate = getCurrentDate();
  32. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  33. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  34. misfComboComCdListMulti("R0058","cmb_prfshipflag");
  35. // addComboItem( "cmb_instcd", "[-- 전체 --]", "", "above");
  36. // model.setValue(cmb_instcd.attribute("ref"), "");
  37. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "", "above");
  38. model.setValue(cmb_prfshipflag.attribute("ref"), "");
  39. //model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  40. model.refresh();
  41. model.setFocus("ipt_payym");
  42. ]]>
  43. </script>
  44. <submission id="TRRWD09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/hosedwndedu" resultref="/root/main/hosedwndedu"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  51. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  52. </xhtml:head>
  53. <xhtml:body style="margin-left:8; margin-right:8; ">
  54. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  55. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">후원회 기부금 공제 내역 조회</caption>
  56. </group>
  57. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  58. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  59. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">기부금 공제 List</caption>
  60. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  63. <caption>조회</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. misfMsterDetailRetrieve();
  67. grd_hosedwndedulist.subtotalposition = "below";
  68. grd_hosedwndedulist.subtotal("count",1 , grd_hosedwndedulist.colRef("deptnm") , "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "소계");
  69. grd_hosedwndedulist.subtotal("sum" ,1 , grd_hosedwndedulist.colRef("deduamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "소계");
  70. grd_hosedwndedulist.subtotal("count",-1 , grd_hosedwndedulist.colRef("deptnm") , "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  71. grd_hosedwndedulist.subtotal("sum" ,-1 , grd_hosedwndedulist.colRef("deduamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  72. ]]>
  73. </script>
  74. </button>
  75. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  76. <input id="ipt_payym" ref="/root/send/hosedwndedu/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:75px; top:7px; width:85px; height:19px; text-align:center; vertical-align:middle; "/>
  77. <caption id="cap_payym" class="search_name" style="left:6px; top:8px; width:81px; height:17px; ">공제월:</caption>
  78. <select1 id="cmb_instcd" ref="/root/send/hosedwndedu/instcd" class="combo_s_essential" appearance="minimal" style="left:228px; top:7px; width:171px; height:19px; ">
  79. <choices>
  80. <itemset>
  81. <label/>
  82. <value/>
  83. </itemset>
  84. </choices>
  85. <script type="javascript" ev:event="xforms-value-changed">
  86. <![CDATA[
  87. btn_search.dispatch("DOMActivate");
  88. ]]>
  89. </script>
  90. </select1>
  91. <caption id="cap_instcd" class="search_name" style="left:171px; top:8px; width:61px; height:17px; ">기관:</caption>
  92. <input id="ipt_emplnm" ref="/root/send/hosedwndedu/emplnm" class="input_default" style="left:794px; top:7px; width:96px; height:19px; ">
  93. <script type="javascript" ev:event="onkeyup">
  94. <![CDATA[
  95. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  96. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  97. inputEnterKey("btn_search", "DOMActivate");
  98. }
  99. ]]>
  100. </script>
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. var recv_list = "emplno,emplnm" ;
  104. rpbfValidationCheck("EMPLNM", recv_list);
  105. model.refresh();
  106. ]]>
  107. </script>
  108. </input>
  109. <button id="btn_emplno" class="icon_search" style="left:773px; top:7px; width:16px; height:16px; ">
  110. <caption/>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. var recv_list = "emplno,emplnm" ;
  114. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  115. model.refresh();
  116. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  117. btn_search.dispatch("DOMActivate");
  118. }
  119. ]]>
  120. </script>
  121. </button>
  122. <input id="ipt_emplno" ref="/root/send/hosedwndedu/emplno" class="input_default" style="left:699px; top:7px; width:70px; height:19px; ">
  123. <script type="javascript" ev:event="onkeyup">
  124. <![CDATA[
  125. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  126. inputEnterKey("ipt_emplno", "xforms-value-changed");
  127. inputEnterKey("btn_search", "DOMActivate");
  128. }
  129. ]]>
  130. </script>
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. var recv_list = "emplno,emplnm" ;
  134. rpbfValidationCheck("EMPLNO", recv_list);
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </input>
  139. <caption id="caption2" class="search_name" style="left:645px; top:8px; width:61px; height:17px; ">사번:</caption>
  140. <select1 id="cmb_prfshipflag" ref="/root/send/hosedwndedu/prfshipflag" class="combo_s_essential" appearance="minimal" style="left:495px; top:7px; width:130px; height:19px; ">
  141. <choices>
  142. <itemset>
  143. <label/>
  144. <value/>
  145. </itemset>
  146. </choices>
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. btn_search.dispatch("DOMActivate");
  150. ]]>
  151. </script>
  152. </select1>
  153. <caption id="caption1" class="search_name" style="left:413px; top:8px; width:81px; height:17px; ">교직구분:</caption>
  154. <select1 id="rdo_payappyn" ref="/root/send/hosedwndedu/payappyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:915px; top:7px; width:165px; height:20px; border-style:solid; ">
  155. <choices>
  156. <item>
  157. <label>전체</label>
  158. <value/>
  159. </item>
  160. <item>
  161. <label>반영</label>
  162. <value>Y</value>
  163. </item>
  164. <item>
  165. <label>미반영</label>
  166. <value>N</value>
  167. </item>
  168. </choices>
  169. </select1>
  170. </group>
  171. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  172. <caption>엑셀저장</caption>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  176. if (fileName != "")
  177. {
  178. grd_hosedwndedulist.saveExcel(fileName);
  179. }
  180. ]]>
  181. </script>
  182. </button>
  183. <datagrid id="grd_hosedwndedulist" nodeset="/root/main/hosedwndedu/hosedwndedulist" caption="기관^부서^사번^성명^교직구분^공제금액^급여반영여부|기관^부서^사번^성명^교직구분^공제금액^급여반영여부" colsep="^" colwidth="253, 230, 135, 164, 185, 141, 45" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:73px; width:1193px; height:667px; ">
  184. <col ref="instnm"/>
  185. <col ref="deptnm"/>
  186. <col ref="emplno"/>
  187. <col ref="emplnm"/>
  188. <col ref="prfshipflagnm"/>
  189. <col ref="deduamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  190. <col ref="payappyn" style="text-align:center; "/>
  191. </datagrid>
  192. </group>
  193. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  194. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  195. </group>
  196. </xhtml:body>
  197. </xhtml:html>