123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <rtnresnlist>
- <rtnresn>
- <pid/>
- <patnm/>
- <orddeptcd/>
- <orddrid/>
- <prcpdt/>
- <prcpcd/>
- <prcpnm/>
- <ioflag/>
- <actorddd/>
- <rtnresn/>
- <rtndt/>
- <rtndeptnm/>
- <rtnnm/>
- </rtnresn>
- </rtnresnlist>
- </main>
- <send>
- <date>
- <fromdd/>
- <todd/>
- <flag/>
- </date>
- </send>
- <init>
- <P0404list>
- <P0404>
- <cdnm/>
- <cdid/>
- </P0404>
- </P0404list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0404"), new Array("/root/init/P0404list"));
- pamGetDeptCDDrIDList();
- flag.select(0);
- model.refresh();
- fInitialize();
- ]]>
- </script>
- <submission id="TRPAS03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/date" resultref="/root/main/rtnresnlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/send/date/fromdd");
- model.resetInstanceNode("/root/send/date/todd");
- model.resetInstanceNode("/root/main/rtnresnlist/rtnresn");
- //날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
- model.setValue("/root/send/date/fromdd",curDate);
- model.setValue("/root/send/date/todd",curDate);
- model.refresh();
- }
-
- function fSearchChk() {
- var fromdd = model.getValue("/root/send/date/fromdd");
- var todd = model.getValue("/root/send/date/todd");
-
- if(fromdd > todd) {
- messageBox("시작일이 종료일을 앞설수","C001");
- return false;
- }
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">반환사유조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group4" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSearchChk()){
- submit("TRPAS03201");
- }
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:195px; top:7px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <caption id="caption2" class="search_name" style="left:18px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/date/fromdd" class="input_search" inputtype="date" style="left:108px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/date/todd" class="input_search" inputtype="date" style="left:210px; top:8px; width:85px; height:19px; "/>
- <select1 id="flag" ref="/root/send/date/flag" class="combo_search" appearance="minimal" style="left:400px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>동월 반환</label>
- <value>01</value>
- </item>
- <item>
- <label>이월 반환</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:328px; top:9px; width:66px; height:17px; ">구 분 :</caption>
- </group>
- <caption id="caption4" class="tit_2" style="left:6px; top:72px; width:131px; height:13px; ">반환사유내역</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:87px; x2:1194px; y2:87px; "/>
- <datagrid id="grd_rtnresn" nodeset="/root/main/rtnresnlist/rtnresn" class="datagrid2" caption="등록번호^성명^진료과^진료의사^처방일시^처방코드^처방명^구분(외/입)^시행일자^반환사유^반환일시^반환부서^반환자" colsep="^" colwidth="66, 80, 105, 80, 100, 100, 133, 80, 80, 80, 80, 105, 80" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1194px; height:650px; font-weight:normal; ">
- <col ref="pid" type="output"/>
- <col ref="patnm" type="output"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdt" type="output" format="yyyy-mm-dd"/>
- <col ref="prcpcd" type="output"/>
- <col ref="prcpnm" type="output"/>
- <col ref="ioflag" type="output"/>
- <col ref="actorddd" type="output" format="yyyy-mm-dd"/>
- <col disabled="true" ref="rtnresn"/>
- <col ref="rtndt" type="output" format="yyyy-mm-dd"/>
- <col ref="rtndeptnm" type="output"/>
- <col ref="rtnnm" type="output"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rtnresn.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" navindex="5" style="left:1126px; top:68px; width:64px; height:19px; ">
- <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_uncomonthendproc.saveExcel(fileName, "반환사유조회", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|