123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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>
- <uncolist>
- <pid/>
- <hngnm/>
- <befamt/>
- <incamt/>
- <decamt/>
- <restamt/>
- <uncocd/>
- <unconm/>
- </uncolist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <ordtype>O</ordtype>
- <uncocd>%</uncocd>
- <offset/>
- <pagesize>200</pagesize>
- <befodt/>
- </send>
- <init>
- <uncocd>
- <cdnm/>
- <cdid/>
- </uncocd>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- 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/fromdd", tmpYear+""+tmpMonth+""+tmpDate);
- model.setValue("/root/send/todd", tmpYear+""+tmpMonth+""+tmpDate);
-
- var beforeDate = model.getValue("/root/send/fromdd").toDate().getAddDate(-1, 'D');
- beforeDate = beforeDate.getDateFormat("YYYYMMDD");
- model.setValue("root/send/befodt", beforeDate);
- model.refresh();
-
- input7.refresh();
- input1.refresh();
- datagrid1.explorerbar = "sort";
-
- if (!submit("TRPAS01132")) {
- messageBox("계정코드 조회 중 오류..!", "E999");
- }
- ]]>
- </script>
- <submission id="TRPAS01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPAS01132" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- </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">
- <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:193px; height:14px; font-family:돋움; vertical-align:middle; ">미수금(환자)명세서</caption>
- </group>
- <group id="group2" style="left:4px; top:22px; 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:221px; 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; "/>
- <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 beforeDate = model.getValue("/root/send/fromdd").toDate().getAddDate(-1, 'D');
- beforeDate = beforeDate.getDateFormat("YYYYMMDD");
- model.setValue("root/send/befodt", beforeDate);
- model.refresh();
-
- submit("TRPAS01131");
- ]]>
- </script>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <input id="input7" ref="/root/send/fromdd" class="input_default" navindex="7" inputtype="date" style="left:98px; top:8px; width:120px; 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="input1" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:243px; top:8px; width:120px; 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="combo1" ref="/root/send/ordtype" appearance="minimal" style="left:475px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/send/uncocd" appearance="minimal" style="left:660px; top:8px; width:215px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/uncocd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" style="left:625px; top:11px; width:30px; height:13px; font-weight:bold; ">계정</caption>
- <caption id="caption1" style="left:410px; top:11px; width:54px; height:14px; font-weight:bold; ">진료형태</caption>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/uncolist" caption="등록번호^이름^전월미수금^증가의료미수금^감소의료미수금^미수잔액^계정^계정명^" colsep="^" colwidth="150, 139, 142, 145, 150, 150, 89, 186" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:5px; top:67px; width:1198px; height:681px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="befamt" format="(-)#,##0" style="left:330px; top:23px; width:150px; height:23px; text-align:right; "/>
- <col ref="incamt" format="(-)#,##0" style="left:470px; top:23px; width:150px; height:23px; text-align:right; "/>
- <col ref="decamt" format="(-)#,##0" style="left:590px; top:23px; width:150px; height:23px; text-align:right; "/>
- <col ref="restamt" format="(-)#,##0" style="left:740px; top:23px; width:150px; height:23px; text-align:right; "/>
- <col ref="uncocd" style="text-align:center; "/>
- <col ref="unconm" style="text-align:left; "/>
- </datagrid>
- <button id="button95" class="btn6_letter4" visibility="visible" style="left:977px; top:29px; 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 != "")
- {
- datagrid1.saveExcel(fileName, "미수금(환자)명세서"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:1069px; top:29px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPAS00139", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|