SMRPA02700_동호회비공제관리(인사).xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. <clubclublist>
  11. <cmninstcd/>
  12. <cmninstnm/>
  13. <cmntcd/>
  14. <cmntnm/>
  15. <prsdmppnm/>
  16. <prsdmpphonno/>
  17. <totmembcnt/>
  18. <holdmembcnt/>
  19. <payrefmembcnt/>
  20. <totmmconvnt/>
  21. <paydeducretyn/>
  22. <paydeducretendyn/>
  23. <payappyn/>
  24. </clubclublist>
  25. </main>
  26. <send>
  27. <basepayappmm/>
  28. <cmntcd/>
  29. <cmninstcd/>
  30. <basepayappmm_s/>
  31. <payappsend>
  32. <instcd/>
  33. <payym/>
  34. <payitemcd/>
  35. </payappsend>
  36. <workgbn/>
  37. </send>
  38. <init/>
  39. <temp>
  40. <checklist>
  41. <creatyn/>
  42. <sumyn/>
  43. <payappyn/>
  44. <paytargetyn/>
  45. </checklist>
  46. </temp>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. misfGridInit(grd_clubclublist);
  52. misfComboClubCdList('', cmb_cmntcd,"Y");
  53. misfComboComCdList('Z0007', cmb_cmninstcd,"Y");
  54. misfMsterDetailSet(grd_clubclublist, null, "TRRPA02701" ,"Y");
  55. var cmninstcd = getUserInfo("dutplceinstcd");
  56. var curdate = getCurrentDate();
  57. var cvtdate = curdate.toDate("YYYYMM");
  58. ipt_basedd_s.value=cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM");
  59. cmb_cmninstcd.value=cmninstcd;
  60. ]]>
  61. </script>
  62. <submission id="TRRPA02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/clubclublist"/>
  63. <submission id="TRRPA02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  64. <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payappsend" resultref="/root/temp"/>
  65. </model>
  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/commonweb/js/stringHelper.js"/>
  70. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  71. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  73. </xhtml:head>
  74. <xhtml:body style="margin-left:8; margin-right:8; ">
  75. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  76. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">동호회비 공제내역조회</caption>
  77. </group>
  78. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:742px; ">
  79. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  81. <group id="group3" style="left:0px; top:50px; width:1195px; height:690px; ">
  82. <caption id="caption2" class="tit_2" style="left:0px; top:15px; width:109px; height:13px; ">동호회 LIST</caption>
  83. <line id="line2" class="line_1" style="x1:0px; y1:30px; x2:1195px; y2:30px; "/>
  84. <datagrid id="grd_clubclublist" nodeset="/root/main/clubclublist" caption="기관코드^기관명^단체코드^동호회명^회장성명^연락처^총인원수^보류인원^급여반영인원수^공제대상금액^급여공제금액^공제생성여부^공제완료여부^급여반영여부" colsep="^" colwidth="52, 132, 17, 150, 79, 94, 91, 69, 95, 81, 84, 84, 81, 86" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:35px; width:1195px; height:650px; ">
  85. <col ref="cmninstcd" visibility="hidden"/>
  86. <col ref="cmninstnm" style="text-align:center; "/>
  87. <col ref="cmntcd" visibility="hidden"/>
  88. <col ref="cmntnm"/>
  89. <col ref="prsdmppnm" style="text-align:center; "/>
  90. <col ref="prsdmpphonno" style="text-align:center; "/>
  91. <col ref="totmembcnt" style="text-align:right; "/>
  92. <col ref="holdmembcnt" style="text-align:right; "/>
  93. <col ref="payrefmembcnt" style="text-align:right; "/>
  94. <col ref="dedummconvnt" format="#,###" style="text-align:right; "/>
  95. <col ref="paydedummconvnt" format="#,###" style="text-align:right; "/>
  96. <col ref="paydeducretyn" style="text-align:center; "/>
  97. <col ref="paydeducretendyn" style="text-align:center; "/>
  98. <col ref="payappyn" style="text-align:center; "/>
  99. </datagrid>
  100. </group>
  101. <line id="line3" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  102. <input id="ipt_basedd_s" ref="/root/send/basepayappmm" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:90px; top:18px; width:125px; height:24px; ">
  103. <script type="javascript" ev:event="xforms-value-changed">
  104. <![CDATA[
  105. var instcd = cmb_cmninstcd.value;
  106. if( getStringLength(ipt_basedd_s.value) == "6" ) {
  107. model.removeNodeset(cmb_cmninstcd.attribute("ref"));
  108. model.makeNode("/root/send/cmninstcd");
  109. misfComboInstCdListMulti("cmb_cmninstcd",ipt_basedd_s.value,"","Y");
  110. cmb_cmninstcd.value = instcd;
  111. model.refresh();
  112. }
  113. ]]>
  114. </script>
  115. </input>
  116. <caption id="caption3" class="search_name" visibility="hidden" style="left:220px; top:55px; width:81px; height:17px; vertical-align:middle; ">동호회명:</caption>
  117. <caption id="caption8" class="search_name" style="left:6px; top:19px; width:81px; height:22px; vertical-align:middle; ">기준년월:</caption>
  118. <select1 id="cmb_cmntcd" ref="/root/send/cmntcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:305px; top:55px; width:160px; height:19px; ">
  119. <choices>
  120. <itemset nodeset="/root/main/init">
  121. <label ref="cnstnm"/>
  122. <value ref="cnstcd"/>
  123. </itemset>
  124. </choices>
  125. </select1>
  126. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:27px; ">
  127. <caption>조회</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. // var ddstr=ipt_basedd_s.value.substr(0,6);
  131. //ipt_basedd.value =ddstr;
  132. // ipt_basepayappmm.value=ddstr;
  133. if(ipt_basedd_s.value ==""){
  134. messageBox("기준년월은","I003");
  135. }
  136. if(ipt_basedd_s.value !="" ){
  137. submit("TRRPA02701");
  138. }
  139. grd_clubclublist.subtotalposition = "below";
  140. grd_clubclublist.subtotal("clear", 0, 0);
  141. grd_clubclublist.subtotal("sum",grd_clubclublist.colRef("cmninstcd") , grd_clubclublist.colRef("totmmconvnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  142. grd_clubclublist.subtotal("sum",grd_clubclublist.colRef("cmninstcd") , grd_clubclublist.colRef("totmembcnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  143. grd_clubclublist.subtotal("sum",grd_clubclublist.colRef("cmninstcd") , grd_clubclublist.colRef("holdmembcnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  144. grd_clubclublist.subtotal("sum",grd_clubclublist.colRef("cmninstcd") , grd_clubclublist.colRef("dedummconvnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  145. grd_clubclublist.subtotal("sum",grd_clubclublist.colRef("cmninstcd") , grd_clubclublist.colRef("paydedummconvnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 2, "합계");
  146. ]]>
  147. </script>
  148. </button>
  149. <input id="input1" ref="/root/send/payappsend/instcd" visibility="hidden" style="left:970px; top:15px; width:100px; height:19px; "/>
  150. <select1 id="cmb_cmninstcd" ref="/root/send/cmninstcd" class="combo_default" appearance="minimal" style="left:320px; top:20px; width:160px; height:19px; ">
  151. <choices>
  152. <itemset nodeset="/root/main/init">
  153. <label ref="cnstnm"/>
  154. <value ref="cnstcd"/>
  155. </itemset>
  156. </choices>
  157. </select1>
  158. <caption id="caption1" class="search_name" style="left:235px; top:20px; width:81px; height:17px; vertical-align:middle; ">기 관:</caption>
  159. </group>
  160. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  161. <button id="btn_init" class="btn4_letter3" style="left:1040px; top:3px; width:68px; height:22px; ">
  162. <caption>초기화</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. misfGridInit(grd_clubclublist);
  166. model.resetInstanceNode("/root/send");
  167. model.refresh();
  168. var cmninstcd = getUserInfo("dutplceinstcd");
  169. ipt_cmninstcd.value=cmninstcd;
  170. ]]>
  171. </script>
  172. </button>
  173. <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  174. <button id="button2" class="btn4_letter4" style="left:1109px; top:3px; width:80px; height:22px; ">
  175. <caption>급여이체</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. if(!isRequiredControls("ipt_basedd_s"))return;
  179. var retMes = messageBox("급여이체를 ", "Q004");
  180. if ( retMes != 6) {
  181. return;
  182. }
  183. model.setValue("/root/send/workgbn","P");
  184. submit("TRRPA02702");
  185. var creatyn= model.getValue("/root/temp/checklist/creatyn");
  186. var payappyn =model.getValue("/root/temp/checklist/payappyn");
  187. var paydeducretendyn = model.getValue("/root/temp/checklist/paydeducretendyn");
  188. var paytargetyn = model.getValue("/root/temp/checklist/paytargetyn");
  189. if(creatyn !='Y' || paydeducretendyn =='N'){
  190. messageBox("동호회비 공제작업이 미처리된 자료가 있어 처리 할수 ","I004");
  191. return;
  192. }
  193. if(paytargetyn !='Y'){
  194. messageBox("급여대상자가 생성되지 않아 급여이체를","E001");
  195. return;
  196. }
  197. if(payappyn =='Y'){
  198. messageBox("급여이체 자료가 이미","I001");
  199. return;
  200. }
  201. var instcd = getUserInfo("dutplceinstcd");
  202. var payym = model.getValue("/root/send/basepayappmm");
  203. var payitemcd = "60290";
  204. model.setValue("/root/send/payappsend/instcd",instcd);
  205. model.setValue("/root/send/payappsend/payym",payym);
  206. model.setValue("/root/send/payappsend/payitemcd",payitemcd);
  207. misfSave("TXRWZ00303");
  208. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  209. messageBox("급여이체작업이","I001");
  210. btn_search.dispatch("DOMActivate");
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. </group>
  216. </xhtml:body>
  217. </xhtml:html>