SMRWD00800_개인별일별전화공제조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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>SMRWD00800_개인별일별공제내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <telempl>
  12. <telempllist/>
  13. </telempl>
  14. <telempldet>
  15. <telempldetlist/>
  16. </telempldet>
  17. </list>
  18. </main>
  19. <send>
  20. <telempl>
  21. <instcd/>
  22. <telfrdd/>
  23. <teltodd/>
  24. <appidflag/>
  25. <telcostflag/>
  26. <dutdeptcd/>
  27. <dutdeptnm/>
  28. <emplno/>
  29. <emplnm/>
  30. </telempl>
  31. </send>
  32. </root>
  33. </instance>
  34. <!--<bind id="winqty" ref="/root/main/list/telempl/telempllist/telamt" calculate="../telmnt *../mntcost"/>-->
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. misfGridInit(grd_telempl);
  38. misfMsterDetailSet(grd_telempl,null, "TRRWD00801" ,"N");
  39. //misfMsterDetailSet(grd_telempllist,null, "TRRWD00802" ,"N");
  40. misfComboComCdList("R0299",cmb_appidflag,"Y");
  41. misfComboComCdList("R0300",cmb_telcostflag,"Y");
  42. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  43. var curdate = getCurrentDate();
  44. var cvtdate = curdate.toDate("YYYYMMDD");
  45. model.setValue(ipt_telfrdd.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD"));
  46. model.setValue(ipt_teltodd.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMMDD"));
  47. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  48. grd_telempl.subtotalposition = "after";
  49. model.refresh();
  50. ]]>
  51. </script>
  52. <submission id="TRRWD00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/telempl" resultref="/root/main/list/telempl"/>
  53. <submission id="TRRWD00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/telempl" resultref="/root/main/list/telempldet"/>
  54. </model>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  58. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  59. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  60. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  61. </xhtml:head>
  62. <xhtml:body>
  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:38px; width:1195px; height:744px; ">
  67. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  68. <caption id="caption5" class="search_name" style="left:284px; top:45px; width:63px; height:17px; ">부서 :</caption>
  69. <input id="ipt_telfrdd" ref="/root/send/telempl/telfrdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:96px; top:45px; width:91px; height:19px; "/>
  70. <input id="ipt_teltodd" ref="/root/send/telempl/teltodd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:190px; top:45px; width:91px; height:19px; "/>
  71. <select1 id="cmb_telcostflag" ref="/root/send/telempl/telcostflag" class="combo_default" appearance="minimal" style="left:682px; top:18px; width:119px; height:19px; ">
  72. <choices>
  73. <itemset>
  74. <label/>
  75. <value/>
  76. </itemset>
  77. </choices>
  78. </select1>
  79. <select1 id="cmb_instcd" ref="/root/send/telempl/instcd" class="combo_s_essential" appearance="minimal" style="left:73px; top:16px; width:208px; height:19px; ">
  80. <choices>
  81. <itemset>
  82. <label/>
  83. <value/>
  84. </itemset>
  85. </choices>
  86. </select1>
  87. <select1 id="cmb_appidflag" ref="/root/send/telempl/appidflag" class="combo_default" appearance="minimal" style="left:384px; top:18px; width:171px; height:19px; ">
  88. <choices>
  89. <itemset>
  90. <label/>
  91. <value/>
  92. </itemset>
  93. </choices>
  94. </select1>
  95. <caption id="caption1" class="search_name" style="left:284px; top:19px; width:106px; height:17px; ">신청인구분:</caption>
  96. <button id="btn_dutdeptcd" class="icon_search" style="left:452px; top:46px; width:16px; height:16px; ">
  97. <caption/>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. var recv_list = "dutdeptcd,dutdeptnm";
  101. rpbfOpenDeptCdHelp(ipt_dutdeptnm,recv_list);
  102. model.refresh();
  103. ]]>
  104. </script>
  105. </button>
  106. <caption id="caption2" class="search_name" style="left:15px; top:45px; width:93px; height:17px; ">통화일자:</caption>
  107. <caption id="caption3" class="search_name" style="left:15px; top:18px; width:93px; height:17px; ">기관:</caption>
  108. <input id="ipt_dutdeptnm" ref="/root/send/telempl/dutdeptnm" class="input_default" style="left:473px; top:45px; width:125px; height:19px; ">
  109. <script type="javascript" ev:event="xforms-value-changed">
  110. <![CDATA[
  111. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  112. model.refresh();
  113. ]]>
  114. </script>
  115. </input>
  116. <caption id="caption4" class="search_name" style="left:601px; top:19px; width:106px; height:17px; ">통화구분:</caption>
  117. <input id="ipt_dutdeptcd" ref="/root/send/telempl/dutdeptcd" class="input_default" style="left:349px; top:45px; width:99px; height:19px; ">
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. misfValidationCheck("02", "", "dutdeptcd,deptnm" );
  121. model.refresh();
  122. ]]>
  123. </script>
  124. </input>
  125. <button id="btn_emplno" class="icon_search" style="left:752px; top:45px; width:16px; height:16px; ">
  126. <caption/>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. var recv_list = "emplno,emplnm" ;
  130. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  131. model.refresh();
  132. ]]>
  133. </script>
  134. </button>
  135. <caption id="caption7" class="search_name" style="left:602px; top:45px; width:63px; height:17px; ">사번 :</caption>
  136. <input id="ipt_emplnos" ref="/root/send/telempl/emplno" class="input_default" style="left:663px; top:45px; width:87px; height:19px; ">
  137. <script type="javascript" ev:event="xforms-value-changed">
  138. <![CDATA[
  139. var recv_list = "emplno,emplnm" ;
  140. rpbfValidationCheck("EMPLNO", recv_list);
  141. model.refresh();
  142. ]]>
  143. </script>
  144. </input>
  145. <input id="ipt_emplnms" ref="/root/send/telempl/emplnm" class="input_default" style="left:769px; top:45px; width:141px; height:19px; ">
  146. <script type="javascript" ev:event="xforms-value-changed">
  147. <![CDATA[
  148. var recv_list = "emplno,emplnm" ;
  149. rpbfValidationCheck("EMPLNM", recv_list);
  150. model.refresh();
  151. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  152. btn_search.dispatch("DOMActivate");
  153. }
  154. ]]>
  155. </script>
  156. </input>
  157. <line id="line13" class="line_4" style="x1:1115px; y1:14px; x2:1115px; y2:66px; "/>
  158. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:30px; width:56px; height:22px; ">
  159. <caption>조회</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. misfMsterDetailRetrieve();
  163. submit("TRRWD00802");
  164. for(var i=grd_telempl.fixedRows; i<grd_telempl.rows; i++){
  165. if (grd_telempl.valueMatrix(i, grd_telempl.colRef("appidflagnm"))=='합계') {
  166. grd_telempl.rowstyle(i, "data", "background-color") = "#ffff99";
  167. }else {
  168. grd_telempl.rowstyle(i, "data", "background-color") = "#ffffff";
  169. }
  170. }
  171. //grd_telempl.subtotal("clear", 0, 0);
  172. //grd_telempl.subtotal("sum",grd_telempl.colRef("dutplcedeptnm") , grd_telempl.colRef("telamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  173. //grd_telempl.subtotal("sum",grd_telempl.colRef("dutplcedeptnm") , grd_telempl.colRef("telcnt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  174. ]]>
  175. </script>
  176. </button>
  177. <button id="btn_excel" class="btn_sw" group="tab" selected="false" style="left:150px; top:77px; width:160px; height:22px; ">
  178. <caption>개인별 일별 조회</caption>
  179. <toggle case="case2" ev:event="onclick"/>
  180. </button>
  181. <button id="btn_cost" class="btn_sw" group="tab" selected="true" style="left:1px; top:77px; width:149px; height:22px; ">
  182. <caption>부서별 조회</caption>
  183. <toggle case="case1" ev:event="onclick"/>
  184. </button>
  185. <switch id="switch1" style="left:0px; top:99px; width:1193px; height:643px; ">
  186. <case id="case1" selected="true">
  187. <datagrid id="grd_telempl" nodeset="/root/main/list/telempl/telempllist" caption="신청인구분^사번^성명^소속기관^부서^통화구분^통화지역^통화번호^통화수^금액" colsep="^" colwidth="76, 90, 139, 143, 149, 100, 131, 105, 81, 135" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:1px; width:1190px; height:639px; ">
  188. <col ref="appidflagnm"/>
  189. <col ref="emplno"/>
  190. <col ref="emplnm"/>
  191. <col ref="instnm"/>
  192. <col ref="dutplcedeptnm"/>
  193. <col ref="telcostflagnm"/>
  194. <col ref="telarea"/>
  195. <col ref="telno"/>
  196. <col ref="telcnt" format="#,###" style="text-align:right; "/>
  197. <col ref="telamt" format="#,###" style="text-align:right; "/>
  198. </datagrid>
  199. </case>
  200. <case id="case2">
  201. <datagrid id="grd_telempllist" nodeset="/root/main/list/telempldet/telempldetlist" caption="통화일자^신청인구분^사번^성명^소속기관^부서^통화구분^통화지역^통화번호^통화금액^금액" colsep="^" colwidth="100, 76, 90, 139, 143, 149, 100, 115, 124, 112" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1190px; height:635px; ">
  202. <col ref="teldd" format="yyyy-mm-dd"/>
  203. <col ref="appidflagnm"/>
  204. <col ref="emplno"/>
  205. <col ref="emplnm"/>
  206. <col ref="instnm"/>
  207. <col ref="dutplcedeptnm"/>
  208. <col ref="telcostflagnm"/>
  209. <col ref="telarea"/>
  210. <col ref="telno"/>
  211. <col ref="telamt" format="#,###" style="text-align:right; padding-left:10; "/>
  212. </datagrid>
  213. </case>
  214. </switch>
  215. </group>
  216. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  217. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  218. </group>
  219. </xhtml:body>
  220. </xhtml:html>