SMAHS02100_연도별건진수입현황.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <list>
  11. <item>
  12. <cmpyflag/>
  13. <exammnth/>
  14. <pkgcd/>
  15. <pkgnm/>
  16. <cnt/>
  17. <sumamt/>
  18. </item>
  19. </list>
  20. </main>
  21. <send>
  22. <srchfromyymm/>
  23. <srchfrommm/>
  24. <srchinstcd/>
  25. <srchtoyymm/>
  26. <srchtomm/>
  27. </send>
  28. <hidden>
  29. </hidden>
  30. <init>
  31. <baseinfo>
  32. <yearlst/>
  33. <monthlst/>
  34. </baseinfo>
  35. </init>
  36. </root>
  37. </instance>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. model.setValue("/root/send/srchfromyymm", getCurrentDate().substring(0, 6));
  41. model.setValue("/root/send/srchtoyymm", getCurrentDate().substring(0, 6));
  42. //submit("TRAES01502", false);
  43. model.refresh();
  44. makeReportPreview(0,70,1195,670);
  45. model.setFocus("ipt_fromdd");
  46. ]]>
  47. </script>
  48. <submission id="TRZBC00101"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. /*
  52. * 건진종류 소계 및 총계를 생성한다.
  53. */
  54. function fSetRcptSum() {
  55. // 그리드 merge 및 합계 초기화
  56. grd_healexamincm.autoMerge = false;
  57. grd_healexamincm.mergeCells = "bycolrec";
  58. grd_healexamincm.subtotalPosition = "below";
  59. grd_healexamincm.multiTotals = true;
  60. grd_healexamincm.subtotal("clear", 0, 0);
  61. for(var i =0; i < grd_healexamincm.cols ; i++) {
  62. // 소계
  63. if(i >= grd_healexamincm.colRef("totamt") && i <= grd_healexamincm.colRef("mdlrcptamt")) {
  64. grd_healexamincm.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_healexamincm.colRef("rcptexecdd") , "월총계" );
  65. }
  66. // 화면 merge
  67. if( i == grd_healexamincm.colRef("rcptexecdd")) {
  68. grd_healexamincm.mergeCol(i) = true;
  69. }else{
  70. grd_healexamincm.mergeCol(i) = false;
  71. }
  72. }
  73. grd_healexamincm.merge();
  74. }
  75. /*
  76. * 일자 초기화 (srchfromdd , srchtodd)
  77. */
  78. function fDate(vYear , vMon) {
  79. var dd = new Date(vYear, vMon ,0);
  80. model.setValue("/root/send/srchfromdd" , vYear + vMon + "01");
  81. model.setValue("/root/send/srchtodd" , vYear + vMon + dd.getDate());
  82. }
  83. ]]>
  84. </script>
  85. <submission id="TRAHS02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  93. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  94. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  95. </xhtml:head>
  96. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
  97. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  98. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">월별건수현황</caption>
  99. </group>
  100. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  101. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  102. <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
  103. <caption>조회</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. var ret = submit("TRAHS02101");
  107. //model.removeNodeset("/root/main/list/item");
  108. if(ret) {
  109. exeReportPreview("RPAHS02100", "XMLSTR", "/root/main/list");
  110. // fSetRcptSum();
  111. model.refresh();
  112. }
  113. ]]>
  114. </script>
  115. </button>
  116. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">조회기간 :</caption>
  117. <input id="ipt_fromdd" ref="/root/send/srchfromyymm" class="input_default" navindex="1" inputtype="date" format="yyyy-mm" style="left:110px; top:7px; width:100px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/init/baseinfo/yearlst/P0167">
  120. <label ref="cdnm"/>
  121. <value ref="cdid"/>
  122. </itemset>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-select">
  125. <![CDATA[
  126. fDate(cmb_year.value , cmb_month.value);
  127. ]]>
  128. </script>
  129. </input>
  130. <caption id="caption1" style="left:215px; top:8px; width:30px; height:20px; text-align:center; ">~</caption>
  131. <input id="input1" ref="/root/send/srchtoyymm" class="input_default" navindex="2" inputtype="date" format="yyyy-mm" style="left:248px; top:7px; width:100px; height:19px; "/>
  132. </group>
  133. </xhtml:body>
  134. </xhtml:html>