SMRWP03200_부서별수당내역조회(빈센트).xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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. <dutypayamt>
  11. <dutypayamtlist/>
  12. </dutypayamt>
  13. <dutysumpayamt>
  14. <dutysumpayamtlist/>
  15. </dutysumpayamt>
  16. </main>
  17. <send>
  18. <dutypayamt>
  19. <instcd/>
  20. <payym/>
  21. <deptcd/>
  22. <deptnm/>
  23. <emplno/>
  24. <emplnm/>
  25. <saldfrayflag>1</saldfrayflag>
  26. <paytotyn/>
  27. </dutypayamt>
  28. </send>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. misfGridInit(grd_dutypayamtlist);
  34. misfGridInit(grd_dutysumpayamtlist);
  35. misfMsterDetailSet(grd_dutypayamtlist, null, "TRRWP02801" ,"N");
  36. var curdate = getCurrentDate();
  37. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  38. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  39. //misfComboComCdListMulti("Z0007","cmb_instcd");
  40. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  41. misfGetUserAuth();
  42. if (DUTY_PAY_YN == "Y" ) {
  43. cmb_instcd.disabled = false;
  44. }
  45. else {
  46. cmb_instcd.disabled = true;
  47. }
  48. model.refresh();
  49. model.setFocus("cmb_instcd");
  50. ]]>
  51. </script>
  52. <submission id="TRRWP02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutypayamt" resultref="/root/main/dutypayamt"/>
  53. <submission id="TRRWP02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutypayamt" resultref="/root/main/dutysumpayamt"/>
  54. </model>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  59. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  60. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  61. </xhtml:head>
  62. <xhtml:body style="margin-left:8; margin-right:8; ">
  63. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  64. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">부서별 수당 내역 조회</caption>
  65. </group>
  66. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  67. <datagrid id="grd_dutysumpayamtlist" nodeset="/root/main/dutysumpayamt/dutysumpayamtlist" visibility="hidden" caption="부서^인원^초연수당^야간수당^교연수당^당직수당^휴일(50%)^계|부서^인원^초연수당^야간수당^교연수당^당직수당^휴일(50%)^계" colsep="^" colwidth="229, 79, 138, 127, 140, 136, 133, 166" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  68. <col ref="deptnm"/>
  69. <col ref="deptcnt" style="text-align:center; vertical-align:middle; "/>
  70. <col ref="extnpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  71. <col ref="nigtpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  72. <col ref="tranalwnamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  73. <col ref="adminngdtpayamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  74. <col ref="holidutamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  75. <col ref="dutpaytotamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  76. </datagrid>
  77. <datagrid id="grd_dutypayamtlist" nodeset="/root/main/dutypayamt/dutypayamtlist" caption="부서^사번^성명^직위^직급^호봉^시급^연장^연장^연장^연장^초연수당^야간^야간^야간^야간수당^교대^교대^당직^당직^휴일(50%)^휴일(50%)^급여기관^근무지부서코드|부서^사번^성명^직위^직급^호봉^시급^특근^번표^착오^조출^초연수당^특근^번표^착오^야간수당^시간^수당^일수^수당^시간^수당^급여기관^근무지부서코드" colsep="^" colwidth="106, 72, 77, 68, 64, 51, 74, 43, 41, 42, 43, 82, 43, 38, 38, 75, 36, 87, 33, 83, 35, 82, 18, 28" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  78. <col ref="deptnm"/>
  79. <col ref="emplno"/>
  80. <col ref="emplnm"/>
  81. <col ref="jobposnm"/>
  82. <col ref="jobgradnm"/>
  83. <col ref="payclsnm"/>
  84. <col ref="timepayamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  85. <col ref="ovtmworkextnbiztm" style="text-align:center; vertical-align:middle; "/>
  86. <col ref="holiduttm" style="text-align:center; vertical-align:middle; "/>
  87. <col ref="extnbfmmstktm" style="text-align:center; vertical-align:middle; "/>
  88. <col ref="earlyattdnctm" style="text-align:center; vertical-align:middle; "/>
  89. <col ref="extnpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  90. <col ref="ovtmworknigtbiztm" style="text-align:center; vertical-align:middle; "/>
  91. <col ref="nigtlabrtm" style="text-align:center; vertical-align:middle; "/>
  92. <col ref="nigtbfmmstktm" style="text-align:center; vertical-align:middle; "/>
  93. <col ref="nigtpayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  94. <col ref="tranalwntm" style="text-align:center; vertical-align:middle; "/>
  95. <col ref="tranalwnamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  96. <col ref="adminngdtnigtno" style="text-align:center; vertical-align:middle; "/>
  97. <col ref="adminngdtnigtamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  98. <col ref="holiduttm2" style="text-align:center; vertical-align:middle; "/>
  99. <col ref="holidutamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  100. <col ref="payinst" visibility="hidden"/>
  101. <col ref="dutplcedeptcd" visibility="hidden"/>
  102. </datagrid>
  103. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  104. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">부서별 수당 내역 List</caption>
  105. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  106. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  107. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  108. <caption>조회</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. misfMsterDetailRetrieve();
  112. if (chk_paytot.value == "Y") {
  113. grd_dutysumpayamtlist.subtotal("clear", 0, 0);
  114. grd_dutysumpayamtlist.subtotalPosition = "below";
  115. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("deptcnt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  116. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("extnpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  117. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("nigtpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  118. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("oproompayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  119. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("tranalwnamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  120. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("earlyattdncamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  121. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("adminngdtpayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  122. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("holidutamt2"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  123. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("opnofhosppayamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  124. grd_dutysumpayamtlist.subtotal("sum",-1 , grd_dutysumpayamtlist.colRef("dutpaytotamt"), "format:(-)#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  125. }
  126. ]]>
  127. </script>
  128. </button>
  129. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  130. <input id="ipt_payym" ref="/root/send/dutypayamt/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:155px; top:7px; width:75px; height:19px; text-align:center; vertical-align:middle; "/>
  131. <caption id="cap_payym" class="search_name" style="left:86px; top:8px; width:70px; height:17px; ">지급월:</caption>
  132. <select1 id="cmb_instcd" ref="/root/send/dutypayamt/instcd" class="combo_s_essential" appearance="minimal" style="left:303px; top:7px; width:111px; height:19px; ">
  133. <choices>
  134. <itemset>
  135. <label/>
  136. <value/>
  137. </itemset>
  138. </choices>
  139. </select1>
  140. <caption id="cap_instcd" class="search_name" style="left:246px; top:8px; width:61px; height:17px; ">기관:</caption>
  141. <input id="ipt_deptnm" ref="/root/send/dutypayamt/deptnm" class="input_default" style="left:756px; top:7px; width:104px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. misfValidationCheck("02", "", "deptcd,deptnm" );
  145. model.refresh();
  146. ]]>
  147. </script>
  148. </input>
  149. <button id="btn_deptcd" class="icon_search" style="left:735px; top:7px; width:16px; height:16px; ">
  150. <caption/>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. var recv_list = "deptcd,deptnm";
  154. var instcd = cmb_instcd.value;
  155. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  156. model.refresh();
  157. ]]>
  158. </script>
  159. </button>
  160. <input id="ipt_deptcd" ref="/root/send/dutypayamt/deptcd" class="input_default" style="left:651px; top:7px; width:79px; height:19px; ">
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. misfValidationCheck("02", "", "deptcd,deptnm" );
  164. model.refresh();
  165. ]]>
  166. </script>
  167. </input>
  168. <caption id="caption1" class="search_name" style="left:595px; top:8px; width:61px; height:17px; ">부서:</caption>
  169. <input id="ipt_emplnm" ref="/root/send/dutypayamt/emplnm" class="input_default" style="left:1029px; top:7px; width:76px; height:19px; ">
  170. <script type="javascript" ev:event="onkeyup">
  171. <![CDATA[
  172. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  173. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  174. inputEnterKey("btn_search", "DOMActivate");
  175. }
  176. ]]>
  177. </script>
  178. <script type="javascript" ev:event="xforms-value-changed">
  179. <![CDATA[
  180. var recv_list = "emplno,emplnm" ;
  181. rpbfValidationCheck("EMPLNM", recv_list);
  182. model.refresh();
  183. ]]>
  184. </script>
  185. </input>
  186. <button id="btn_emplno" class="icon_search" style="left:1008px; top:7px; width:16px; height:16px; ">
  187. <caption/>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. var recv_list = "emplno,emplnm" ;
  191. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  192. model.refresh();
  193. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  194. btn_search.dispatch("DOMActivate");
  195. }
  196. ]]>
  197. </script>
  198. </button>
  199. <input id="ipt_emplno" ref="/root/send/dutypayamt/emplno" class="input_default" style="left:934px; top:7px; width:70px; height:19px; ">
  200. <script type="javascript" ev:event="onkeyup">
  201. <![CDATA[
  202. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  203. inputEnterKey("ipt_emplno", "xforms-value-changed");
  204. inputEnterKey("btn_search", "DOMActivate");
  205. }
  206. ]]>
  207. </script>
  208. <script type="javascript" ev:event="xforms-value-changed">
  209. <![CDATA[
  210. var recv_list = "emplno,emplnm" ;
  211. rpbfValidationCheck("EMPLNO", recv_list);
  212. model.refresh();
  213. ]]>
  214. </script>
  215. </input>
  216. <caption id="caption2" class="search_name" style="left:880px; top:8px; width:61px; height:17px; ">사번:</caption>
  217. <select id="chk_paytot" ref="/root/send/dutypayamt/paytotyn" overflow="visible" appearance="full" style="left:10px; top:7px; width:71px; height:20px; border-style:solid; ">
  218. <choices>
  219. <item>
  220. <label>집계조회</label>
  221. <value>Y</value>
  222. </item>
  223. </choices>
  224. <script type="javascript" ev:event="xforms-value-changed">
  225. <![CDATA[
  226. misfMsterDetailDel();
  227. if (chk_paytot.value == "Y") {
  228. ipt_deptcd.value = "";
  229. ipt_deptnm.value = "";
  230. ipt_emplno.value = "";
  231. ipt_emplnm.value = "";
  232. ipt_deptcd.disabled = true;
  233. btn_deptcd.disabled = true;
  234. ipt_deptnm.disabled = true;
  235. ipt_emplno.disabled = true;
  236. btn_emplno.disabled = true;
  237. ipt_emplnm.disabled = true;
  238. grd_dutypayamtlist.visible = false;
  239. grd_dutysumpayamtlist.visible = true;
  240. misfMsterDetailSet(grd_dutysumpayamtlist, null, "TRRWP02802" ,"N");
  241. }
  242. else {
  243. ipt_deptcd.disabled = false;
  244. btn_deptcd.disabled = false;
  245. ipt_deptnm.disabled = false;
  246. ipt_emplno.disabled = false;
  247. btn_emplno.disabled = false;
  248. ipt_emplnm.disabled = false;
  249. grd_dutysumpayamtlist.visible = false;
  250. grd_dutypayamtlist.visible = true;
  251. misfMsterDetailSet(grd_dutypayamtlist, null, "TRRWP02801" ,"N");
  252. }
  253. ]]>
  254. </script>
  255. </select>
  256. <select1 id="rdo_saldfrayflag" ref="/root/send/dutypayamt/saldfrayflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:430px; top:7px; width:155px; height:19px; border-style:solid; ">
  257. <choices>
  258. <item>
  259. <label>정기급여</label>
  260. <value>1</value>
  261. </item>
  262. <item>
  263. <label>정기급여2</label>
  264. <value>F</value>
  265. </item>
  266. </choices>
  267. </select1>
  268. </group>
  269. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  270. <caption>엑셀저장</caption>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  274. if (fileName != "")
  275. {
  276. if (chk_paytot.value == "Y") {
  277. grd_dutysumpayamtlist.saveExcel(fileName);
  278. }
  279. else {
  280. grd_dutypayamtlist.saveExcel(fileName);
  281. }
  282. }
  283. ]]>
  284. </script>
  285. </button>
  286. </group>
  287. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  288. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  289. </group>
  290. </xhtml:body>
  291. </xhtml:html>