123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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="">
- <send>
- <fromdd/>
- <todd/>
- <sendflag/>
- </send>
- <main>
- <msg/>
- </main>
- <source>
- </source>
- <result/>
- <temp>
- </temp>
- <list>
- <uncolist>
- <beftotuncoamt/>
- <uncoamt/>
- <dayunco/>
- <rcptamt/>
- <totuncoamt/>
- </uncolist>
- <befounco>
- <beftotuncoamt/>
- </befounco>
- <totuncoamt>
- <totuncoamt/>
- </totuncoamt>
- <uncorcpt>
- <rcptamt/>
- </uncorcpt>
- <inddunco>
- <inunco/>
- </inddunco>
- <outddunco>
- <outunco/>
- </outddunco>
- </list>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/outreceivamtlist/receivamtstats" calculate="now() + ."/>
- <bind id="bind2" ref="/root/main/outreceivamtsumlist/receivamtsumstats/uncocnt" calculate="sum(/root/main/outreceivamtlist/receivamtstats/uncocnt);"/>
- <bind id="bind3" ref="/root/main/outreceivamtsumlist/receivamtsumstats/uncoamt" calculate="sum(/root/main/outreceivamtlist/receivamtstats/uncoamt);"/>
- <bind id="bind4" ref="/root/main/inreceivamtlist/receivamtstats" calculate="now() + ."/>
- <bind id="bind5" ref="/root/main/inreceivamtsumlist/receivamtsumstats/uncocnt" calculate="sum(/root/main/inreceivamtlist/receivamtstats/uncocnt);"/>
- <bind id="bind6" ref="/root/main/inreceivamtsumlist/receivamtsumstats/uncoamt" calculate="sum(/root/main/inreceivamtlist/receivamtstats/uncoamt);"/>
- <submission id="TRPAS00820" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list">s</submission>
- </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="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/outordamtmngtweb/js/SMPAO00100.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/sendflag" , "yyyy");
- model.setValue("/root/send/fromdd" , getCurrentDate());
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function callLoadingWindow(msg){
- body.createChild("xforms:iviewer", "id:ivr_progress; src:../../../com/commonweb/xrw/SPZZZ00400_로딩중화면.xrw; left:100px; top:20px; width:330px; height:120px;");
- var ivrObjt = document.all("ivr_progress");
- if( msg == '' || msg == '-' ){
- msg = "미수총누계를 집계중 입니다...";
- }
- ivrObjt.model.setValue("/root/main/msg", msg);
- ivrObjt.model.refresh();
- }
- function removeLoadingWindow(){
- body.removeChild("ivr_progress");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="200">
- <group id="group2" style="left:0px; top:20px; width:585px; height:37px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:0px; width:580px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:520px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRPAS00820")){
-
- // 전일미수총누계
- var beftotamt = parseInt(model.getValue("/root/list/befounco/beftotuncoamt"));
- model.setValue("/root/list/uncolist/beftotuncoamt", beftotamt);
-
- // 당일미수발생액
- var outuncoamt = parseInt(model.getValue("/root/list/uncolist/outuncoamt"));
- model.setValue("/root/list/uncolist/dayunco", outuncoamt);
-
- // 당일미수입금액
- var rcptamt = parseInt(model.getValue("/root/list/uncorcpt/rcptamt"));
- model.setValue("/root/list/uncolist/rcptamt", rcptamt);
-
- // 미수 총 누계 = 전일미수총계 + (당일 미수금액 + 당일 미수입금액)
- model.setValue("/root/list/uncolist/totuncoamt", beftotamt + (outuncoamt - rcptamt));
-
- model.refresh();
-
- }
-
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" visibility="visible" style="x1:510px; y1:8px; x2:510px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:91px; height:17px; ">미수기간 :</caption>
- <input id="input1" ref="/root/send/fromdd" inputtype="date" style="left:102px; top:9px; width:105px; height:19px; "/>
- </group>
- <group id="group3" style="left:0px; top:0px; width:585px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">일일 미수 현황</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:10px; top:66px; width:140px; height:14px; ">미수 현황</caption>
- <datagrid id="grd_totuncolist" nodeset="/root/list/uncolist" visibility="visible" caption="전일미수총누계^당일미수발생액^당일미수입금액^미수총누계" colsep="^" colwidth="139, 140, 140, 140" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:85px; width:585px; height:100px; text-align:center; ">
- <col ref="beftotuncoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="dayunco" format="(-)#,###" style="text-align:right; "/>
- <col ref="rcptamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totuncoamt" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- <button id="button1" class="btn2_letter4" style="left:515px; top:65px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[7
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_totuncolist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|