123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332 |
- <?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>
- <deptgoodinfo>
- <deptgoodinfolist>
- <reqflag/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <dinfflag/>
- <dinfdivs/>
- <baseqty/>
- <safestocqty/>
- <csrbaseqty/>
- </deptgoodinfolist>
- </deptgoodinfo>
- <deptgooddelinfo>
- <deptgooddelinfolist/>
- </deptgooddelinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <cond>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <proddrugsetflag/>
- <reqflag/>
- <goodflag>01</goodflag>
- <reqdata/>
- </cond>
- <init>
- <lrglist/>
- <mdllist/>
- <smllist/>
- </init>
- <temp>
- <csrreqdeptlist/>
- </temp>
- <hidden>
- <common>
- <dinfflaginfo/>
- <dinfdivsinfo/>
- </common>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList (new Array("M0585","M0586")
- ,new Array("/root/hidden/common/dinfdivsinfo","/root/hidden/common/dinfflaginfo"),true);
-
- model.removeNodeset("/root/main/deptgoodinfo/deptgoodinfolist");
- model.removeNodeset("/root/main/deptgooddelinfo/deptgooddelinfolist");
-
- model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/goodreq/useyn", "Y");
-
- submit("TRMNG00401");//부서구분 조회
-
-
- submit("TRMNG00101"); //대분류 조회
- addComboItem( "cmb_lrgcd", "전체", "", "above");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRMNG00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/lrglist"/>
- <submission id="TRMNG00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/mdllist"/>
- <submission id="TRMNG00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/smllist"/>
- <submission id="TRMNG01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/deptgoodinfo"/>
- <submission id="TRMNG01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptgooddelinfo"/>
- <submission id="TRMNG00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- function fGetDeptGoodinfoSearch(){
-
- if(submit("TRMNG01601")){
-
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1150" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1035px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:217px; height:14px; ">물품별 부서 보유현황 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1085px; height:744px; ">
- <shape id="roundrect1" class="rodundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1080px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:104px; width:87px; height:13px; ">물품내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:120px; x2:710px; y2:120px; "/>
- <line id="line2" class="line_1" style="width:400; x1:720px; y1:120px; x2:1080px; y2:120px; "/>
- <datagrid id="grd_deptgoodinfolist" nodeset="/root/main/deptgoodinfo/deptgoodinfolist" class="datagrid2" caption="Set구분^물품코드^물품명^규격^모델^멸균구분^멸균상세^총
보유량^부서
보유량^CSR
보유량" colsep="^" colwidth="71, 98, 143, 78, 80, 56, 42, 44, 44, 42" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:125px; width:710px; height:612px; ">
- <col ref="proddrugsetflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>Set</label>
- <value>1</value>
- </item>
- <item>
- <label>Single</label>
- <value>2</value>
- </item>
- <item>
- <label>Single Set</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col class="input_essential" ref="goodcd" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col disabled="true" ref="dinfflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/common/dinfflaginfo/M0586">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dinfdivs" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/hidden/common/dinfdivsinfo/M0585">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="baseqty" style="text-align:right; "/>
- <col ref="safestocqty" style="text-align:right; "/>
- <col ref="csrbaseqty" style="text-align:right; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_deptgoodinfolist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if(!isDataCell()) return;
-
- var iRow = grd_deptgoodinfolist.row - grd_deptgoodinfolist.fixedRows+1;
-
- model.makeValue("/root/send/reqdata/goodcd",model.getValue("/root/main/deptgoodinfo/deptgoodinfolist["+iRow+"]/goodcd"));
-
- if(submit("TRMNG01602")){
- model.removeNodeset("/root/send/reqdata");
- }
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_deptgooddelinfolist" nodeset="/root/main/deptgooddelinfo/deptgooddelinfolist" allowuserresize="false" caption="부서구분^부서명^비품수량^비품수량^비품수량^비품수량|부서구분^부서명^Total^Single^Set^Set" colsep="^" colwidth="57, 85, 41, 42, 25, 85" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:720px; top:125px; width:360px; height:612px; ">
- <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/temp/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptnm" type="output" style="text-align:center; "/>
- <col ref="safestocqty" type="output" style="text-align:right; "/>
- <col/>
- <col/>
- <col ref="goodnm" type="output" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_deptgooddelinfolist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:720px; top:104px; width:131px; height:14px; ">부서 보유 상세내역</caption>
- <line id="line13" class="line_4" style="x1:974px; y1:20px; x2:974px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:990px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDeptGoodinfoSearch();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_lrgcd" ref="/root/cond/lrgcd" appearance="minimal" style="left:130px; top:15px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/lrglist">
- <label ref="lrgnm"/>
- <value ref="lrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRMNG00102");
- var nodelist = instance1.selectNodes("/root/init/mdllist");
- model.removeNodeset("/root/cond/mdlcd");
- model.removeNodeset("/root/cond/smlcd");
- model.makeNode("/root/cond/mdlcd");
-
- if(nodelist.length < 1 ){
- model.removeNodeset("/root/init/mdllist");
- model.removeNodeset("/root/init/smllist");
- }else{
- addComboItem( "cmb_mdlcd", "전체", "", "above");
- model.setValue("/root/cond/mdlcd",model.getValue("/root/init/mdllist/mdlcd[1]"));
- }
- cmb_mdlcd.refresh();
- cmb_smlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd" ref="/root/cond/smlcd" appearance="minimal" style="left:335px; top:15px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/smllist">
- <label ref="smlnm"/>
- <value ref="smlcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_proddrugsetflag" ref="/root/cond/proddrugsetflag" appearance="full" cols="4" overflow="visible" style="left:540px; top:17px; width:185px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>Set</label>
- <value>1</value>
- </item>
- <item>
- <label>Single</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_goodcd" class="search_name" style="left:450px; top:45px; width:86px; height:17px; ">검색구분 :</caption>
- <select1 id="cmb_mdlcd" ref="/root/cond/mdlcd" appearance="minimal" style="left:230px; top:15px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mdllist">
- <label ref="mdlnm"/>
- <value ref="mdlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRMNG00103");
- var nodelist = instance1.selectNodes("/root/init/smllist");
- model.removeNodeset("/root/cond/smlcd");
- model.makeNode("/root/cond/smlcd");
- if(nodelist.length < 1){
- model.removeNodeset("/root/init/smllist");
- }else{
- addComboItem( "cmb_smlcd", "전체", "", "above");
- model.setValue("/root/cond/smlcd",model.getValue("/root/init/smllist/smlcd[1]"));
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_reqdata" ref="/root/cond/reqdata" class="input_search" imemode="alpha" appearance="input" style="left:670px; top:41px; width:145px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_goodflag" ref="/root/cond/goodflag" appearance="full" cols="4" overflow="visible" style="left:540px; top:45px; width:125px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>물품코드</label>
- <value>01</value>
- </item>
- <item>
- <label>물품명</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:450px; top:16px; width:86px; height:17px; ">Set구분 :</caption>
- <caption id="caption13" class="search_name" style="left:40px; top:16px; width:86px; height:17px; ">분류구분 :</caption>
- <caption id="caption14" class="search_name" visibility="hidden" style="left:40px; top:45px; width:86px; height:17px; ">물품구분 :</caption>
- <select1 id="rdo_reqflag" ref="/root/cond/reqflag" visibility="hidden" appearance="full" cols="5" overflow="visible" style="left:130px; top:45px; width:261px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>비품</label>
- <value>1</value>
- </item>
- <item>
- <label>소모품</label>
- <value>2</value>
- </item>
- <item>
- <label>린넨</label>
- <value>4</value>
- </item>
- <item>
- <label>멸균의뢰</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|