123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <init>
- <oproomlist>
- <oproomcd/>
- <oproomnm/>
- </oproomlist>
- </init>
- <main>
- <cond>
- <reqfromdd/>
- <reqtodd/>
- <oproomcd/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <deliveflag>0</deliveflag>
- <refflag>Y</refflag>
- </cond>
- <acmlgoodreqlist>
- <delivereqdd/>
- <oproomcd/>
- <useflag/>
- <goodcd/>
- <allsizespecid/>
- <goodalias/>
- <prodcmpynm/>
- <unit/>
- <reqqty/>
- <deliveqty/>
- <cnfm/>
- <uncnfmresn/>
- </acmlgoodreqlist>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- <temp>
- <refflag/>
- <goodcond>Y</goodcond>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <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/SMMNP04700.js"/>
- <submission id="TRMNP04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acmlgoodreqlist"/>
- <submission id="TRMNP04702" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproomlist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1196;2,753;" 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="caption6" 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:735px; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption26" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">의뢰일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1034px; top:21px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn1_letter4" style="left:1092px; top:21px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- </button>
- <line id="line13" class="line_4" style="x1:1025px; y1:17px; x2:1025px; y2:47px; "/>
- <caption id="caption1" class="search_name" style="left:385px; top:9px; width:83px; height:17px; ">수 술 방 :</caption>
- <caption id="caption11" class="search_n_b" style="left:206px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/reqfromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/main/cond/reqtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:222px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:472px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <output id="opt_allsizespecid" ref="/root/main/cond/allsizespecid" class="output_fix" appearance="output" style="left:230px; top:34px; width:45px; height:19px; text-align:center; "/>
- <button id="btn_search" class="icon_search" style="left:207px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refflag = model.getValue("/root/temp/refflag");
- if( refflag == "1" ) { /*물품명으로 검색*/
- setParameter("refnm", model.getValue("/root/main/cond/goodnm"));
- setParameter("refflag", "1");
- }else if( refflag == "2" ) { /*물품코드으로 검색*/
- setParameter("refnm", model.getValue("/root/main/cond/goodcd"));
- setParameter("refflag", "2");
- }
- modal("SMMNP04460" ,"", "100", "100", "SMMNP04460", "/root/temp/goodcond", "/root/main/cond/goodcond");
- var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
- if( getData == "") {
- return;
- }else {
- var getDataTemp1 = getData.split("▩");
-
- var getDataTemp2 = getDataTemp1[0].split("|");
-
- model.setValue("/root/main/cond/goodcd", getDataTemp2[0]);
- model.setValue("/root/main/cond/goodnm", getDataTemp2[1]);
- model.setValue("/root/main/cond/allsizespecid", getDataTemp2[2]);
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- opt_allsizespecid.refresh();
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04701");
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:15px; top:34px; width:89px; height:17px; ">물품코드 :</caption>
- <input id="ipt_goodnm" ref="/root/main/cond/goodnm" class="input_search" style="left:280px; top:34px; width:292px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue("/root/temp/refflag", "1");
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/main/cond/goodcd" class="input_search" style="left:102px; top:34px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue("/root/temp/refflag", "2");
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:595px; top:9px; width:89px; height:17px; ">불출구분 :</caption>
- <select1 id="radio2" ref="/root/main/cond/deliveflag" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:685px; top:9px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미확정</label>
- <value>1</value>
- </item>
- <item>
- <label>확정</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var reqfromdd = model.getValue("/root/main/cond/reqfromdd");
- var reqtodd = model.getValue("/root/main/cond/reqtodd");
-
- if( ( reqfromdd == "" )&&( reqtodd == "" ) ) {//조회할 의뢰일자를 입력해야 한다.
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04701");
- grd_acmlgoodreqlist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <datagrid id="grd_acmlgoodreqlist" nodeset="/root/main/acmlgoodreqlist" autoresize="true" caption="의뢰일자^수술방^사용구분^물품코드^SIZEID^물품명칭(규격,모델)^제조원^단위^의뢰량^불출량^확정^미확정사유" colsep="^" colwidth="80, 60, 75, 80, 45, 350, 80, 55, 55, 55, 55, 165" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:1195px; height:550px; ">
- <col ref="delivereqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="oproomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="useflag" type="combo">
- <choices>
- <item>
- <label>재사용물품</label>
- <value>Y</value>
- </item>
- <item>
- <label>누적물품</label>
- <value>Z</value>
- </item>
- <item>
- <label>1회사용</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodalias"/>
- <col ref="prodcmpynm"/>
- <col disabled="true" ref="unit" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>each</label>
- <value>EA</value>
- </item>
- <item>
- <label>pack</label>
- <value>PK</value>
- </item>
- <item>
- <label>box</label>
- <value>BOX</value>
- </item>
- <item>
- <label>roll</label>
- <value>ROL</value>
- </item>
- <item>
- <label>set</label>
- <value>SET</value>
- </item>
- </choices>
- </col>
- <col ref="reqqty" style="text-align:right; "/>
- <col ref="deliveqty" style="text-align:right; "/>
- <col disabled="true" ref="cnfm" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="uncnfmresn" style="text-align:left; "/>
- </datagrid>
- <caption id="caption22" class="tit_2" style="left:5px; top:80px; width:170px; height:13px; ">누적물품 불출의뢰 리스트</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|