SMRWP02300_써클회비조회.xrw 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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>SMRWP02300_동호회 회비조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <emplclub>
  12. <emplclublist/>
  13. </emplclub>
  14. <emplmst>
  15. <emplmstlist/>
  16. </emplmst>
  17. </list>
  18. </main>
  19. <init/>
  20. <send>
  21. <emplmst>
  22. <emplno/>
  23. <emplnm/>
  24. <saldfrayflag>1</saldfrayflag>
  25. <payym/>
  26. <dutdeptcd/>
  27. <dutdeptnm/>
  28. <instcd/>
  29. </emplmst>
  30. <emplclub>
  31. <emplno/>
  32. <instcd/>
  33. <payappmm/>
  34. </emplclub>
  35. </send>
  36. <hidden/>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. misfGridInit(grd_empllist);
  42. misfGridInit(grd_clublist);
  43. /* Combo Data Setting
  44. misfComboComCdListMulti(공통코드군, Combo) */
  45. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  46. //misfComboComCdListMulti("Z0007","cmb_instcd");
  47. misfMsterDetailSet(grd_empllist,null, "TRRWP02301" ,"N");
  48. misfMsterDetailSet(grd_clublist,grd_empllist, "TRRWP02302" ,"N");
  49. var curdate = getCurrentDate();
  50. var cvtdate = curdate.toDate("YYYYMM");
  51. model.setValue(ipt_payym.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM"));
  52. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  53. //model.setValue(ipt_dutdeptcd.attribute("ref") , getUserInfo("posdeptcd"));
  54. //model.setValue(ipt_dutdeptnm.attribute("ref") , getUserInfo("posdeptnm"));
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRRWP02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplmst" resultref="/root/main/list/emplmst"/>
  59. <submission id="TRRWP02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplclub" resultref="/root/main/list/emplclub"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  66. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  67. </xhtml:head>
  68. <xhtml:body style="margin-left:8; margin-right:8; ">
  69. <group id="group1" style="left:0px; top:0px; width:1160px; height:13px; ">
  70. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">동호회 회비조회</caption>
  71. </group>
  72. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1160px; height:700px; ">
  73. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1158px; height:31px; background-color:#fffbf2; border-color:#ffd799; "/>
  74. <button id="btn_search" class="btn1_letter2" style="left:1098px; top:15px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. misfMsterDetailRetrieve();
  79. grd_empllist.subtotalposition = "below";
  80. grd_empllist.subtotal("clear", 0, 0);
  81. grd_empllist.subtotal("sum",grd_empllist.colRef("payinst") , grd_empllist.colRef("paydeduamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  82. ]]>
  83. </script>
  84. </button>
  85. <line id="line13" class="line_4" style="x1:1091px; y1:15px; x2:1091px; y2:37px; "/>
  86. <caption id="caption22" class="search_name" style="left:5px; top:17px; width:85px; height:17px; ">지급월:</caption>
  87. <input id="ipt_payym" ref="/root/send/emplmst/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:76px; top:15px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  88. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:144px; height:13px; ">사원리스트</caption>
  89. <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:800px; y2:66px; "/>
  90. <datagrid id="grd_empllist" nodeset="/root/main/list/emplmst/emplmstlist" visibility="visible" caption="사번^성명^주민번호^소속기관^부서^임용일^직급^직호^동호회비^기관코드^지급월" colsep="^" colwidth="69, 66, 91, 120, 110, 86, 82, 51, 84, 88, 136, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:1px; top:71px; width:800px; height:614px; ">
  91. <col ref="emplno"/>
  92. <col ref="emplnm" style="text-align:center; "/>
  93. <col ref="rregno" format="999999-9999999" style="text-align:center; "/>
  94. <col ref="instnm"/>
  95. <col ref="dutdeptnm"/>
  96. <col ref="entcodd" format="yyyy-mm-dd"/>
  97. <col ref="jobgradnm"/>
  98. <col ref="payclsnm"/>
  99. <col ref="paydeduamt" format="#,###" style="text-align:right; padding-right:10; "/>
  100. <col ref="instcd" visibility="hidden"/>
  101. <col ref="payappmm" visibility="hidden"/>
  102. <col ref="payinst" visibility="hidden"/>
  103. <script type="javascript" ev:event="onrowchanged">
  104. <![CDATA[
  105. misfMsterDetailRetrieve();
  106. grd_clublist.subtotalposition = "below";
  107. grd_clublist.subtotal("clear", 0, 0);
  108. grd_clublist.subtotal("sum",grd_clublist.colRef("emplno") , grd_clublist.colRef("clubcost"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  109. ]]>
  110. </script>
  111. </datagrid>
  112. <select1 id="cmb_instcd" ref="/root/send/emplmst/instcd" class="combo_s_essential" appearance="minimal" style="left:266px; top:15px; width:179px; height:19px; ">
  113. <choices>
  114. <itemset>
  115. <label/>
  116. <value/>
  117. </itemset>
  118. </choices>
  119. </select1>
  120. <caption id="cap_instcd" class="search_name" style="left:177px; top:16px; width:85px; height:17px; ">기 관 :</caption>
  121. <input id="ipt_dutdeptnm" ref="/root/send/emplmst/dutdeptnm" class="input_default" style="left:640px; top:15px; width:125px; height:19px; ">
  122. <script type="javascript" ev:event="xforms-value-changed">
  123. <![CDATA[
  124. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </input>
  129. <input id="ipt_dutdeptcd" ref="/root/send/emplmst/dutdeptcd" class="input_default" style="left:516px; top:15px; width:99px; height:19px; ">
  130. <script type="javascript" ev:event="xforms-value-changed">
  131. <![CDATA[
  132. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  133. model.refresh();
  134. ]]>
  135. </script>
  136. </input>
  137. <button id="btn_dutdeptcd" class="icon_search" style="left:619px; top:16px; width:16px; height:16px; ">
  138. <caption/>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. var recv_list = "dutdeptcd,dutdeptnm";
  142. var instcd = cmb_instcd.value;
  143. rpbfOpenDeptCdHelp(ipt_dutdeptnm,recv_list, instcd, "instcd");
  144. model.refresh();
  145. ]]>
  146. </script>
  147. </button>
  148. <caption id="caption3" class="search_name" style="left:451px; top:15px; width:63px; height:17px; ">부서 :</caption>
  149. <caption id="caption1" class="search_name" style="left:773px; top:17px; width:63px; height:17px; ">사번 :</caption>
  150. <button id="btn_emplno" class="icon_search" style="left:929px; top:15px; width:16px; height:16px; ">
  151. <caption/>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var recv_list = "emplno,emplnm" ;
  155. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  156. model.refresh();
  157. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  158. btn_search.dispatch("DOMActivate");
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. <input id="ipt_emplnos" ref="/root/send/emplmst/emplno" class="input_default" style="left:837px; top:15px; width:87px; height:19px; ">
  164. <script type="javascript" ev:event="onkeypress">
  165. <![CDATA[
  166. inputEnterKey("btn_search", "DOMActivate");
  167. ]]>
  168. </script>
  169. </input>
  170. <input id="ipt_emplnms" ref="/root/send/emplmst/emplnm" class="input_default" imemode="hangul" style="left:948px; top:15px; width:117px; height:19px; ">
  171. <script type="javascript" ev:event="onkeypress">
  172. <![CDATA[
  173. inputEnterKey("btn_search", "DOMActivate");
  174. ]]>
  175. </script>
  176. </input>
  177. <caption id="caption2" class="tit_2" style="left:807px; top:53px; width:144px; height:13px; ">가입동호회리스트</caption>
  178. <line id="line2" class="line_1" style="x1:805px; y1:66px; x2:1160px; y2:66px; "/>
  179. <datagrid id="grd_clublist" nodeset="/root/main/list/emplclub/emplclublist" visibility="visible" caption="사번^기관명^동호회명^동호회비^공제여부" colsep="^" colwidth="35, 105, 94, 75, 54" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:805px; top:71px; width:355px; height:614px; ">
  180. <col ref="emplno" visibility="hidden"/>
  181. <col ref="instnm"/>
  182. <col ref="cmntnm"/>
  183. <col ref="clubcost" format="#,###" style="text-align:right; "/>
  184. <col ref="payappyn" style="text-align:center; "/>
  185. </datagrid>
  186. </group>
  187. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1160px; height:25px; ">
  188. <button id="button4" class="btn6_letter2" style="left:0px; top:2px; width:56px; height:22px; ">
  189. <caption>출력</caption>
  190. </button>
  191. </group>
  192. </xhtml:body>
  193. </xhtml:html>