SMRWP07900_급여내역메일전송.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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. <payamtlist/>
  11. </main>
  12. <init/>
  13. <send>
  14. <payym/>
  15. <instcd/>
  16. <instcdnm/>
  17. <deptcd/>
  18. <deptnm/>
  19. <emplno/>
  20. <emplnm/>
  21. <prfshipflag/>
  22. <saldfrayflag/>
  23. <paytoym/>
  24. <holyordflag/>
  25. </send>
  26. <send1>
  27. <payamtlist/>
  28. </send1>
  29. <hidden/>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. misfComboInstCdListMulti("cmb_payinst",getCurrentDate(),"","N");
  35. misfComboComCdListMulti("R0058,R0066,R0112", "cmb_prfshipflag,cmb_holyordflag,cmb_SalDfrayFlag");
  36. //makeReportPreview(0,110,1195,650);
  37. //rszfComboAppendBlankChild("cmb_holyordflag");
  38. model.setValue(cmb_holyordflag.attribute("ref") , "2");
  39. var today = getCurrentDate();
  40. var cur_yymm = parseInt(today.substring(0, 6));
  41. model.setValue("/root/send/payym", cur_yymm);
  42. model.setValue("/root/send/paytoym", cur_yymm);
  43. model.setValue("/root/send/saldfrayflag", "1");
  44. ipt_payym.refresh();
  45. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  46. misfGetUserAuth();
  47. if (DUTY_PAY_YN == "Y" ) {
  48. cmb_payinst.disabled = false;
  49. }
  50. else {
  51. cmb_payinst.disabled = true;
  52. }
  53. model.refresh();
  54. ]]>
  55. </script>
  56. <submission id="TRRWP07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/payamtlist"/>
  57. <submission id="TXRWP07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/payamtlist"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  64. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  65. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  66. </xhtml:head>
  67. <xhtml:body style="margin-left:8; margin-right:8; ">
  68. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  69. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여 지급대장 출력</caption>
  70. </group>
  71. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  72. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:60; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:28; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. submit("TRRWP07001");
  78. /*
  79. ipt_payinstnm.value = cmb_payinst.label;
  80. if (model.getValue("/root/send/saldfrayflag") == "1" || model.getValue("/root/send/saldfrayflag") == "8" || model.getValue("/root/send/saldfrayflag") == "E"){
  81. if (model.getValue("/root/send/holyordflag") == "1"){
  82. exeReportPreview("RPRWP07000", "XMLSTR");//, "/root/main/payamt");
  83. }else{
  84. exeReportPreview("RPRWP07002", "XMLSTR");//, "/root/main/payamt");
  85. }
  86. }else{
  87. exeReportPreview("RPRWP07003", "XMLSTR");//, "/root/main/payamt");
  88. }
  89. */
  90. ]]>
  91. </script>
  92. </button>
  93. <line id="line13" class="line_4" style="x1:1120px; y1:14; x2:1120px; y2:64; "/>
  94. <caption id="cap_payinst" class="search_name" style="left:310px; top:19px; width:86px; height:17px; ">급여기관:</caption>
  95. <select1 id="cmb_payinst" ref="/root/send/instcd" class="combo_s_essential" navindex="3" appearance="minimal" style="left:391px; top:18px; width:179px; height:19px; ">
  96. <choices>
  97. <itemset>
  98. <label/>
  99. <value/>
  100. </itemset>
  101. </choices>
  102. </select1>
  103. <caption id="caption22" class="search_name" style="left:10px; top:19px; width:85px; height:17px; ">지급월:</caption>
  104. <input id="ipt_payym" ref="/root/send/payym" class="input_default" navindex="1" inputtype="date" format="yyyy-mm" style="left:79px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  105. <caption id="caption28" class="tit_2" style="left:5px; top:75; width:144px; height:14px; ">급여 지급대장</caption>
  106. <line id="line193" class="line_1" style="x1:2px; y1:90; x2:1192px; y2:90; "/>
  107. <input id="ipt_payinstnm" ref="/root/send/instcdnm" visibility="hidden" style="left:105px; top:70px; width:100px; height:19px; "/>
  108. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_default" style="left:185px; top:44px; width:94px; height:19px; ">
  109. <script type="javascript" ev:event="xforms-value-changed">
  110. <![CDATA[
  111. misfValidationCheck("02", "", "deptcd,deptnm" );
  112. model.refresh();
  113. ]]>
  114. </script>
  115. </input>
  116. <button id="btn_deptcd" class="icon_search" navindex="6" style="left:167px; top:45px; width:16px; height:16px; ">
  117. <caption/>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. var recv_list = "deptcd,deptnm";
  121. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  122. model.refresh();
  123. ]]>
  124. </script>
  125. </button>
  126. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_default" style="left:80px; top:44px; width:85px; height:19px; ">
  127. <script type="javascript" ev:event="xforms-value-changed">
  128. <![CDATA[
  129. misfValidationCheck("02", "", "deptcd,deptnm" );
  130. model.refresh();
  131. ]]>
  132. </script>
  133. </input>
  134. <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_default" style="left:470px; top:44px; width:99px; height:19px; ">
  135. <script type="javascript" ev:event="onkeyup">
  136. <![CDATA[
  137. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  138. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  139. inputEnterKey("btn_search", "DOMActivate");
  140. }
  141. ]]>
  142. </script>
  143. <script type="javascript" ev:event="xforms-value-changed">
  144. <![CDATA[
  145. var recv_list = "emplno,emplnm" ;
  146. rpbfValidationCheck("EMPLNM", recv_list);
  147. model.refresh();
  148. ]]>
  149. </script>
  150. </input>
  151. <button id="btn_emplno" class="icon_search" navindex="7" style="left:451px; top:45px; width:16px; height:16px; ">
  152. <caption/>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. var recv_list = "emplno,emplnm" ;
  156. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  157. model.refresh();
  158. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  159. btn_search.dispatch("DOMActivate");
  160. }
  161. ]]>
  162. </script>
  163. </button>
  164. <input id="ipt_emplno" ref="/root/send/emplno" class="input_default" style="left:391px; top:44px; width:55px; height:19px; ">
  165. <script type="javascript" ev:event="onkeyup">
  166. <![CDATA[
  167. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  168. inputEnterKey("ipt_emplno", "xforms-value-changed");
  169. inputEnterKey("btn_search", "DOMActivate");
  170. }
  171. ]]>
  172. </script>
  173. <script type="javascript" ev:event="xforms-value-changed">
  174. <![CDATA[
  175. var recv_list = "emplno,emplnm" ;
  176. rpbfValidationCheck("EMPLNO", recv_list);
  177. model.refresh();
  178. ]]>
  179. </script>
  180. </input>
  181. <caption id="caption1" class="search_name" style="left:610px; top:46px; width:86px; height:17px; ">급여분류:</caption>
  182. <caption id="caption2" class="search_name" style="left:10; top:45; width:86px; height:17px; ">부 서:</caption>
  183. <caption id="caption3" class="search_name" style="left:310px; top:45px; width:86px; height:17px; ">사 번:</caption>
  184. <select1 id="cmb_prfshipflag" ref="/root/send/prfshipflag" class="combo_s_essential" navindex="8" appearance="minimal" style="left:691px; top:44px; width:125px; height:19px; ">
  185. <choices>
  186. <itemset>
  187. <label/>
  188. <value/>
  189. </itemset>
  190. </choices>
  191. </select1>
  192. <caption id="caption21" class="search_name" style="left:610px; top:19px; width:86px; height:17px; ">급여종류:</caption>
  193. <select1 id="cmb_SalDfrayFlag" ref="/root/send/saldfrayflag" class="combo_s_essential" navindex="4" appearance="minimal" style="left:691px; top:18px; width:125px; height:19px; ">
  194. <choices>
  195. <itemset>
  196. <label/>
  197. <value/>
  198. </itemset>
  199. </choices>
  200. <script type="javascript" ev:event="xforms-value-changed">
  201. <![CDATA[
  202. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  203. cmb_payinst.disabled = false;
  204. }
  205. else {
  206. cmb_payinst.disabled = true;
  207. model.setValue(cmb_payinst.attribute("ref") , getUserInfo("dutplceinstcd"));
  208. }
  209. if (cmb_SalDfrayFlag.value == "2") {
  210. misfComboComCdListMulti("Z0007,R0058,R0066,R0112", "cmb_payinst,cmb_prfshipflag,cmb_holyordflag,cmb_SalDfrayFlag");
  211. }
  212. else {
  213. misfComboInstCdListMulti("cmb_payinst",getCurrentDate(),"","N");
  214. misfComboComCdListMulti("R0058,R0066,R0112", "cmb_prfshipflag,cmb_holyordflag,cmb_SalDfrayFlag");
  215. //rszfComboAppendBlankChild("cmb_holyordflag");
  216. model.setValue(cmb_holyordflag.attribute("ref") , "1");
  217. }
  218. model.refresh();
  219. ]]>
  220. </script>
  221. </select1>
  222. <input id="ipt_paytoym" ref="/root/send/paytoym" class="input_default" navindex="2" inputtype="date" format="yyyy-mm" style="left:185px; top:18px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  223. <caption id="caption4" style="left:175px; top:18px; width:10px; height:20px; ">-</caption>
  224. <caption id="caption5" class="search_name" style="left:858px; top:19px; width:87px; height:17px; ">직원구분 :</caption>
  225. <select1 id="cmb_holyordflag" ref="/root/send/holyordflag" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" style="left:945px; top:18px; width:100px; height:19px; ">
  226. <choices>
  227. <itemset>
  228. <label/>
  229. <value/>
  230. </itemset>
  231. </choices>
  232. </select1>
  233. <multilinegrid id="multilinegrid1" nodeset="/root/main/payamtlist" caption="사번^직원분류^기본급^상여금^직책수당^위험수당^시간외수당^지정진료^근속수당^월차수당^당직수당^직무수당^식대보조^교통비^지급합계^갑근세^주민세^전화료^의료보험료^여의사회비^의사회비^세우회비^정산금액^공제합계|성명^소속과(팀)^성과급^소급금^면허수당^수련수당^정근수당^임상연구비^가족수당^생리수당^도서보조비^진료수당^가계수당^체력단련^지급합계^고용보험^장기요양^진료비^주차비^국민연금^제우회비^기타^후원금^차인수령액" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" fixedcols="2" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:95px; width:1190px; height:640px; ">
  234. <row>
  235. <col ref="emplno"/>
  236. <col ref="prfshipnm"/>
  237. <col ref="payitem1" type="input" format="(-)#,###" style="text-align:right; "/>
  238. <col ref="payitem92" type="input" format="(-)#,###" style="text-align:right; "/>
  239. <col ref="payitem3" type="input" format="(-)#,###" style="text-align:right; "/>
  240. <col ref="payitem6" type="input" format="(-)#,###" style="text-align:right; "/>
  241. <col ref="payitem5" type="input" format="(-)#,###" style="text-align:right; "/>
  242. <col ref="payitem9" type="input" format="(-)#,###" style="text-align:right; "/>
  243. <col ref="payitem8" type="input" format="(-)#,###" style="text-align:right; "/>
  244. <col ref="payitem21" type="input" format="(-)#,###" style="text-align:right; "/>
  245. <col ref="payitem15" type="input" format="(-)#,###" style="text-align:right; "/>
  246. <col ref="payitem97" type="input" format="(-)#,###" style="text-align:right; "/>
  247. <col ref="payitem98" type="input" format="(-)#,###" style="text-align:right; "/>
  248. <col ref="payitem16" type="input" format="(-)#,###" style="text-align:right; "/>
  249. <col ref="payitem34" type="input" format="(-)#,###" style="text-align:right; "/>
  250. <col ref="payitem73" type="input" format="(-)#,###" style="text-align:right; "/>
  251. <col ref="payitem74" type="input" format="(-)#,###" style="text-align:right; "/>
  252. <col ref="payitem61" type="input" format="(-)#,###" style="text-align:right; "/>
  253. <col ref="payitem52" type="input" format="(-)#,###" style="text-align:right; "/>
  254. <col ref="payitem93" type="input" format="(-)#,###" style="text-align:right; "/>
  255. <col ref="payitem66" type="input" format="(-)#,###" style="text-align:right; "/>
  256. <col ref="payitem71" type="input" format="(-)#,###" style="text-align:right; "/>
  257. <col ref="payitem72" type="input" format="(-)#,###" style="text-align:right; "/>
  258. <col ref="payitem75" type="input" format="(-)#,###" style="text-align:right; "/>
  259. </row>
  260. <row>
  261. <col ref="emplnm" style="background-color:#ffff99; "/>
  262. <col ref="deptnm" style="background-color:#ffff99; "/>
  263. <col ref="payitem91" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  264. <col ref="payitem32" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  265. <col ref="payitem4" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  266. <col ref="payitem49" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  267. <col ref="payitem95" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  268. <col ref="payitem12" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  269. <col ref="payitem7" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  270. <col ref="payitem22" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  271. <col ref="payitem14" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  272. <col ref="payitem96" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  273. <col ref="payitem94" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  274. <col ref="payitem39" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  275. <col ref="email" type="input" style="background-color:#ffff99; "/>
  276. <col ref="payitem53" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  277. <col ref="payitem54" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  278. <col ref="payitem62" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  279. <col ref="payitem59" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  280. <col ref="payitem51" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  281. <col ref="payitem65" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  282. <col ref="payitem60" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  283. <col ref="payitem70" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  284. <col ref="payitem77" type="input" format="(-)#,###" style="text-align:right; background-color:#ffff99; "/>
  285. </row>
  286. </multilinegrid>
  287. </group>
  288. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  289. <button id="button51" class="btn2_letter4" style="left:860px; top:85px; width:64px; height:19px; ">
  290. <caption>메일전송</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. /*
  294. var cnt = model.instances(0).selectNodes("/root/main/payamtlist").length;
  295. for (var i = cnt; i > 2; i--)
  296. {
  297. model.removenode("/root/main/payamtlist[" + i + "]");
  298. }
  299. model.refresh();
  300. cnt = model.instances(0).selectNodes("/root/main/payamtlist").length;
  301. cnt = cnt + 1;
  302. */
  303. /*
  304. for (var i = 1; i < cnt; i++)
  305. {
  306. //model.setValue("/root/main/payamtlist[" + i + "]/email", "hicuky@gmail.com");
  307. model.setValue("/root/main/payamtlist[" + i + "]/email", "rjj6703@korea.com");
  308. //model.setValue("/root/main/payamtlist[" + i + "]/email", "koodoh@korea.com");
  309. //model.setValue("/root/main/payamtlist[" + i + "]/email", "nayj76@sejongh.co.kr");
  310. }
  311. model.refresh();
  312. */
  313. //model.setValue("/root/main/payamtlist/email", "rjj6703@korea.com");
  314. submit("TXRWP07001");
  315. ]]>
  316. </script>
  317. </button>
  318. </xhtml:body>
  319. </xhtml:html>