123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?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="">
- <main>
- <gasnetinfo>
- <gasnetlist>
- <goodcd/>
- <goodnm/>
- <reqqty/>
- <instcd/>
- <reqdd/>
- <reqno/>
- <reqseqno/>
- <reqdeptcd/>
- <netseqno/>
- </gasnetlist>
- </gasnetinfo>
- <deptnm/>
- </main>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNG01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gasnetinfo"/>
- <submission id="TXMNG01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.setValue("/root/main/deptnm", model.property("reqdeptnm"));
- model.removeNodeset(grd_gasnetlist.nodeset);
- grd_gasnetlist.refresh();
-
- fSearch();
-
- }
-
- function fSearch() {
- var instcd ="";
- var reqdd = "";
- var reqno = "";
- var reqseqno = "";
- var reqdeptcd = "";
-
- instcd = model.property("instcd");
- reqdd = model.property("reqdd");
- reqno = model.property("reqno");
- reqseqno = model.property("reqseqno");
- reqdeptcd = model.property("reqdeptcd");
-
- model.makeValue("/root/send/instcd" , instcd);
- model.makeValue("/root/send/reqdd" , reqdd);
- model.makeValue("/root/send/reqno" , reqno);
- model.makeValue("/root/send/reqseqno" , reqseqno);
- model.makeValue("/root/send/reqdeptcd", reqdeptcd);
- model.makeValue("/root/send/certflag", "Y");
-
- submit("TRMNG01103");
- for(var i=grd_gasnetlist.fixedRows; i < grd_gasnetlist.rows; i++) {
- grd_gasnetlist.rowStatus(i) = "2";
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="550" pageheight="500" guideline="1,963;2,771;2,503;" 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:380px; 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:15px; width:530px; height:453px; ">
- <caption id="caption12" class="tit_2" style="left:5px; top:9px; width:121px; height:14px; ">멸균망목록</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:24px; x2:530px; y2:24px; "/>
- <datagrid id="grd_gasnetlist" nodeset="/root/main/gasnetinfo/gasnetlist" class="datagrid2" caption="물품코드^물품명^물품
수량^확인
수량^확인자^사유^기관코드^청구일자^청구번호^청구순번^청구부서^망순번" colsep="^" colwidth="0, 227, 50, 50, 60, 100, 60, 74, 100, 65, 76, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:29px; width:525px; height:421px; ">
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm" type="input" style="font-size:14pt; font-weight:bold; "/>
- <col ref="reqqty" type="input" style="font-size:14pt; font-weight:bold; text-align:center; "/>
- <col ref="certqty" type="input" style="font-size:14pt; font-weight:bold; text-align:center; "/>
- <col ref="certnm" style="text-align:center; "/>
- <col ref="certdesc" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="reqseqno" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="netseqno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_gasnetlist.col == grd_gasnetlist.colRef("certqty")) {
- if(event.keyCode == 13 && (grd_gasnetlist.row != grd_gasnetlist.rows - 1)) {
- grd_gasnetlist.row = grd_gasnetlist.row + 1;
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_sav" class="btn5_letter2" style="left:485px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedata/gasnetlist", getGridUpdateData(grd_gasnetlist) );
-
- submit("TXMNG01104");
-
- fSearch();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/deptnm" style="left:225px; top:0px; width:245px; height:19px; font-weight:bold; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|