SPRAT01001_원천징수현황.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. </main>
  11. <init/>
  12. <send>
  13. <frdd/>
  14. <todd/>
  15. <instcd/>
  16. <prntkind/>
  17. <gubun/>
  18. <groupid/>
  19. </send>
  20. <init>
  21. </init>
  22. <hidden>
  23. <resultflag/>
  24. </hidden>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. // 2011.09.26 cyw 해당실무자만이 메뉴접근 가능하도록 수정.
  30. misfComboComCdList("030R0018",cmb_gruptype);
  31. var cnt = getNodesetCount("/root/init/cmb_gruptype/comcodelist");
  32. var chk = 0;
  33. for(var i = 1; i <= cnt; i++ ){
  34. if( model.getValue("/root/init/cmb_gruptype/comcodelist[" + i + "]/cdid") == getUserId() ){
  35. chk++;
  36. }
  37. }
  38. if( chk > 0 ){
  39. group2.disabled = false;
  40. }else{
  41. group2.disabled = true;
  42. messageBox("해당 화면에 권한이 없습니다.", "C000");
  43. }
  44. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  45. makeReportPreview(0,110,1195,650);
  46. var today = getCurrentDate();
  47. var cur_yymm = parseInt(today.substring(0, 6));
  48. model.setValue("/root/send/frdd", today);
  49. model.setValue("/root/send/todd", today);
  50. //2011.09.29 cyw 통합으로 조회되도록 수정
  51. addComboItem("cmb_instcd", "통합(본원+칠곡)", "all", "above");
  52. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  53. model.setValue("/root/send/gubun", "1");
  54. model.refresh();
  55. // model.setFocus("ipt_payym");
  56. ]]>
  57. </script>
  58. <submission id="TRRAT01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.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:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. model.removeNodeset("/root/main/orgchrglist");
  78. submit("TRRAT01003");
  79. // model.setValue("/root/hidden/resultflag",cmb_prntflag.label);
  80. if(model.getValue("/root/send/gubun") == "1"){
  81. exeReportPreview("RPRAT01001", "XMLSTR");//, "/root/main/payamt");
  82. }else{
  83. exeReportPreview("RPRAT01002", "XMLSTR");//, "/root/main/payamt");
  84. }
  85. ]]>
  86. </script>
  87. </button>
  88. <line id="line13" class="line_4" style="x1:1120px; y1:17px; x2:1120px; y2:41px; "/>
  89. <caption id="cap_payinst" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">소속기관 :</caption>
  90. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:106px; top:18px; width:154px; height:19px; ">
  91. <choices>
  92. <itemset>
  93. <label/>
  94. <value/>
  95. </itemset>
  96. </choices>
  97. </select1>
  98. <caption id="caption22" class="search_name" style="left:291px; top:18px; width:86px; height:17px; ">조회기간 :</caption>
  99. <input id="ipt_payym" ref="/root/send/frdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:380px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
  100. <caption id="caption28" class="tit_2" style="left:5px; top:52px; width:209px; height:13px; ">원천 징수현황</caption>
  101. <line id="line193" class="line_1" style="x1:2px; y1:65px; x2:1192px; y2:65px; "/>
  102. <input id="input1" ref="/root/send/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:500px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
  103. <caption id="caption4" style="left:485px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
  104. <caption id="caption29" class="search_name" style="left:700px; top:18px; width:86px; height:17px; ">출력구분 :</caption>
  105. <select1 id="rdo_gubun" ref="/root/send/gubun" class="radio_search" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:790px; top:18px; width:175px; height:20px; vertical-align:middle; border-style:none; ">
  106. <choices>
  107. <item>
  108. <label>사업,기타</label>
  109. <value>1</value>
  110. </item>
  111. <item>
  112. <label>일용근로</label>
  113. <value>2</value>
  114. </item>
  115. </choices>
  116. </select1>
  117. </group>
  118. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; ">
  119. <select1 id="cmb_gruptype" ref="/root/send/groupid" class="combo_s_essential" navindex="-1" visibility="hidden" appearance="minimal" style="left:85px; top:0px; width:66px; height:19px; ">
  120. <choices>
  121. <itemset nodeset="/root/init/cmb_gruptype/comcodelist">
  122. <label ref="cdnm"/>
  123. <value ref="cdid"/>
  124. </itemset>
  125. </choices>
  126. </select1>
  127. </group>
  128. </xhtml:body>
  129. </xhtml:html>