123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?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>
- <csrbipumlist>
- <chkyn/>
- <deptcd/>
- <deptnm/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <deliveunit/>
- <safestocqty/>
- <chngsafestocqty/>
- <goodmngtflag/>
- <cmt/>
- <certyn/>
- <reqflag/>
- <instcd/>
- <goodflag/>
- <purcunit/>
- <minexch/>
- <ddavguseqty/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <smlcd/>
- <smlnm/>
- </csrbipumlist>
- <duplnode>
- <csrbipumlist/>
- </duplnode>
- </main>
- <send>
- <retvcond>
- <goodflag/>
- <goodcd/>
- <goodnm/>
- </retvcond>
- <goodbaseqtylist/>
- <goodcd/>
- <csrreqdeptcd/>
- <instcd/>
- </send>
- <init>
- <lrgcd/>
- <mdlcd/>
- </init>
- <hidden>
- <a/>
- <lrgcd/>
- <mdlcd/>
- </hidden>
- <temp/>
- <copynode/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrreqdeptlist"/>
- <submission id="TRRSD06011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/csrbipumlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- //misfGridInit(grd_goodslist);
- misfComboComCdListMulti("Z0007", "cmb_instcd");
-
- //misfGridComboComCdList("R0025", grd_goodslist, "goodflag");
-
-
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- submit("TRRSS01211");
-
- model.refresh();
- fSerachData();
- }
-
-
- function fSerachData()
- {
- model.makeValue("/root/send/reqdata/instcd", cmb_instcd.value);
- model.makeValue("/root/send/reqdata/csrreqdeptcd", cmb_csrreqdeptcd.value);
-
-
- submit("TRRSD06011");
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="880" pageheight="500" guideline="1,963;2,771;1,514;2,503;1,865;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:950px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균품목내역 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:485px; height:475px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:485px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:485px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9; width:89px; height:17px; ">기관코드 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:420px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSerachData();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_4" style="x1:405px; y1:2px; x2:405px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_csrreqdeptcd" class="search_name" visibility="hidden" style="left:210px; top:8px; width:89px; height:17px; ">부서구분 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/send/retvcond/csrreqdeptcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:299px; top:8px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:95px; height:14px; ">물품청구내역</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:70px; x2:485px; y2:70px; "/>
- <button id="button1" class="btn2_letter4" style="left:405px; top:50px; width:64px; height:19px; ">
- <caption>선택적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn;
- var header = "deptcd▦deptnm▦goodcd▦goodnm▦goodspec▦goodmodel▦deliveunit▦safestocqty▦goodmngtflag▦chngsafestocqty▦cmt▦certyn▦reqflag▦instcd▦goodflag▦purcunit▦minexch▦ddavguseqty▦lrgcd▦lrgnm▦mdlcd▦mdlnm▦smlcd▦smlnm▩";
- var data = "";
- for(var i = 1; i < grd_csrsomolist.rows; i++) {
- chkyn = grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("chkyn"));
- if(chkyn == "Y") {
- copyNodesetType("/root/main/duplnode/csrbipumlist", "/root/main/csrbipumlist[" + i + "]", "after");
- data +=
- grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deptcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deptnm")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodnm")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodspec")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodmodel")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("deliveunit")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("safestocqty")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodmngtflag")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("chngsafestocqty")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("cmt")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("certyn")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("reqflag")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("instcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("goodflag")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("purcflag")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("minexch")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("ddavguseqty")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("lrgcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("lrgnm")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("mdlcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("mdlnm")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("smlcd")) + "▦"
- + grd_csrsomolist.valueMatrix(i, grd_csrsomolist.colRef("smlnm")) + "▩"
- }
- }
-
- if ( checkOpener() ) {
-
- opener.javascript.setParameter("SMRSD06001_", header+data);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
-
- window.close();
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_csrsomolist" nodeset="/root/main/csrbipumlist" class="datagrid2" caption="^물품코드^물품명^청구수량^저장" colsep="^" colwidth="25, 70, 150, 50, 50" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:75px; width:480px; height:400px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col class="input_essential" ref="goodcd" _key="true"/>
- <col ref="goodnm"/>
- <col ref="safestocqty" style="background-color:#e3e3e3; "/>
- <col ref="chngsafestocqty" style="background-color:#e3e3e3; "/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|