SMRWP02400_기관별급여내역조회.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <payspecdata>
  11. <payamtlist/>
  12. <paytitlelist/>
  13. </payspecdata>
  14. </main>
  15. <init>
  16. <temp/>
  17. </init>
  18. <send>
  19. <payspec>
  20. <saldfrayflag/>
  21. <payfromym/>
  22. <paytoym/>
  23. <payclsprfshipflag/>
  24. <instcd/>
  25. <holyordflag/>
  26. </payspec>
  27. </send>
  28. <hidden/>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. /* Combo Data Setting
  34. misfComboComCdListMulti(공통코드군, Combo) */
  35. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  36. misfComboComCdListMulti("R0112,R0066,R0097","cmb_SalDfrayFlag,cmb_holyordflag,cmb_payclsprfshipflag");
  37. var curdate = getCurrentDate();
  38. var cvtdate = curdate.toDate("YYYYMM");
  39. //model.setValue(ipt_payfromym.attribute("ref") , cvtdate.getAddDate(-1,"M").getDateFormat("YYYYMM"));
  40. model.setValue(ipt_payfromym.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM"));
  41. model.setValue(ipt_paytoym.attribute("ref") , model.getValue(ipt_payfromym.attribute("ref")));
  42. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  43. model.setValue(cmb_SalDfrayFlag.attribute("ref") , "1");
  44. rszfComboAppendBlankChild("cmb_payclsprfshipflag");
  45. rszfComboAppendBlankChild("cmb_holyordflag");
  46. model.setValue(cmb_payclsprfshipflag.attribute("ref") , "");
  47. model.setValue(cmb_holyordflag.attribute("ref") , "");
  48. misfGetUserAuth();
  49. if (DUTY_PAY_YN == "Y" ) {
  50. cmb_instcd.disabled = false;
  51. }
  52. else {
  53. cmb_instcd.disabled = true;
  54. }
  55. model.refresh();
  56. model.setFocus("cmb_SalDfrayFlag");
  57. ]]>
  58. </script>
  59. <submission id="TRRWP02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspec" resultref="/root/main/payspecdata"/>
  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/miscommonweb/js/RSZ001.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  68. </xhtml:head>
  69. <xhtml:body style="margin-left:8; margin-right:8; ">
  70. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  71. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">기관별 급여 내역 조회</caption>
  72. </group>
  73. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  74. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  75. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  76. <caption>조회</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. if (grd_payamtlist.nodeset.length> 0) {
  80. model.removeNodeset("/root/main/payspecdata/payamtlist");
  81. grd_payamtlist.nodeset = "/root/init/temp";
  82. for (var i = grd_payamtlist.cols-1; i >= 1 ; i--) {
  83. grd_payamtlist.removeColumn(false);
  84. }
  85. grd_payamtlist.caption = "";
  86. model.refresh();
  87. grd_payamtlist.rebuild();
  88. }
  89. submit("TRRWP02401");
  90. var node = instance1.selectNodes("/root/main/payspecdata/payamtlist[1]/*");
  91. var payitemcnt = model.getValue("/root/main/payspecdata/paytitlelist/payitemcnt") ;
  92. for(i=0;i<payitemcnt;i++) {
  93. if (i == 0) {
  94. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " style:" + "text-align:left; ", false);
  95. }
  96. else {
  97. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " format:" + "(-)#,###;" + " style:" + "text-align:right; ", false);
  98. }
  99. }
  100. grd_payamtlist.caption = model.getValue("/root/main/payspecdata/paytitlelist/paytitle") + "|" + model.getValue("/root/main/payspecdata/paytitlelist/paytitle");
  101. grd_payamtlist.nodeset = "/root/main/payspecdata/payamtlist";
  102. grd_payamtlist.rebuild();
  103. if(grd_payamtlist.cols > 3)
  104. {
  105. grd_payamtlist.colwidth(1) = 150;
  106. grd_payamtlist.colwidth(2) = 50;
  107. grd_payamtlist.frozenCols = 2;
  108. }
  109. // grd_payamtlist.rebuild();
  110. ]]>
  111. </script>
  112. </button>
  113. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  114. <line id="line9" class="line_1" style="x1:2px; y1:69px; x2:1192px; y2:69px; "/>
  115. <caption id="caption34" class="tit_2" style="left:3px; top:54px; width:157px; height:13px; ">기관별 급여 내역 List</caption>
  116. <caption id="caption21" class="search_name" style="left:202px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  117. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payspec/saldfrayflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:283px; top:16px; width:125px; height:19px; ">
  118. <choices>
  119. <itemset>
  120. <label/>
  121. <value/>
  122. </itemset>
  123. </choices>
  124. </select1>
  125. <caption id="caption22" class="search_name" style="left:412px; top:18px; width:85px; height:17px; ">지급월:</caption>
  126. <input id="ipt_payfromym" ref="/root/send/payspec/payfromym" class="input_default" navindex="3" inputtype="date" format="yyyy-mm" style="left:481px; top:16px; width:106px; height:19px; text-align:center; vertical-align:middle; "/>
  127. <datagrid id="grd_payamtlist" colsep="^" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:2px; top:75px; width:1190px; height:660px; "/>
  128. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  129. <caption>엑셀저장</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  133. if (fileName != "")
  134. {
  135. grd_payamtlist.saveExcel(fileName);
  136. }
  137. ]]>
  138. </script>
  139. </button>
  140. <select1 id="cmb_payclsprfshipflag" ref="/root/send/payspec/payclsprfshipflag" class="combo_s_essential" navindex="6" appearance="minimal" style="left:1007px; top:16px; width:100px; height:19px; ">
  141. <choices>
  142. <itemset>
  143. <label/>
  144. <value/>
  145. </itemset>
  146. </choices>
  147. </select1>
  148. <caption id="caption4" class="search_name" style="left:895px; top:18px; width:112px; height:17px; ">호봉교직구분 :</caption>
  149. <input id="ipt_paytoym" ref="/root/send/payspec/paytoym" class="input_default" navindex="4" visibility="visible" inputtype="date" format="yyyy-mm" style="left:589px; top:16px; width:106px; height:19px; text-align:center; vertical-align:middle; "/>
  150. <select1 id="cmb_instcd" ref="/root/send/payspec/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:64px; top:16px; width:134px; height:19px; ">
  151. <choices>
  152. <itemset>
  153. <label/>
  154. <value/>
  155. </itemset>
  156. </choices>
  157. </select1>
  158. <caption id="cap_instcd" class="search_name" style="left:5px; top:17px; width:85px; height:17px; ">기관 :</caption>
  159. <caption id="caption2" class="search_name" style="left:702px; top:18px; width:87px; height:17px; ">직원구분 :</caption>
  160. <select1 id="cmb_holyordflag" ref="/root/send/payspec/holyordflag" class="combo_s_essential" navindex="5" appearance="minimal" style="left:789px; top:16px; width:96px; height:19px; ">
  161. <choices>
  162. <itemset>
  163. <label/>
  164. <value/>
  165. </itemset>
  166. </choices>
  167. </select1>
  168. </group>
  169. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  170. </xhtml:body>
  171. </xhtml:html>