123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740 |
- <?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="">
- <main>
- <case1>
- <conficardamtlist>
- <conficardamtstats>
- <ordtype/>
- <cdnm/>
- <cardcmpycode/>
- <cardamt/>
- <coms/>
- <carddepoamt/>
- <banhwan/>
- <cardcmpycd/>
- </conficardamtstats>
- </conficardamtlist>
- </case1>
- <case2>
- <h_card>
- <card>
- <card_title/>
- <card_cardcmpycd/>
- <card_cnt_y/>
- <card_cardamt_y/>
- <card_cnt_c/>
- <card_cardamt_c/>
- </card>
- </h_card>
- </case2>
- <case3>
- <h_card>
- <card>
- <ordtype/>
- <carrymisu/>
- <cnt/>
- <cardamt/>
- <carddepoamt/>
- <coms/>
- <rsrtmisu/>
- </card>
- </h_card>
- </case3>
- <case4>
- <conficardamtlist>
- <conficardamtstats>
- <ordtype/>
- <cdnm/>
- <cardcmpycode/>
- <cardamt/>
- <coms/>
- <carddepoamt/>
- <banhwan/>
- <cardcmpycd/>
- </conficardamtstats>
- </conficardamtlist>
- </case4>
- </main>
- <send>
- <case1>
- <ddflag/>
- <fromdata/>
- <todata/>
- <datagubun/>
- </case1>
- <case2>
- <data1>
- <fromdd/>
- <tm_from/>
- <tm_to/>
- <rcpt_id/>
- <ordtype/>
- <sempty/>
- </data1>
- </case2>
- <case3>
- <fromdd/>
- <todd/>
- </case3>
- <case4>
- <ddflag/>
- <fromdata/>
- <todata/>
- <datagubun/>
- <ddflag/>
- </case4>
- </send>
- <hidden>
- <session/>
- </hidden>
- <init>
- <PAM>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- <detl/>
- </P0008>
- </P0008list>
- </PAM>
- </init>
- </root>
- </instance>
- <submission id="TRPAS00171" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/case1" replace="instance" resultref="/root/main/case1"/>
- <submission id="TRPAS00172" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/case2/data1" resultref="/root/main/case2"/>
- <submission id="TRPAS00173" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/case3" resultref="/root/main/case3"/>
- <submission id="TRPAS00174" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/case4" replace="instance" resultref="/root/main/case4"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetUserInfo2();
-
- fReady_case1();
- fReady_case2();
- fReady_case3();
-
- btn_case1.selected = "true";
- model.toggle("case1");
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //로그인한 사용자 정보조회
- function fGetUserInfo2(){
-
- var sUserInfosS = getUserInfos();
-
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var dutplcecd = UserInfosS_Array[4]; //근무지부서코드
- var dutplcenm = UserInfosS_Array[5]; //근무지부서명
- var dutinstnm = UserInfosS_Array[7]; //근무지기관명
-
- model.makeValue("/root/hidden/session/userid",userid);
- model.makeValue("/root/hidden/session/usernm",usernm);
- model.makeValue("/root/hidden/session/dutinstnm",dutinstnm);
- }
- function fReady_case1(){
-
- pamfGetCodeList(new Array("P0008"), new Array("/root/init/PAM/P0008list"));
-
- var vToday = new Date();
- var tmpYear = vToday.getYear();
- var tmpMonth = vToday.getMonth()+1;
- var tmpDate = vToday.getDate();
-
- if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; }
- if(tmpDate<10){tmpDate ="0"+tmpDate;}
-
- model.setValue("/root/send/case1/fromdata", tmpYear+""+tmpMonth+""+tmpDate);
- model.setValue("/root/send/case1/todata", tmpYear+""+tmpMonth+""+tmpDate);
-
- model.setValue("/root/send/case4/fromdata", tmpYear+""+tmpMonth+""+tmpDate);
- model.setValue("/root/send/case4/todata", tmpYear+""+tmpMonth+""+tmpDate);
-
- model.setValue("/root/send/case1/datagubun" , "ALL");
- model.setValue("/root/send/case4/datagubun" , "ALL");
-
- model.setValue("/root/send/case4/ddflag" , "depodd");
-
-
- ipt_case1_fromdd.refresh();
- ipt_case1_todd.refresh();
- cmb_case1.refresh();
- grd_case1.explorerbar = "sort";
-
- ipt_case4_fromdd.refresh();
- ipt_case4_todd.refresh();
- cmb_case4.refresh();
- grd_case4.explorerbar = "sort";
-
- }
-
- function fReady_case2(){
-
- model.removenodeset("/root/main/case2/h_card/card");
-
- model.setValue("/root/send/case2/data1/fromdd", getCurrentDate()); // common.js에서 제공하는 함수를 사용하여 오늘 날짜를 구한다.
- model.setValue("/root/send/case2/data1/tm_from", "0000");
- model.setValue("/root/send/case2/data1/tm_to", "2400");
- model.setValue("/root/send/case2/data1/rcpt_id", "");
- model.setValue("/root/send/case2/data1/ordtype", "%");
- model.refresh();
- }
-
- function fReady_case3(){
-
- model.setValue("/root/send/case3/fromdd", getCurrentDate());
- model.setValue("/root/send/case3/todd", getCurrentDate());
- model.refresh();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body scroll="auto" pagewidth="1211" pageheight="784">
- <switch id="switch1" style="left:0px; top:47px; width:1210; height:725px; ">
- <case id="case1" selected="true">
- <group id="group2" style="left:0; top:12px; 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; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:65px; height:17px; ">기간 :</caption>
- <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line1" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_case1_excel" class="btn6_letter4" visibility="hidden" style="left:971px; 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 (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_case1.saveExcel(fileName, "신용카드수납현황", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_case1_print" class="btn6_letter2" style="left:1066px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS00170", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="btn_case1_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdata = model.getValue("/root/send/case1/fromdata");
- var todata = model.getValue("/root/send/case1/todata");
- if(fromdata==""||fromdata==null){
- messageBox("시작일을 입력","E007");
- model.setFocus("input7");
- return false;
- }
- if(todata==""|| todata==null){
- messageBox("끝일을 입력","E007");
- model.setFocus("input1");
- return false;
- }
- if(fromdata > todata){
- messageBox("시작일이 끝일자보다 클수 ", "C001")
- return false;
- }else{
-
- submit("TRPAS00171");
-
- grd_case1.refresh();
- grd_case1.rebuildStyle();
- setRowStyle("grd_case1" , "2" , "소계" , "cdnm" , "equal");
- setRowStyle("grd_case1" , "2" , "계" , "cdnm" , "equal");
-
-
- }
- ]]>
- </script>
- </button>
- <input id="ipt_case1_fromdd" ref="/root/send/case1/fromdata" class="input_default" navindex="7" inputtype="date" style="left:80px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <input id="ipt_case1_todd" ref="/root/send/case1/todata" class="input_default" navindex="7" inputtype="date" style="left:191px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <select1 id="cmb_case1" ref="/root/send/case1/datagubun" appearance="minimal" style="left:295px; top:8px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>항목별</label>
- <value>DIV</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" style="left:172px; top:10px; width:20px; height:15px; text-align:center; ">~</caption>
- </group>
- <datagrid id="grd_case1" nodeset="/root/main/case1/conficardamtlist/conficardamtstats" caption="구분^카드사^카드구분^카드미수액(A)^수수료(B)^수입액(A-B)^건수" colsep="^" colwidth="100, 188, 100, 230, 230, 230, 100" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" rowsep="|" style="left:0px; top:70px; width:1203px; height:615px; ">
- <col ref="ordtype" type="output" style="text-align:center; "/>
- <col ref="cdnm" style="text-align:center; "/>
- <col ref="cardtype" type="output" style="text-align:center; "/>
- <col ref="cardamt" format="(-)#,###;" style="text-align:right; "/>
- <col ref="coms" format="(-)#,###" style="text-align:right; "/>
- <col ref="carddepoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cardcmpycode" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_case1.row;
-
- var cardcmpycd = model.getValue("/root/main/case1/conficardamtlist/conficardamtstats[" + row + "]/cardcmpycd");
-
- if(cardcmpycd == "소계") cardcmpycd = "전체";
- if(cardcmpycd == "계") cardcmpycd = "전체";
-
- model.setValue("/root/send/case1/ddflag" , "aprvdd");
-
- var parm = model.getValue("/root/send/case1/ddflag") + "▦" + //기간조건
- model.getValue("/root/send/case1/fromdata") + "▦" + //시작일자
- model.getValue("/root/send/case1/todata") + "▦" + //종료일자
- model.getValue("/root/main/case1/conficardamtlist/conficardamtstats[" + row + "]/ordtype") + "▦" + //진료형태
- model.getValue("/root/main/case1/conficardamtlist/conficardamtstats[" + row + "]/cardcmpycd") + "▦";
-
- setParameter("SMPAS00175_PARM", parm);
-
- open("../../../pam/rcptteamstatsweb/xrw/SMPAS00175", "1", "310", "310", "SPPAS00170", "", "");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_case1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_1" style="x1:0px; y1:65px; x2:1203; y2:65px; "/>
- </case>
- <case id="case2">
- <group id="group1" style="left:0px; top:12; width:1198px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1197px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:9px; width:60px; height:17px; ">일자 :</caption>
- <line id="line3" class="line_4" style="x1:1127px; y1:7px; x2:1127px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line4" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="radio1" ref="/root/send/case2/data1/ordtype" appearance="full" cols="6" rows="1" overflow="visible" style="left:530px; top:10px; width:275px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>건진</label>
- <value>H</value>
- </item>
- <item>
- <label>DSC</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" style="left:227px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="caption6" class="search_name" style="left:320px; top:9px; width:91px; height:17px; ">수납자 ID :</caption>
- <select id="checkbox1" ref="/root/send/case2/data1/sempty" overflow="visible" appearance="full" style="left:811px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>건진제외</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <button id="btn_case2_excel" class="btn6_letter4" style="left:971px; top:7px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vToday = new Date();
- var tmpYear = vToday.getYear();
- var tmpMonth = vToday.getMonth()+1;
- var tmpDate = vToday.getDate();
-
- //엑셀저장 여부(타이틀별)
- var fileName = window.fileDialog("save", "", false, "카드집계현황"+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_case2_card.saveExcel(fileName, "카드집계현황"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_case2_print" class="btn6_letter2" style="left:1065px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- exeReportPreview("RPPAS00172", "XMLSTR", "", "", "true", "", "", "", "", "","", "", "", "", "", "1", "");
-
- ]]>
- </script>
- </button>
- <button id="btn_case2_search" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPAS00172");
-
- grd_case2_card.subtotalPosition = "below";
-
- grd_case2_card.subtotal("sum", -1, 2, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계", false);
- grd_case2_card.subtotal("sum", -1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계", false);
- grd_case2_card.subtotal("sum", -1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계", false);
- grd_case2_card.subtotal("sum", -1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계", false);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_case2_searchdd" ref="/root/send/case2/data1/fromdd" class="input_default" navindex="7" autonext="false" inputtype="date" style="left:80px; top:8px; width:85px; height:19px; text-align:center; "/>
- <input id="ipt_case2_tm_from" ref="/root/send/case2/data1/tm_from" autonext="false" format="hh:nn" style="left:175px; top:8px; width:49px; height:19px; text-align:center; "/>
- <input id="ipt_case2_tm_to" ref="/root/send/case2/data1/tm_to" autonext="false" format="hh:nn" style="left:243px; top:8px; width:49px; height:19px; text-align:center; "/>
- <input id="ipt_case2_rcpt_id" ref="/root/send/case2/data1/rcpt_id" autonext="false" style="left:419px; top:8px; width:86px; height:19px; "/>
- </group>
- <line id="line5" class="line_1" style="x1:0px; y1:65px; x2:1197px; y2:65px; "/>
- <datagrid id="grd_case2_card" nodeset="/root/main/case2/h_card/card" caption="구분^카드종류^수납건수^수납금액^취소건수^취소금액" colsep="^" colwidth="134, 150, 140, 200, 139, 200" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:1197px; height:625px; ">
- <col ref="card_title"/>
- <col ref="card_cardcmpycd" style="text-align:center; "/>
- <col ref="card_cnt_y" format="#,###" style="text-align:right; "/>
- <col ref="card_cardamt_y" format="#,###" style="text-align:right; "/>
- <col ref="card_cnt_c" format="#,###" style="text-align:right; "/>
- <col ref="card_cardamt_c" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case3">
- <group id="group3" style="left:0; top:12px; width:1203px; height:35px; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">기준일자 :</caption>
- <line id="line6" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line7" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input1" ref="/root/send/case3/fromdd" class="input_default" navindex="7" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:8px; width:85; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <button id="btn_case3_excel" class="btn6_letter4" visibility="hidden" style="left:971px; 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 (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_case1.saveExcel(fileName, "신용카드수납현황", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_case3_print" class="btn6_letter2" style="left:1066px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS00171", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="btn_case3_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPAS00173");
-
- grd_case3.refresh();
- grd_case3.rebuildStyle();
- setRowStyle("grd_case3" , "2" , "계" , "ordtype" , "equal");
-
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/send/case3/todd" inputtype="date" format="yyyy-mm-dd" style="left:212px; top:8px; width:85px; height:19px; "/>
- <caption id="caption7" style="left:190px; top:10px; width:20px; height:15px; text-align:center; ">~</caption>
- </group>
- <line id="line9" class="line_1" style="x1:0px; y1:65px; x2:1197px; y2:65px; "/>
- <datagrid id="grd_case3" nodeset="/root/main/case3/h_card/card" caption="구분^카드이월미수
(A)^카드미수발생액^카드미수발생액^카드미수
입금액(C)^카드수수료(D)^카드미수누계
(A+B-C-D)|구분^카드이월미수
(A)^인원^금액(B)^카드미수
입금액(C)^카드수수료(D)^카드미수누계
(A+B-C-D)" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:705px; height:620px; ">
- <col ref="ordtype"/>
- <col ref="carrymisu" format="(-)#,###" style="text-align:right; "/>
- <col ref="cnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="cardamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="carddepoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="coms" format="(-)#,###" style="text-align:right; "/>
- <col ref="rsrtmisu" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- <case id="case4">
- <line id="line10" class="line_1" style="x1:0px; y1:65px; x2:1203; y2:65px; "/>
- <group id="group4" style="left:0; top:12px; width:1203px; height:35px; ">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:160px; top:9px; width:65px; height:17px; ">기간 :</caption>
- <line id="line13" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line14" class="line_4" visibility="hidden" style="x1:1058px; y1:7px; x2:1058px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption12" style="left:317px; top:10px; width:20px; height:15px; text-align:center; ">~</caption>
- <button id="btn_case4_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdata = model.getValue("/root/send/case4/fromdata");
- var todata = model.getValue("/root/send/case4/todata");
- if(fromdata==""||fromdata==null){
- messageBox("시작일을 입력","E007");
- model.setFocus("input7");
- return false;
- }
- if(todata==""|| todata==null){
- messageBox("끝일을 입력","E007");
- model.setFocus("input1");
- return false;
- }
- if(fromdata > todata){
- messageBox("시작일이 끝일자보다 클수 ", "C001")
- return false;
- }else{
-
- submit("TRPAS00174");
-
- grd_case4.refresh();
- grd_case4.rebuildStyle();
- setRowStyle("grd_case4" , "2" , "소계" , "cdnm" , "equal");
- setRowStyle("grd_case4" , "2" , "계" , "cdnm" , "equal");
-
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_case4_print" class="btn6_letter2" style="left:1066px; top:7px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS00171", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="btn_case4_excel" class="btn6_letter4" visibility="hidden" style="left:971px; 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 (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_case1.saveExcel(fileName, "신용카드수납현황", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <input id="ipt_case4_fromdd" ref="/root/send/case4/fromdata" class="input_default" navindex="7" inputtype="date" style="left:225px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <input id="ipt_case4_todd" ref="/root/send/case4/todata" class="input_default" navindex="7" inputtype="date" style="left:336px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keyCode == 13 ) {
- var pCurTargetObj = event.ptarget.parent;
- if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
- event.keyCode = 9;
- pCurTargetObj.dispatch("onkeydown");
- }
- else {
- event.keyCode = 9;
- }
- }
- event.stopPropagation();
- ]]>
- </script>
- </input>
- <select1 id="cmb_case4" ref="/root/send/case4/datagubun" appearance="minimal" style="left:440px; top:8px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>항목별</label>
- <value>DIV</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/send/case4/ddflag" appearance="full" cols="2" overflow="visible" style="left:25px; top:10px; width:120px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>발생일</label>
- <value>aprvdd</value>
- </item>
- <item>
- <label>입금일</label>
- <value>depodd</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_case4" nodeset="/root/main/case4/conficardamtlist/conficardamtstats" caption="구분^카드사^카드구분^청구금액^미수입금액^수수료^건수" colsep="^" colwidth="100, 153, 100, 230, 230, 230, 100" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" rowsep="|" style="left:0px; top:70px; width:1203px; height:615px; ">
- <col ref="ordtype" type="output" style="text-align:center; "/>
- <col ref="cdnm" style="text-align:center; "/>
- <col ref="cardtype" style="text-align:center; "/>
- <col ref="cardamt" format="(-)#,###;" style="text-align:right; "/>
- <col ref="carddepoamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="coms" format="(-)#,###" style="text-align:right; "/>
- <col ref="cardcmpycode" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_case4.row;
-
- var cardcmpycd = model.getValue("/root/main/case4/conficardamtlist/conficardamtstats[" + row + "]/cardcmpycd");
-
- if(cardcmpycd == "소계") cardcmpycd = "전체";
- if(cardcmpycd == "계") cardcmpycd = "전체";
-
- var parm = model.getValue("/root/send/case4/ddflag") + "▦" + //조회조건
- model.getValue("/root/send/case4/fromdata") + "▦" + //시작일자
- model.getValue("/root/send/case4/todata") + "▦" + //종료일자
- model.getValue("/root/main/case4/conficardamtlist/conficardamtstats[" + row + "]/ordtype") + "▦" + //진료형태
- model.getValue("/root/main/case4/conficardamtlist/conficardamtstats[" + row + "]/cardcmpycd") + "▦";
-
- setParameter("SMPAS00175_PARM", parm);
-
- open("../../../pam/rcptteamstatsweb/xrw/SMPAS00175", "1", "350", "350", "SPPAS00170", "", "");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_case1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:120px; height:13px; ">카드미수관리</caption>
- <button id="btn_case1" class="btn_sw" group="tab" style="left:0px; top:26px; width:90px; height:22px; ">
- <caption>카드미수현황</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" group="tab" style="left:190px; top:26px; width:90px; height:22px; ">
- <caption>승인취소현황</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab" style="left:280px; top:26px; width:120px; height:22px; ">
- <caption>카드발생및입금내역</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="tab" style="left:90px; top:26px; width:100px; height:22px; ">
- <caption>카드입금현황</caption>
- <toggle case="case4" ev:event="onclick"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|