123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPAO00401_카드매출전표출력.xrw
- * 설 명 : 현금매출전표출력
- * 설 계 자 : 유정란
- * 작 성 자 : 유정란
- * 작 성 일 : 2008.10.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <h_svan>
- <svan>
- <svan_pid/>
- <svan_aprvflag/>
- <svan_aprvdd/>
- <svan_aprvtm/>
- <svan_aprvno/>
- <svan_instcd/>
- <svan_vancd/>
- <svan_keyinptflag/>
- <svan_indinstflag/>
- <svan_qualcnfmflag/>
- <svan_qualcnfmno/>
- <svan_cashamt/>
- <svan_trmnno/>
- <svan_rcptexecdd/>
- <svan_rcpttm/>
- <svan_rcptrid/>
- <svan_remfact/>
- <svan_fstrgstrid/>
- <svan_fstrgstdt/>
- <svan_lastupdtrid/>
- <svan_lastupdtdt/>
- </svan>
- </h_svan>
- </main>
- <send>
- <pid/>
- <aprvfromdd/>
- <aprvtodd/>
- <aprvsrchflag/>
- <ioflag/>
- <rcptrid/>
- </send>
- <init>
- <P0390list>
- <P0390>
- <cdid/>
- <cdnm/>
- </P0390>
- </P0390list>
- <P0073list>
- <P0073>
- <cdid/>
- <cdnm/>
- </P0073>
- </P0073list>
- <P0354list>
- <P0354>
- <cdid/>
- <cdnm/>
- </P0354>
- </P0354list>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAO00552" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/h_svan"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInit();
- fComCDInit();
-
- if (checkOpener())
- {
- var SPPAO00401_PID_PARM = opener.javascript.getParameter("SPPAO00401_PID_PARM");
- opener.javascript.setParameter("SPPAO00401_PID_PARM","");
-
- if (SPPAO00401_PID_PARM != null && SPPAO00401_PID_PARM != "" && SPPAO00401_PID_PARM != " " && SPPAO00401_PID_PARM != "-")
- {
- model.setValue("/root/send/pid",SPPAO00401_PID_PARM);
- model.refresh();
-
- fCvanRef();
- }
-
- var SMPAS00172_PARM = opener.javascript.getParameter("SMPAS00172_PARM");
- opener.javascript.setParameter("SMPAS00172_PARM","");
- if (SMPAS00172_PARM != null && SMPAS00172_PARM != "" && SMPAS00172_PARM != " " && SMPAS00172_PARM != "-")
- {
- var array_parm = SMPAS00172_PARM.split("▦");
-
- model.setValue("/root/send/pid" , "");
- model.setValue("/root/send/aprvfromdd" , array_parm[0]); //시작일자
- model.setValue("/root/send/aprvtodd" , array_parm[1]); //종료일자
- model.setValue("/root/send/rcptrid" , array_parm[2]); //수납자ID
-
- fCvanRef();
- model.refresh();
- }
- }
-
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fInit(){
- model.resetInstanceNode("/root/send");
- model.removeNodeset("/root/main/h_svan/svan");
-
- model.setValue("/root/send/aprvfromdd",getCurrentDate());
- model.setValue("/root/send/aprvtodd",getCurrentDate());
- model.setValue("/root/send/ioflag","O");
-
- datagrid1.rebuild();
- model.refresh();
- }
-
- function fComCDInit(){
- zbcfGetCodeList(
- new Array("P0073","P0390","P0354"),
- new Array("/root/init/P0073list"
- ,"/root/init/P0390list"
- ,"/root/init/P0354list"
- )
- );
- }
-
- function fCvanRef(){
- var pid = model.getValue("/root/send/pid");
- var rcptrid = model.getValue("/root/send/rcptrid");
-
- if (rcptrid == null){
- if (pid == null || pid == "" || pid == " " || pid == "-"){
- messageBox("환자번호 입력후 조회하십시요!","E999","");
- return false;
- }
- }
-
- model.removeNodeset("/root/main/h_svan/svan");
- datagrid1.rebuild();
-
- submit("TRPAO00552");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="500">
- <group id="group2" style="left:0px; top:18px; width:1095px; height:35px; vertical-align:top; background-color:#fffbf2; border-color:#ffd799; ">
- <shape id="roundrect1" style="left:0px; top:0px; width:1095px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:915px; y1:6px; x2:915px; y2:28px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">환자번호 :</caption>
- <input id="input1" ref="/root/send/pid" maxlength="10" style="left:110px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
-
- fCvanRef();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:220px; top:10px; width:91px; height:17px; ">승인일자 :</caption>
- <input id="input2" ref="/root/send/aprvfromdd" inputtype="date" style="left:315px; top:9px; width:100px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/ioflag" disabled="true" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:780px; top:10px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" style="left:420px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="input3" ref="/root/send/aprvtodd" inputtype="date" style="left:435px; top:9px; width:100px; height:19px; "/>
- <button id="button1" class="btn1_letter2" style="left:926px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCvanRef();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter6" style="left:985px; top:7px; width:104px; height:22px; ">
- <caption>승인전표출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //선택후 출력하도록 체크
- var currow = datagrid1.row;
-
- if (currow < 1){
- messageBox("내역을 선택하신 후에 출력하십시요!","E999","");
- return;
- }
-
- model.removeNodeset("/root/temp/receipt");
-
- model.makeNode("/root/temp/receipt/pid");
- model.makeNode("/root/temp/receipt/aprvflag");
- model.makeNode("/root/temp/receipt/aprvdd");
- model.makeNode("/root/temp/receipt/aprvtm");
- model.makeNode("/root/temp/receipt/aprvno");
- model.makeNode("/root/temp/receipt/ordtype");
- model.makeNode("/root/temp/receipt/instcd");
- model.makeNode("/root/temp/receipt/ordtype");
-
- model.setvalue("/root/temp/receipt/pid" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_pid"));
- model.setvalue("/root/temp/receipt/aprvflag" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_aprvflag"));
- model.setvalue("/root/temp/receipt/aprvdd" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_aprvdd"));
- model.setvalue("/root/temp/receipt/aprvtm" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_aprvtm"));
- model.setvalue("/root/temp/receipt/aprvno" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_aprvno"));
- model.setvalue("/root/temp/receipt/ordtype" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_ordtype"));
- model.setvalue("/root/temp/receipt/instcd" , model.getValue("/root/main/h_svan/svan["+ currow +"]/svan_instcd"));
- model.setValue("/root/temp/receipt/ordtype", "카드전표재출력");
-
- modal("SPPAO01900", "1", "200", "200", "SPPAO01900", "", "");
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:548px; top:10px; width:86px; height:17px; ">수납자ID :</caption>
- <input id="input4" ref="/root/send/rcptrid" style="left:645px; top:9px; width:105px; height:19px; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/h_svan/svan" caption="환자번호^승인구분^신분확인구분^신분확인번호^결제금액^개인/법인^승인번호^승인일자^시간^승인자^최종작업시간" colsep="^" colwidth="80, 57, 90, 122, 74, 62, 79, 74, 54, 88, 120" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:1095px; height:430px; ">
- <col ref="svan_pid"/>
- <col disabled="true" ref="svan_aprvflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0390list/P0390">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="svan_qualcnfmflag" type="combo" format="hh:nn:ss">
- <choices>
- <itemset nodeset="/root/init/P0073list/P0073">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="svan_qualcnfmno"/>
- <col ref="svan_cashamt" format="(-)#,###" style="text-align:right; "/>
- <col disabled="true" ref="svan_indinstflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0354list/P0354">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="svan_aprvno"/>
- <col ref="svan_aprvdd" format="yyyy-mm-dd"/>
- <col ref="svan_aprvtm" format="hh:nn:ss"/>
- <col ref="svan_fstrgstrid"/>
- <col ref="svan_lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:55px; x2:1097px; y2:55px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:14px; ">현금영수증전표출력</caption>
- </xhtml:body>
- </xhtml:html>
|