123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>월별수익현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <item>
- <cmpyflag/>
- <exammnth/>
- <pkgcd/>
- <pkgnm/>
- <cnt/>
- <sumamt/>
- </item>
- </list>
- </main>
- <send>
- <srchfromyymm/>
- <srchfrommm/>
- <srchinstcd/>
- <srchtoyymm/>
- <srchtomm/>
- </send>
- <hidden>
- </hidden>
- <init>
- <baseinfo>
- <yearlst/>
- <monthlst/>
- </baseinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchfromyymm", getCurrentDate().substring(0, 6));
- model.setValue("/root/send/srchtoyymm", getCurrentDate().substring(0, 6));
- //submit("TRAES01502", false);
- model.refresh();
- makeReportPreview(0,70,1195,670);
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <script type="javascript">
- <![CDATA[
- /*
- * 건진종류 소계 및 총계를 생성한다.
- */
- function fSetRcptSum() {
- // 그리드 merge 및 합계 초기화
- grd_healexamincm.autoMerge = false;
- grd_healexamincm.mergeCells = "bycolrec";
-
- grd_healexamincm.subtotalPosition = "below";
- grd_healexamincm.multiTotals = true;
-
- grd_healexamincm.subtotal("clear", 0, 0);
- for(var i =0; i < grd_healexamincm.cols ; i++) {
- // 소계
- if(i >= grd_healexamincm.colRef("totamt") && i <= grd_healexamincm.colRef("mdlrcptamt")) {
- grd_healexamincm.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_healexamincm.colRef("rcptexecdd") , "월총계" );
- }
- // 화면 merge
- if( i == grd_healexamincm.colRef("rcptexecdd")) {
- grd_healexamincm.mergeCol(i) = true;
- }else{
- grd_healexamincm.mergeCol(i) = false;
- }
- }
- grd_healexamincm.merge();
- }
-
- /*
- * 일자 초기화 (srchfromdd , srchtodd)
- */
- function fDate(vYear , vMon) {
- var dd = new Date(vYear, vMon ,0);
- model.setValue("/root/send/srchfromdd" , vYear + vMon + "01");
- model.setValue("/root/send/srchtodd" , vYear + vMon + dd.getDate());
-
- }
- ]]>
- </script>
- <submission id="TRAHS02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
- <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">월별건수현황</caption>
- </group>
- <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
- <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; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ret = submit("TRAHS02101");
- //model.removeNodeset("/root/main/list/item");
- if(ret) {
- exeReportPreview("RPAHS02100", "XMLSTR", "/root/main/list");
- // fSetRcptSum();
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">조회기간 :</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/yearlst/P0167">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fDate(cmb_year.value , cmb_month.value);
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:215px; top:8px; width:30px; height:20px; text-align:center; ">~</caption>
- <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; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|