123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?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>
- <rend>
- <rendlist>
- <pid/>
- <pnm/>
- <chrtdeptabbr/>
- <appdeptabbr/>
- <lendman/>
- <rendresn/>
- <roomcd/>
- <renddt/>
- <renddd/>
- <rendtm/>
- <chrtdeptcd/>
- <chrtdeptnm/>
- <appdeptcd/>
- <appdeptnm/>
- <lendmanid/>
- </rendlist>
- </rend>
- </main>
- <send>
- <reqdata>
- <acptid/>
- <ioflag/>
- <jobcd/>
- <renddd/>
- <resettm/>
- <bcno/>
- </reqdata>
- </send>
- <hidden>
- </hidden>
- <init>
- </init>
- <tmp>
- </tmp>
- </root>
- </instance>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/chrtmngtweb/js/SPMRC03000.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fFormInit();
- ]]>
- </script>
- <submission id="TRMRC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
- <submission id="TRMRC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
- <submission id="TXMRC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
- <submission id="TXMRC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="600" style="font-weight:normal; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:196px; height:14px; ">종이 차트 바코드 대출 및 반납</caption>
- <input id="ipt_lendbcno" ref="/root/send/reqdata/bcno" class="input_essential" navindex="1" appearance="input" style="left:243px; top:24px; width:187px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- // 바코드입력 후 엔터시 -> 대출 or 반납
- var jobcd = model.getValue("/root/send/reqdata/jobcd");
- if (jobcd == "1") {
- fSetLendChartBcno(); // 대출
- } else {
- fSetReturnChartBcno(); // 반납
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption54" class="cell_1" style="left:165px; top:22px; width:75px; height:23px; vertical-align:middle; ">BARCODE</caption>
- <line id="line35" class="line_3" style="x1:15px; y1:46px; x2:430px; y2:46px; "/>
- <line id="line1" class="line_3" style="x1:15px; y1:20px; x2:430px; y2:20px; "/>
- <datagrid id="grd_rendlist" nodeset="/root/main/rend/rendlist" caption="등록번호^환자이름^차트과^대출과^대출자^대출용도^병실^대출일시" colsep="^" colwidth="70, 70, 70, 70, 70, 80, 50, 110" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:15px; top:52px; width:635px; height:498px; ">
- <col ref="pid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
- <col ref="pnm" style="text-align:center; "/>
- <col ref="chrtdeptabbr" style="text-align:center; "/>
- <col ref="appdeptabbr" style="text-align:center; "/>
- <col ref="lendman" style="text-align:center; "/>
- <col ref="rendresn" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="renddt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <line id="line27" class="line_1" style="x1:15px; y1:48px; x2:650px; y2:48px; "/>
- <select1 id="rdo_jobcd" ref="/root/send/reqdata/jobcd" navindex="3" overflow="visible" appearance="full" cols="2" style="left:20px; top:25px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>대 출 .</label>
- <value>1</value>
- </item>
- <item>
- <label>반 납</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fFormSet();
- ]]>
- </script>
- </select1>
- <button id="btn_delrow" class="btn5_letter3" navindex="2" style="left:595px; top:25px; width:53px; height:19px; ">
- <caption>Reset</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/reqdata/renddd" , getCurrentDate());
- model.setValue("/root/send/reqdata/resettm", getCurrentTime());
- model.refresh();
- // 다시조회..
- var jobcd = model.getValue("/root/send/reqdata/jobcd");
- if (jobcd == "1") {
- submit("TRMRC03001"); // 대출
- } else {
- submit("TRMRC03002"); // 반납
- }
- ]]>
- </script>
- </button>
- <caption id="cap_resettm" ref="/root/send/reqdata/resettm" format="hh:nn" style="left:548px; top:28px; width:40px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
- </xhtml:body>
- </xhtml:html>
|