123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?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="">
- <init>
- <oproomlist>
- <oproomcd/>
- <oproomnm/>
- </oproomlist>
- <rosettelist>
- <rosettenm/>
- <rosettecd/>
- </rosettelist>
- <deliveinfo>
- <basedayflag/>
- <basedtflag/>
- <message/>
- <basedelive/>
- </deliveinfo>
- </init>
- <main>
- <cond>
- <refdd/>
- <oproomcd/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <deptflag>O</deptflag>
- <fromdd/>
- <todd/>
- <oprosette/>
- <openflag/>
- </cond>
- <undelivelist>
- <ccrtstatnm/>
- <opstatnm/>
- <chkflag/>
- <deliveqty/>
- <undeliveqty/>
- <oproomnm/>
- <opcnfmdt/>
- <perfdeptnm/>
- <patnm/>
- <pid/>
- <sa/>
- <opnm/>
- <perfnm/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <prodcmpynm/>
- <prcpunit/>
- <undeliveresn/>
- <oprsrvno/>
- <oproomcd/>
- </undelivelist>
- <deliveinfo>
- <reqenddt/>
- <delivecnfmdd/>
- <delivemessage/>
- </deliveinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <temp>
- <refflag/>
- <kk/>
- <logginlevel>
- <usrlevel/>
- </logginlevel>
- </temp>
- </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="../../../emr/opanstweb/js/SPMNP03000.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if( checkOpener() ) {
- fInit("S");
- }
- ]]>
- </script>
- <submission id="TRMNP03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rosettelist"/>
- <submission id="TRMNP03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/oproomlist"/>
- <submission id="TRMNP03006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/undelivelist"/>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:248px; height:14px; ">수술실 물품 미불출 관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:742px; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:30px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption26" class="search_name" style="left:10px; top:5px; width:86px; height:17px; ">조회일자 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fUnDeliveSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1115px; y1:5px; x2:1115px; y2:25px; "/>
- <caption id="caption1" class="search_name" style="left:445px; top:5px; width:83px; height:17px; ">수 술 방 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:97px; top:4px; width:95px; height:19px; text-align:center; "/>
- <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:595px; top:5px; width:50px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:220px; top:5px; width:86px; height:17px; ">부서구분 :</caption>
- <select1 id="cmb_rosette" ref="/root/main/cond/oprosette" class="combo_search" appearance="minimal" style="left:535px; top:5px; width:50px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rosettelist">
- <label ref="rosettenm"/>
- <value ref="rosettecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/reqdata/opcnfmdd" ,model.getValue("/root/main/cond/fromdd") );
- model.makeValue("/root/send/reqdata/rosette" ,model.getValue("/root/main/cond/oprosette"));
- if(submit("TRMNP03002")){ // 수술실코드 가져오기
- addComboItem("cmb_oproomlist","전체","","above");
- }
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/main/cond/deptflag" class="combo_search" appearance="minimal" style="left:307px; top:5px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>수술</label>
- <value>O</value>
- </item>
- <item>
- <label>마취</label>
- <value>A</value>
- </item>
- <item>
- <label>회복</label>
- <value>R</value>
- </item>
- <item>
- <label>안과</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
- <datagrid id="grd_undelivelist" nodeset="/root/main/undelivelist" class="datagrid2" caption="Cart
상태^진행
상태^^불출
수량^미불출
수량^수술
방^수술일시^집도과^환자명^등록번호^S/A^수술명^집도의^물품코드^SUB^물품명^규격^모델^제조원^단위^미불출사유^상태값^수술방코드" colsep="^" colwidth="38, 38, 25, 38, 38, 38, 120, 45, 65, 70, 45, 117, 65, 70, 38, 122, 80, 80, 80, 50, 122, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:70px; width:1194px; height:665px; ">
- <col ref="ccrtstatnm" style="text-align:center; "/>
- <col ref="opstatnm" style="text-align:center; "/>
- <col ref="chkflag" type="checkbox" style="text-align:right; "/>
- <col ref="deliveqty" type="input" style="text-align:right; "/>
- <col ref="undeliveqty" style="text-align:right; "/>
- <col ref="oproomnm" style="text-align:center; "/>
- <col ref="opcnfmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="perfdeptnm" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="opnm" style="text-align:left; "/>
- <col ref="perfnm" visibility="visible" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="goodmodel" style="text-align:left; "/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="prcpunit" style="text-align:center; "/>
- <col ref="undeliveresn" style="text-align:left; "/>
- <col ref="oprsrvno"/>
- <col ref="oproomcd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_undelivelist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var deliveqty, undeliveqty;
- if( grd_erlist.col == 4 ) {//불출수량 입력하면
- deliveqty = model.getValue("/root/main/reqerlist[" + grd_erlist.row + "]/deliveqty");
- undeliveqty = model.getValue("/root/main/reqerlist[" + grd_erlist.row + "]/undeliveqty");
- if( deliveqty < "1" ) {
- model.setValue("/root/main/reqerlist[" + grd_erlist.row + "]/chkflag", "false");
- }else {
- model.setValue("/root/main/reqerlist[" + grd_erlist.row + "]/chkflag", "true");
- model.setValue("/root/main/reqerlist[" + grd_erlist.row + "]/undeliveqty", parseInt(undeliveqty-deliveqty));
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <!-- 20101114_KNUH_김병국 버튼숨김 -->
- <button id="btn_delivecnfm" class="btn5_letter4" visibility="hidden" style="left:1128px; top:45px; width:64px; height:19px; ">
- <caption>불출확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeliveCnfm("S");
- ]]>
- </script>
- </button>
- <caption id="caption12" class="tit_2" style="left:0px; top:50px; width:175px; height:13px; ">수술실 물품 미불출 리스트</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|