123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <?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>
- <rscddruglist/>
- <rsdhdemdlist/>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <goodcd/>
- <instcd/>
- </send>
- <init/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSE01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscddruglist"/>
- <submission id="TRRSE01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsdhdemdlist"/>
- </model>
- <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" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- misfGridInit(grd_rscddruglist);
- misfGridInit(grd_rsdhdemdlist);
-
- misfMsterDetailSet(grd_rscddruglist,null, "TRRSE01401" ,"N");
- misfMsterDetailSet(grd_rsdhdemdlist,grd_rscddruglist, "TRRSE01402" ,"N");
-
- misfComboComCdList("Z0007", cmb_instcd);
-
- cmb_instcd.value = getUserInfo("dutplceinstcd");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_fromdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_todd.attribute("ref") , curdate);
-
- btn_search.dispatch("DOMActivate");
-
- }
-
- function fGridCheckSearch()
- {
- model.setValue("/root/send/goodcd", grd_rscddruglist.valueMatrix(grd_rscddruglist.row, grd_rscddruglist.colRef("goodcd")));
- submit("TRRSE01402");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,785;" 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:186px; height:14px; ">비품대여반납내역조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:695px; y2:79px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:62px; width:155px; height:13px; ">CSR 비품내역 조회</caption>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_fromdd" class="search_name" style="left:359px; top:12px; width:99px; height:17px; ">조회일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:445px; top:11px; width:104px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption13" style="left:555px; top:11px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <line id="line14" class="line_4" style="x1:1073px; y1:5px; x2:1073px; y2:35px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1105px; top:10px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRSE01401");
-
- grd_rscddruglist.row = grd_rscddruglist.fixedRows;
-
- fGridCheckSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:575px; top:11px; width:104px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:97px; top:12px; width:198px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:13px; width:86px; height:17px; ">기관코드 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:715px; top:62px; width:155px; height:13px; ">상세내역 조회</caption>
- <line id="line2" class="line_1" style="x1:715px; y1:80px; x2:1194px; y2:79px; "/>
- <datagrid id="grd_rscddruglist" nodeset="/root/main/rscddruglist" caption="물품코드^물품명^규격^CSR 비품량^대여량^반납량^재고량" colsep="^" colwidth="92, 180, 112, 73, 73, 73, 65" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:84px; width:695px; height:651px; ">
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="safestocqty" format="#,###" style="text-align:right; "/>
- <col ref="fromqty" format="#,###" style="text-align:right; "/>
- <col ref="toqty" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fGridCheckSearch();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_rsdhdemdlist" nodeset="/root/main/rsdhdemdlist" caption="대여일자^대여부서^대여수량^반납일자^반납수량" colsep="^" colwidth="81, 151, 64, 81, 61" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:715px; top:84px; width:479px; height:651px; ">
- <col ref="fromreqdd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:left; "/>
- <col ref="fromqty" format="#,###" style="text-align:right; "/>
- <col ref="toreqdd" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="toqty" format="#,###" style="text-align:right; "/>
- </datagrid>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|