123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <lidlst>
- <item>
- <rcptrid/>
- <rcptrnm/>
- <totamt/>
- <cashamt/>
- <cardamt/>
- <cmpyamt/>
- <ownamt/>
- <ownuncoamt/>
- <discamt/>
- <restamt/>
- <sunsuamt/>
- <sunsuretamt/>
- </item>
- </lidlst>
- <export/>
- </main>
- <send>
- <srchinstcd/>
- <srchdd/>
- <srchhealexamflag/>
- </send>
- <hidden>
- </hidden>
- <init>
- <baseinfo>
- <srchhealexamflag/>
- </baseinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //건진구분 조회
- zbcfGetCodeList( new Array("A0068" ), new Array("/root/init/baseinfo/srchhealexamflag") );
-
- addComboItem("cmb_healexamflag","전체","%","above");
- cmb_healexamflag.select(0);
- //addComboItem("cmb_healexamflag","전체","","above");
-
- // 기관코드 초기화
- model.setValue("/root/send/srchinstcd" , getUserInfo("posinstcd"));
-
- // 공통코드 조회
-
- // 일자초기화
- model.setValue("/root/send/srchdd" , getCurrentDate());
-
- model.refresh();
-
-
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <script type="javascript">
- <![CDATA[
- /*
- * 건진종류 소계 및 총계를 생성한다.
- */
- function fSetRcptSum() {
- // 그리드 merge 및 합계 초기화
-
- grd_lidlst.subtotalPosition = "below";
- grd_lidlst.multiTotals = true;
-
- grd_lidlst.subtotal("clear", 0, 0);
- for(var i =0; i < grd_lidlst.cols ; i++) {
-
- // 소계 및 합계
- if(i >= grd_lidlst.colRef("totamt") && i <= grd_lidlst.colRef("sunsuretamt")) {
- grd_lidlst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_lidlst.colRef("rcptrid") , "총계" );
- }
- }
- }
-
- /*
- * 일자 초기화 (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="TRAHS01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lidlst"/>
- </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;1,1050;">
- <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; "/>
- <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <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("TRAHS01501");
- if(ret) {
- fSetRcptSum();
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn6_letter4" visibility="visible" style="left:976px; top:7px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_lidlst.saveExcel(fileName, "SheetName", true, true, "", "", false);
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:1070px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/export/srchdd" , model.getValue("/root/send/srchdd").toDate().getDateFormat("YYYY/MM/DD"));
- exeReportPreview("RPAHS01501", "XMLSTR", "/root/main/export","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" visibility="hidden" style="x1:1063px; y1:7px; x2:1063px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:235px; top:10px; width:73px; height:17px; ">일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchdd" class="input_search" navindex="7" inputtype="date" style="left:302px; top:9px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" appearance="minimal" style="left:115px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/srchhealexamflag/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:25px; top:10px; width:87px; height:17px; ">건진구분 :</caption>
- </group>
- <datagrid id="grd_lidlst" nodeset="/root/main/lidlst/item" caption="수납자 ID^수납자 명^진료비총액^현금입금액^통장입금^카드입금액^단체부담금^본인부담금^계정미수금^할인금액^절사금액^선수금액^선수반환금액" colsep="^" colwidth="100, 100, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" multitotal="true" rowsep="|" subtotalposition="below" style="left:4px; top:65px; width:1203px; height:707px; text-align:center; ">
- <col ref="rcptrid" style="font-weight:bold; text-align:center; "/>
- <col ref="rcptrnm"/>
- <col ref="totamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="cashamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="onlineamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="cardamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="cmpyamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="ownamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="ownuncoamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="discamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="restamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="sunsuamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="sunsuretamt" format="(-,+)#,###" style="text-align:right; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|