SMRWP07200_급여지급대장출력(성가).xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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. <paytotal014>
  11. <paytotal014list/>
  12. </paytotal014>
  13. </main>
  14. <init/>
  15. <send>
  16. <paytotal014>
  17. <payym/>
  18. <instcd/>
  19. <instcdnm/>
  20. <deptcd/>
  21. <deptnm/>
  22. <emplno/>
  23. <emplnm/>
  24. <prfshipflag/>
  25. <saldfrayflag/>
  26. <prntflag/>
  27. </paytotal014>
  28. </send>
  29. <hidden/>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. misfComboComCdListMulti("Z0007,R0058,R0112", "cmb_payinst,cmb_prfshipflag,cmb_SalDfrayFlag");
  35. makeReportPreview(0,110,1195,650);
  36. var today = getCurrentDate();
  37. var cur_yymm = parseInt(today.substring(0, 6));
  38. model.setValue("/root/send/paytotal014/payym", cur_yymm);
  39. ipt_payym.refresh();
  40. model.setValue("/root/send/paytotal014/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  41. misfGetUserAuth();
  42. if (DUTY_PAY_YN == "Y" ) {
  43. cmb_payinst.disabled = false;
  44. }
  45. else {
  46. cmb_payinst.disabled = true;
  47. }
  48. model.refresh();
  49. ]]>
  50. </script>
  51. <submission id="TRRWP07201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paytotal014" resultref="/root/main/paytotal014"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  57. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  58. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  59. </xhtml:head>
  60. <xhtml:body style="margin-left:8; margin-right:8; ">
  61. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여 지급대장 출력</caption>
  63. </group>
  64. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  65. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:18px; width:56px; height:22px; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. submit("TRRWP07201");
  71. ipt_payinstnm.value = cmb_payinst.label;
  72. if (cmb_SalDfrayFlag.value == "3" ) {
  73. exeReportPreview("RPRWP07201", "XMLSTR");//, "/root/main/payamt");
  74. }
  75. else if (cmb_SalDfrayFlag.value == "5" ) {
  76. exeReportPreview("RPRWP07202", "XMLSTR");//, "/root/main/payamt");
  77. }
  78. else {
  79. exeReportPreview("RPRWP07200", "XMLSTR");//, "/root/main/payamt");
  80. }
  81. ]]>
  82. </script>
  83. </button>
  84. <line id="line13" class="line_4" style="x1:1120px; y1:11px; x2:1120px; y2:45px; "/>
  85. <caption id="cap_payinst" class="search_name" style="left:170px; top:19px; width:86px; height:17px; ">급여기관:</caption>
  86. <select1 id="cmb_payinst" ref="/root/send/paytotal014/instcd" class="combo_s_essential" appearance="minimal" style="left:251px; top:18px; width:149px; height:19px; ">
  87. <choices>
  88. <itemset>
  89. <label/>
  90. <value/>
  91. </itemset>
  92. </choices>
  93. </select1>
  94. <caption id="caption22" class="search_name" style="left:10px; top:19px; width:85px; height:17px; ">지급월:</caption>
  95. <input id="ipt_payym" ref="/root/send/paytotal014/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:79px; top:18px; width:81px; height:19px; text-align:center; vertical-align:middle; "/>
  96. <caption id="caption28" class="tit_2" style="left:5px; top:52px; width:144px; height:13px; ">급여 지급대장</caption>
  97. <line id="line193" class="line_1" style="x1:2px; y1:67px; x2:1192px; y2:67px; "/>
  98. <input id="ipt_payinstnm" ref="/root/send/paytotal014/instcdnm" visibility="hidden" style="left:105px; top:47px; width:100px; height:19px; "/>
  99. <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_default" visibility="hidden" style="left:865px; top:45px; width:25px; height:19px; ">
  100. <script type="javascript" ev:event="onkeyup">
  101. <![CDATA[
  102. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  103. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  104. inputEnterKey("btn_search", "DOMActivate");
  105. }
  106. ]]>
  107. </script>
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. var recv_list = "emplno,emplnm" ;
  111. rpbfValidationCheck("EMPLNM", recv_list);
  112. model.refresh();
  113. ]]>
  114. </script>
  115. </input>
  116. <button id="btn_emplno" class="icon_search" visibility="hidden" style="left:855px; top:45px; width:16px; height:16px; ">
  117. <caption/>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. var recv_list = "emplno,emplnm" ;
  121. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  122. model.refresh();
  123. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  124. btn_search.dispatch("DOMActivate");
  125. }
  126. ]]>
  127. </script>
  128. </button>
  129. <input id="ipt_emplno" ref="/root/send/emplno" class="input_default" visibility="hidden" style="left:825px; top:45px; width:24px; height:19px; ">
  130. <script type="javascript" ev:event="onkeyup">
  131. <![CDATA[
  132. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  133. inputEnterKey("ipt_emplno", "xforms-value-changed");
  134. inputEnterKey("btn_search", "DOMActivate");
  135. }
  136. ]]>
  137. </script>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. var recv_list = "emplno,emplnm" ;
  141. rpbfValidationCheck("EMPLNO", recv_list);
  142. model.refresh();
  143. ]]>
  144. </script>
  145. </input>
  146. <caption id="caption1" class="search_name" visibility="hidden" style="left:890px; top:45px; width:86px; height:17px; ">교직구분:</caption>
  147. <caption id="caption3" class="search_name" visibility="hidden" style="left:750px; top:45px; width:86px; height:17px; ">사 번:</caption>
  148. <select1 id="cmb_prfshipflag" ref="/root/send/prfshipflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:970px; top:45px; width:25px; height:19px; ">
  149. <choices>
  150. <itemset>
  151. <label/>
  152. <value/>
  153. </itemset>
  154. </choices>
  155. </select1>
  156. <caption id="caption21" class="search_name" style="left:415px; top:19px; width:86px; height:17px; ">급여종류:</caption>
  157. <select1 id="cmb_SalDfrayFlag" ref="/root/send/paytotal014/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:496px; top:18px; width:125px; height:19px; ">
  158. <choices>
  159. <itemset>
  160. <label/>
  161. <value/>
  162. </itemset>
  163. </choices>
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  167. cmb_payinst.disabled = false;
  168. }
  169. else {
  170. cmb_payinst.disabled = true;
  171. model.setValue(cmb_payinst.attribute("ref") , getUserInfo("dutplceinstcd"));
  172. model.refresh();
  173. }
  174. ]]>
  175. </script>
  176. </select1>
  177. <caption id="caption2" class="search_name" visibility="visible" style="left:830px; top:19px; width:55px; height:17px; ">부서:</caption>
  178. <caption id="caption4" class="search_name" style="left:635px; top:19px; width:86px; height:17px; ">출력구분:</caption>
  179. <input id="ipt_deptnm" ref="/root/send/paytotal014/deptnm" class="input_default" disabled="true" visibility="visible" style="left:985px; top:18px; width:130px; height:19px; ">
  180. <script type="javascript" ev:event="xforms-value-changed">
  181. <![CDATA[
  182. misfValidationCheck("02", "", "deptcd,deptnm" );
  183. model.refresh();
  184. ]]>
  185. </script>
  186. </input>
  187. <button id="btn_deptcd" class="icon_search" disabled="true" visibility="visible" style="left:967px; top:18px; width:16px; height:16px; ">
  188. <caption/>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. var recv_list = "deptcd,deptnm";
  192. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  193. model.refresh();
  194. ]]>
  195. </script>
  196. </button>
  197. <input id="ipt_deptcd" ref="/root/send/paytotal014/deptcd" class="input_default" disabled="true" visibility="visible" style="left:885px; top:18px; width:80px; height:19px; ">
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. misfValidationCheck("02", "", "deptcd,deptnm" );
  201. model.refresh();
  202. ]]>
  203. </script>
  204. </input>
  205. <select1 id="cmb_prntflag" ref="/root/send/paytotal014/prntflag" class="combo_s_essential" appearance="minimal" style="left:715px; top:18px; width:100px; height:19px; ">
  206. <choices>
  207. <item>
  208. <label>전체</label>
  209. <value/>
  210. </item>
  211. <item>
  212. <label>스텝</label>
  213. <value>01</value>
  214. </item>
  215. <item>
  216. <label>레지던트</label>
  217. <value>02</value>
  218. </item>
  219. <item>
  220. <label>인턴</label>
  221. <value>03</value>
  222. </item>
  223. <item>
  224. <label>급여부서</label>
  225. <value>04</value>
  226. </item>
  227. <item>
  228. <label>임시직</label>
  229. <value>05</value>
  230. </item>
  231. <item>
  232. <label>수도직</label>
  233. <value>06</value>
  234. </item>
  235. <item>
  236. <label>사제직</label>
  237. <value>07</value>
  238. </item>
  239. <item>
  240. <label>비정규직</label>
  241. <value>08</value>
  242. </item>
  243. </choices>
  244. <script type="javascript" ev:event="xforms-value-changed">
  245. <![CDATA[
  246. if (cmb_prntflag.value == "04") {
  247. ipt_deptcd.disabled = false;
  248. btn_deptcd.disabled = false;
  249. ipt_deptnm.disabled = false;
  250. }
  251. else {
  252. ipt_deptcd.value = "";
  253. ipt_deptnm.value = "";
  254. ipt_deptcd.disabled = true;
  255. btn_deptcd.disabled = true;
  256. ipt_deptnm.disabled = true;
  257. }
  258. ]]>
  259. </script>
  260. </select1>
  261. </group>
  262. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  263. </xhtml:body>
  264. </xhtml:html>