SMRWD01400_주차료변동내역조회.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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>SMRWD01400_주차료변동내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <carempl>
  12. <carempllist>
  13. <ym/>
  14. <emplno/>
  15. <name/>
  16. <preststatnm/>
  17. <issdd/>
  18. <rtndd/>
  19. <payinstnm/>
  20. <deptnm/>
  21. <stickerno/>
  22. <carkind/>
  23. <carno1/>
  24. <carno2/>
  25. <instsuppamt/>
  26. <carparkamt/>
  27. </carempllist>
  28. </carempl>
  29. <carpaybase>
  30. <carpaybaselist/>
  31. </carpaybase>
  32. </list>
  33. </main>
  34. <send>
  35. <carempl>
  36. <ym/>
  37. <instcd/>
  38. <emplno/>
  39. <emplnm/>
  40. <carno/>
  41. <stickerno1/>
  42. <stickerno2/>
  43. <bfym/>
  44. </carempl>
  45. <carebase>
  46. <instcd/>
  47. <appdd/>
  48. <cargrde/>
  49. </carebase>
  50. </send>
  51. <temp>
  52. <checklist>
  53. <creatyn/>
  54. <sumyn/>
  55. <payappyn/>
  56. <bfcnt/>
  57. <afcnt/>
  58. </checklist>
  59. </temp>
  60. <init>
  61. <deduynlist>
  62. <label>공제제외여부</label>
  63. <value>Y</value>
  64. </deduynlist>
  65. <payappynlist>
  66. <label>전체</label>
  67. <value/>
  68. <label>반영</label>
  69. <value>Y</value>
  70. <label>미반영</label>
  71. <value>N</value>
  72. </payappynlist>
  73. </init>
  74. </root>
  75. </instance>
  76. <script type="javascript" ev:event="xforms-ready">
  77. <![CDATA[
  78. misfGridInit(grd_carempl);
  79. misfMsterDetailSet(grd_carempl,null, "TRRWD01401" ,"Y");
  80. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  81. var curdate = getCurrentDate();
  82. model.setValue(ipt_ym.attribute("ref") , curdate.substr(0, 6));
  83. model.setValue(ipt_yy.attribute("ref") , curdate.substr(0, 4));
  84. // model.setValue("/root/send/carempl/instcd" , getUserInfo("dutplceinstcd"));
  85. //rwcGridCarGradeBase(grd_carempl,"cargrde",getUserInfo("dutplceinstcd"),model.getValue(ipt_ym.attribute("ref")) + "1231");
  86. //rwcComboCarGradeBase(cmb_cargrde,getUserInfo("dutplceinstcd"),model.getValue(ipt_ym.attribute("ref")) + "1231","Y");
  87. model.refresh();
  88. ]]>
  89. </script>
  90. <submission id="TRRWD01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/carempl" resultref="/root/main/list/carempl"/>
  91. </model>
  92. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  96. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  97. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  98. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  99. <script type="javascript" src="../../../mis/paydedufactmngtweb/js/RWD001.js"/>
  100. <script type="javascript">
  101. <![CDATA[
  102. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  103. function fDefaultSetting() {
  104. model.setValue(grd_carempl.nodeset + "["+ (grd_carempl.row - grd_carempl.fixedRows + 1) + "]/mngtinstcd" , model.getValue(cmb_instcd.attribute("ref")));
  105. model.setValue(grd_carempl.nodeset + "["+ (grd_carempl.row - grd_carempl.fixedRows + 1) + "]/yy" , model.getValue(ipt_ym.attribute("ref")));
  106. model.refresh();
  107. }
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body>
  112. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  113. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">주차료변동내역</caption>
  114. </group>
  115. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  116. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  117. <button id="btn_search" class="btn1_letter2" style="left:1132px; top:16px; width:56px; height:22px; ">
  118. <caption>조회</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. var curdate = ipt_ym.value;
  122. var cvtdate = curdate.toDate("YYYYMM");
  123. var bfym=cvtdate.getAddDate(-1,"M").getDateFormat("YYYYMM");
  124. model.setValue("/root/send/carempl/bfym",bfym);
  125. misfMsterDetailRetrieve();
  126. grd_carempl.subtotalPosition = "below";
  127. grd_carempl.multiTotals = true;
  128. grd_carempl.subtotal("clear", 0, 0);
  129. grd_carempl.subtotal("count",grd_carempl.colRef("mngtinstcd"),grd_carempl.colRef("name"));
  130. grd_carempl.subtotal("sum",grd_carempl.colRef("mngtinstcd"),grd_carempl.colRef("instsuppamt"),"#,###","background-color:#99ff99",grd_carempl.colRef("rownum"),"계");
  131. grd_carempl.subtotal("sum",grd_carempl.colRef("mngtinstcd"),grd_carempl.colRef("carparkamt"),"#,###","background-color:#99ff99",grd_carempl.colRef("rownum"),"계");
  132. ]]>
  133. </script>
  134. </button>
  135. <line id="line13" class="line_4" style="x1:1124px; y1:16px; x2:1124px; y2:38px; "/>
  136. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  137. <select1 id="cmb_instcd" ref="/root/send/carempl/instcd" class="combo_default" appearance="minimal" style="left:308px; top:19px; width:127px; height:19px; ">
  138. <choices>
  139. <itemset>
  140. <label/>
  141. <value/>
  142. </itemset>
  143. </choices>
  144. </select1>
  145. <caption id="caption2" class="search_name" style="left:10px; top:19px; width:93px; height:17px; ">조회년월:</caption>
  146. <datagrid id="grd_carempl" nodeset="/root/main/list/carempl/carempllist" caption="순번^년월^사번^성명^근무상태^발급일자^반납일자^급여기관^부서명^스티커번호^차량종류^차량번호^차량번호^기관보조액^월기본공제액^공제대상액|순번^년월^사번^성명^근무상태^발급일자^반납일자^급여기관^부서명^스티커번호^차량종류^차량번호^차량번호^기관보조액^월기본공제액^공제대상액" colsep="^" colwidth="40, 80, 80, 80, 75, 100, 100, 110, 90, 75, 75, 54, 48, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:635px; ">
  147. <col ref="rownum"/>
  148. <col ref="ym" format="yyyy-mm"/>
  149. <col ref="emplno" style="text-align:center; "/>
  150. <col ref="name" style="text-align:center; "/>
  151. <col ref="preststatnm"/>
  152. <col ref="issdd" format="yyyy-mm-dd"/>
  153. <col ref="rtndd" format="yyyy-mm-dd"/>
  154. <col ref="payinstnm"/>
  155. <col ref="deptnm"/>
  156. <col ref="stickerno" format="99-9999"/>
  157. <col ref="carkind"/>
  158. <col ref="carno1"/>
  159. <col ref="carno2"/>
  160. <col ref="instsuppamt" format="(-)#,###" style="text-align:right; "/>
  161. <col ref="carparkamt" format="(-)#,###" style="text-align:right; "/>
  162. </datagrid>
  163. <input id="ipt_ym" ref="/root/send/carempl/ym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:93px; top:19px; width:82px; height:19px; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. btn_search.dispatch("DOMActivate");
  167. ]]>
  168. </script>
  169. </input>
  170. <button id="btn_emplno" class="icon_search" style="left:602px; top:19px; width:16px; height:16px; ">
  171. <caption/>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. var recv_list = "emplno,emplnm" ;
  175. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  176. model.refresh();
  177. ]]>
  178. </script>
  179. </button>
  180. <caption id="caption7" class="search_name" style="left:465px; top:19px; width:63px; height:17px; ">사번 :</caption>
  181. <input id="ipt_emplnos" ref="/root/send/carempl/emplno" class="input_default" style="left:530px; top:19px; width:70px; height:19px; ">
  182. <script type="javascript" ev:event="xforms-value-changed">
  183. <![CDATA[
  184. var recv_list = "emplno,emplnm" ;
  185. rpbfValidationCheck("EMPLNO", recv_list);
  186. model.refresh();
  187. ]]>
  188. </script>
  189. </input>
  190. <input id="ipt_emplnms" ref="/root/send/carempl/emplnm" class="input_default" style="left:622px; top:19px; width:100px; height:19px; ">
  191. <script type="javascript" ev:event="xforms-value-changed">
  192. <![CDATA[
  193. var recv_list = "emplno,emplnm" ;
  194. rpbfValidationCheck("EMPLNM", recv_list);
  195. model.refresh();
  196. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  197. btn_search.dispatch("DOMActivate");
  198. }
  199. ]]>
  200. </script>
  201. </input>
  202. <caption id="caption3" class="search_name" style="left:210px; top:19px; width:96px; height:17px; ">급 여 기 관:</caption>
  203. <input id="ipt_yy" ref="/root/send/carempl/bfym" visibility="hidden" style="left:1035px; top:35px; width:20px; height:19px; "/>
  204. <button id="btn_exceldetail" class="btn2_letter4" style="left:1125px; top:49px; width:64px; height:19px; ">
  205. <caption>엑셀저장</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  209. if (fileName != "")
  210. {
  211. grd_carempl.saveExcel(fileName, "SheetName", true, true, "", "");
  212. }
  213. ]]>
  214. </script>
  215. </button>
  216. </group>
  217. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  218. <button id="button35" class="btn4_letter3" style="left:1120px; top:2px; width:68px; height:22px; ">
  219. <caption>초기화</caption>
  220. </button>
  221. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  222. </group>
  223. </xhtml:body>
  224. </xhtml:html>