123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?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>
- <goodlist>
- <item>
- <chk/>
- <section/>
- <goodcd/>
- <goodnm/>
- <speccd/>
- <safestocqty/>
- <exstocqty/>
- <wlnqty/>
- <sumqty/>
- <useqty/>
- <stocqty/>
- <reqqty/>
- </item>
- </goodlist>
- <codelist>
- <item>
- <cdid/>
- <cdnm/>
- </item>
- </codelist>
- </main>
- <send>
- <srchdd/>
- <srchbdioflag/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <mainlist/>
- <nuclwlnlist/>
- <nucldelivelist/>
- <compdwlnlist/>
- <compddelivelist/>
- <srchsectcd/>
- <srchsectnm/>
- <srchroomcd/>
- <srchroomnm/>
- <grupcdid/>
- <srflag/>
- <alladdyn/>
- </send>
- <tmp>
- <suplcustcd/>
- <suplcustnm/>
- <itemflag/>
- <rem/>
- <rexlist>
- <srchdd/>
- <patinsucnt/>
- <patgnrlcnt/>
- <testinsucnt/>
- <testgnrlcnt/>
- </rexlist>
- <iolist/>
- <srchdd/>
- </tmp>
- <cmb_info>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp>
- <initexcuroomgrp2>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp2>
- </cmb_info>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchdd", getCurrentDate());
- aezfSetSuppDeptcd();
-
- model.setValue("/root/send/alladdyn","N")
-
- model.refresh();
-
- //section 조회
- submit("TRAEA01301");
-
- model.setValue("/root/send/srchroomcd"," ")
- model.setValue("/root/send/srflag","S")
- var sectnm = combo1.label
- model.setValue("/root/send/srchsectnm",sectnm)
- // model.setValue("/root/send/srflag","S")
- // model.setValue("/root/send/grupcdid", "A0008");
- // submit("TRAEB00010");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRAEQ01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodlist"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:7; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">조영제 재고현황</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <datagrid id="grd_prodlist" nodeset="/root/main/goodlist/item" caption="chk^Section^약품코드^약품명^용량^안전재고량^전일재고^수령^합계^소모^잔고^청구수량" colsep="^" colwidth="32, 70, 100, 215, 82, 89, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" ref="/root/main/item1" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col ref="chk" visibility="hidden"/>
- <col ref="section" type="output"/>
- <col editable="false" ref="goodcd" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="speccd" type="output" style="text-align:center; "/>
- <col ref="safestocqty" type="output" format="#,###" style="text-align:right; "/>
- <col ref="exstocqty" type="output" style="text-align:right; "/>
- <col ref="wlnqty" type="output" style="text-align:right; "/>
- <col ref="sumqty" type="output" style="text-align:right; "/>
- <col ref="useqty" type="output" style="text-align:right; "/>
- <col ref="stocqty" type="output" style="text-align:right; "/>
- <col ref="reqqty" type="output" style="text-align:right; "/>
- </datagrid>
- <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption19" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
- <input id="input8" ref="/root/send/srchdd" class="input_search" inputtype="date" style="left:102px; top:8px; width:100px; height:19px; "/>
- <line id="line6" class="line_4" style="x1:1116px; y1:6px; x2:1116px; y2:28px; "/>
- <caption id="caption20" class="search_name" style="left:220px; top:9px; width:83px; height:17px; ">Section :</caption>
- <select1 id="combo1" ref="/root/send/srchsectcd" appearance="minimal" style="left:310px; top:8px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //btn_sea.dispatch("DOMActivate");
- model.setValue("/root/send/srchroomcd"," ")
- model.setValue("/root/send/srflag","S")
- var sectnm = combo1.label
- model.setValue("/root/send/srchsectnm",sectnm)
- model.refresh()
- ]]>
- </script>
- </select1>
- <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/srchdd") != "")
- {
- model.removeNodeset("/root/main/goodlist");
- submit("TRAEQ01701");
-
- model.refresh();
- }
- else
- {
- messageBox("날짜가 입력되지", "E007");
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:435px; top:9px; width:83px; height:17px; ">검사실 :</caption>
- <select1 id="combo2" ref="/root/send/srchroomcd" appearance="minimal" style="left:515px; top:8px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/cmb_info/initexcuroomgrp2">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // btn_sea.dispatch("DOMActivate");
- model.setValue("/root/send/srchsectcd"," ")
- model.setValue("/root/send/srflag","R")
- var roomnm = combo2.label
- model.setValue("/root/send/srchroomnm",roomnm)
- model.refresh()
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption22" class="tit_2" style="left:0px; top:55px; width:84px; height:14px; ">재고현황</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <button id="button1" class="btn2_letter4" visibility="visible" style="left:1118px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- //if ( grd_maindaily.rows == 0 ) return;
- grd_prodlist.saveExcel(file);
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|