SMRWD02000_공제차이금액조회.xrw 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. <deduamtcheck>
  11. <deduamtchecklist/>
  12. </deduamtcheck>
  13. </main>
  14. <send>
  15. <deduamtcheck>
  16. <payym/>
  17. <payinst/>
  18. <payitemcd/>
  19. <saldfrayflag>1</saldfrayflag>
  20. <payitemnm/>
  21. </deduamtcheck>
  22. </send>
  23. <temp>
  24. <target>
  25. </target>
  26. </temp>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. misfGridInit(grd_deduamtchecklist);
  32. misfMsterDetailSet(grd_deduamtchecklist,null, "TRRWD02001" ,"N");
  33. var curdate = getCurrentDate();
  34. model.setValue(ipt_paydeduym.attribute("ref") , curdate.substr(0,6));
  35. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  36. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  37. try {
  38. model.setValue(ipt_payitemcd.attribute("ref"), model.getValue("root/temp/target/defaultvalue/payitemcd"));
  39. model.setValue(ipt_payitemnm.attribute("ref"), model.getValue("root/temp/target/defaultvalue/prntnm"));
  40. model.setValue(cmb_instcd.attribute("ref"), model.getValue("root/temp/target/defaultvalue/payinst"));
  41. model.setValue(ipt_paydeduym.attribute("ref"), model.getValue("root/temp/target/defaultvalue/payym"));
  42. }
  43. catch(ex)
  44. {
  45. }
  46. model.refresh();
  47. ]]>
  48. </script>
  49. <submission id="TRRWD00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payitem" resultref="/root/main/payitem"/>
  50. <submission id="TXRWD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  51. <submission id="TRRWD00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/paydeducopy"/>
  52. <submission id="TRRWD02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deduamtcheck" resultref="/root/main/deduamtcheck"/>
  53. </model>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  59. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  60. </xhtml:head>
  61. <xhtml:body pagewidth="820" pageheight="800" guideline="1,156;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  62. <group id="group1" style="left:0px; top:0px; width:757px; height:13px; ">
  63. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:449px; height:13px; ">월별지급공제사항등록</caption>
  64. </group>
  65. <group id="group2" scroll="auto" style="left:0px; top:38px; width:757px; height:744px; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:756px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <button id="btn_search" class="btn1_letter2" style="left:690px; top:16px; width:56px; height:22px; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. //model.setValue("/root/send/payitem/calcmthd","012");
  72. misfMsterDetailRetrieve();
  73. ]]>
  74. </script>
  75. </button>
  76. <line id="line13" class="line_4" style="x1:675px; y1:16px; x2:675px; y2:38px; "/>
  77. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:755px; y2:70px; "/>
  78. <caption id="caption1" class="tit_2" style="left:0px; top:55px; width:198px; height:13px; ">개인별 지급/공제사항등록</caption>
  79. <caption id="caption3" class="search_name" style="left:5px; top:19px; width:74px; height:17px; ">적용월 :</caption>
  80. <input id="ipt_paydeduym" ref="/root/send/deduamtcheck/payym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:80px; top:18px; width:80px; height:19px; "/>
  81. <select1 id="cmb_instcd" ref="/root/send/deduamtcheck/payinst" class="combo_s_essential" appearance="minimal" style="left:228px; top:17px; width:148px; height:19px; ">
  82. <choices>
  83. <itemset>
  84. <label/>
  85. <value/>
  86. </itemset>
  87. </choices>
  88. </select1>
  89. <caption id="caption2" class="search_name" style="left:169px; top:18px; width:61px; height:17px; ">기관:</caption>
  90. <datagrid id="grd_deduamtchecklist" nodeset="/root/main/deduamtcheck/deduamtchecklist" caption="사원번호^성명^부서^공제금액^납부금액^기관^기관코드" colsep="^" colwidth="85, 96, 149, 110, 108, 161, 78" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:755px; height:665px; ">
  91. <col ref="emplno"/>
  92. <col ref="emplnm"/>
  93. <col ref="deptnm"/>
  94. <col ref="payamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  95. <col ref="deduamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  96. <col ref="instnm"/>
  97. <col ref="instcd" visibility="hidden"/>
  98. </datagrid>
  99. <button id="btn_saveexcel" class="btn2_letter4" style="left:691px; top:50px; width:64px; height:19px; ">
  100. <caption>엑셀저장</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  104. if (fileName != "")
  105. {
  106. grd_deduamtchecklist.saveExcel(fileName);
  107. }
  108. ]]>
  109. </script>
  110. </button>
  111. <input id="ipt_payitemcd" ref="/root/send/deduamtcheck/payitemcd" class="input_default" style="left:466px; top:18px; width:59px; height:19px; ">
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. var recv_list = "payitemcd,payitemnm";
  115. var saldfrayflag = "1";
  116. var paydeduflag = "2";
  117. rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list);
  118. model.refresh();
  119. if (model.getValue(ipt_payitemcd.attribute("ref")).length > 0) {
  120. btn_search.dispatch("DOMActivate");
  121. }
  122. ]]>
  123. </script>
  124. </input>
  125. <caption id="caption4" class="search_name" style="left:380px; top:18px; width:87px; height:17px; ">공제항목 :</caption>
  126. <button id="btn_payitemcd" class="icon_search" style="left:528px; top:18px; width:16px; height:16px; ">
  127. <caption/>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. var recv_list = "payitemcd,payitemnm";
  131. misfOpenPopUpList("13", ipt_payitemcd, "", recv_list, "");
  132. model.refresh();
  133. if (model.getValue(ipt_payitemcd.attribute("ref")).length > 0) {
  134. btn_search.dispatch("DOMActivate");
  135. }
  136. ]]>
  137. </script>
  138. </button>
  139. <input id="ipt_payitemnm" ref="/root/send/deduamtcheck/payitemnm" class="input_default" style="left:547px; top:18px; width:118px; height:19px; ">
  140. <script type="javascript" ev:event="xforms-value-changed">
  141. <![CDATA[
  142. var recv_list = "payitemcd,payitemnm";
  143. var saldfrayflag = "1";
  144. var paydeduflag = "2";
  145. rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list);
  146. model.refresh();
  147. if (model.getValue(ipt_payitemcd.attribute("ref")).length > 0) {
  148. btn_search.dispatch("DOMActivate");
  149. }
  150. ]]>
  151. </script>
  152. </input>
  153. </group>
  154. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:757px; height:27px; "/>
  155. </xhtml:body>
  156. </xhtml:html>