123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 수정이력 :
-
- [2007.10.18 HBH : 공급실 불출구분이 "응급"이면 마감차수를 입력받지 않는다.
-
- -->
- <?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>
- <list>
- <goodreqcsrdept>
- <goodreqcsrdeptlist/>
- </goodreqcsrdept>
- <goodreq>
- <goodreqlist/>
- <goodreqdetllist/>
- </goodreq>
- <gooddelive>
- <gooddelivelist/>
- </gooddelive>
- </list>
- <item/>
- </main>
- <send>
- <save>
- <goodreq>
- <goodreqlist/>
- <goodreqdetllist/>
- </goodreq>
- <gooddelive>
- <gooddelivelist/>
- </gooddelive>
- </save>
- <goodreq>
- <instcd/>
- <reqfrdd/>
- <reqtodd/>
- <delivedd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <goodcd/>
- <goodnm/>
- <deliveprcsflag/>
- <reqflag/>
- <workflag/>
- <reqmthdflag/>
- <purcflag/>
- <deliveprcsflag_group>13</deliveprcsflag_group>
- <deliveflag/>
- <reqpridflag/>
- <csrreqdeptcd/>
- <iudflag/>
- <querygubun/>
- <goodflag>T</goodflag>
- <gubun>Y</gubun>
- <delivefrdd/>
- <delivetodd/>
- </goodreq>
- <gooddelive>
- <instcd/>
- <reqflag/>
- <reqdd/>
- <reqno/>
- <reqseqno/>
- </gooddelive>
- </send>
- <init>
- <goodreqcsrdeptlist>
- <reqdeptcd/>
- <reqdeptnm/>
- </goodreqcsrdeptlist>
- </init>
- <hidden/>
- <temp/>
- <copynode/>
- <printdata>
- <instnm/>
- <deliveflagnm/>
- <reqpridflagnm/>
- <fromdd/>
- <todd/>
- </printdata>
- </root>
- </instance>
- <bind id="savedeliveprcsflag" ref="/root/main/list/goodreq/goodreqlist/savedeliveprcsflag" calculate="../deliveprcsflag"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSO00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
- <submission id="TRRSE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/init/goodreqcsrdept"/>
- <submission id="TRRSD00432" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
- <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/init/csrreqdeptlist"/>
- <submission id="TRRSD06013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/reqtimslist"/>
- <submission id="TXRSE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/temp"/>
- <submission id="TRRSE00121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/init/goodreqcsrdeptlist"/>
- <submission id="TRRSE00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
- <submission id="TRRSE00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/list/goodreq/goodreqdetllist"/>
- <submission id="TXRSE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/hidden/temp"/>
- <submission id="TXRSO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/gooddelive" resultref="/root/hidden/temp"/>
- <submission id="TXRSE00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/temp"/>
- <submission id="TXRSE00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/temp"/>
- </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[
-
- var goodreqRow = -1;
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_goodreqcsrdept);
- misfGridInit(grd_goodreq);
-
- misfComboComCdListMulti("Z0007", "cmb_instcd");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
-
- submit("TRRSS01211");
-
- addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
-
-
- // // 불출구분은 '1"
- // model.setValue(cmb_deliveflag.attribute("ref") , "1");
- // hidden
- model.setValue(ipt_reqmthdflag.attribute("ref") , "3");
-
- // [2008.01.23 HBH] reqflag 를 전체 가 가능하게 하면서 물품구분 "T"를 send 추가
- model.setValue(opt_goodflag.attribute("ref") , "T");
-
- grd_goodreq.explorerbar = "sortshow";
-
- for(licol = 0; licol < grd_goodreq.cols ; licol++)if(grd_goodreq.colRef("reqdeptnm") != licol) grd_goodreq.mergecol(licol) = false;
- grd_goodreq.mergecells = "bycol";
-
- model.setValue(ipt_reqfrdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_reqtodd.attribute("ref"), getCurrentDate());
-
- model.setValue(ipt_delivefrdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_delivetodd.attribute("ref"), getCurrentDate());
-
- fsearch();
- model.refresh();
- }
-
- function fCheckAuth() {
- // btn_search.disabled = !checkAuth("R") ;
- // btn_save.disabled = !checkAuth("X") ;
- }
- function fsearch() {
- model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
-
- submit("TRRSD06013");
- var degr = model.getValue("/root/init/reqseqlist/reqseq");
-
- //cmb_reqpridflag.value = degr;
- }
-
- function fsearch2() {
-
- model.makeValue("/root/send/reqdata/instcd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("instcd")));
- model.makeValue("/root/send/reqdata/reqflag", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqflag")));
- model.makeValue("/root/send/reqdata/reqdd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqdd")));
- model.makeValue("/root/send/reqdata/reqdeptcd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqdeptcd")));
- model.makeValue("/root/send/reqdata/reqseqno", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqseqno")));
- model.makeValue("/root/send/reqdata/deliveseqno", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("deliveseqno")));
-
- submit("TRRSE00122");
- }
-
- function fsearch3() {
-
- model.makeValue("/root/send/goodreq/delivedeptcd", grd_goodreqcsrdept.valueMatrix(grd_goodreqcsrdept.row, grd_goodreqcsrdept.colRef("delivedeptcd")));
-
- //misfDetailRetrieve();
- submit("TRRSE00123");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:243px; height:14px; ">불출반납관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:62px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1005px; top:27px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //if(fCheckRetrieveData(true) == false)return;
-
- // initial value
- model.setValue("/root/send/goodreq/reqdeptcd", model.getValue(cmb_csrreqdeptcd.attribute("ref")));
-
- misfGridInit(grd_goodreq);
-
- submit("TRRSE00121");
-
- ]]>
- </script>
- </button>
- <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_s_essential" inputtype="date" style="left:301px; top:18px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_s_essential" inputtype="date" style="left:425px; top:20px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption23" style="left:407px; top:21px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <button id="btnselect" class="btn2_letter4" style="left:1130px; top:75px; width:64px; height:19px; ">
- <caption>반납저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_goodreq);
-
- model.makeValue("/root/send/reqdata/updtdata", updtdata);
-
- if(submit("TXRSE00122")) {
- messageBox("저장이 완료되었습니다.", "I");
- }
-
- fsearch3();
-
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_search" imemode="disabled" appearance="input" style="left:301px; top:44px; width:96px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodcd.label != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + opt_goodflag.value + "," + model.getValue(ipt_goodcd.attribute("ref")) + ",,,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,opt_goodflag");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }else{
- ipt_goodcd.value = "";
- ipt_goodnm.value = "";
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_goodcd" class="icon_search" style="left:400px; top:46px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,opt_goodflag");
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_search" style="left:420px; top:44px; width:148px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_goodnm.label != "")
- {
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm",
- "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + opt_goodflag.value + ",," + model.getValue(ipt_goodnm.attribute("ref")) + ",," ,
- "","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,opt_goodflag");
- }else{
- ipt_goodnm.value = "";
- ipt_goodcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" visibility="visible" caption="청구일자^불출일자^청구부서^물품명^규격^안전
재고^반납
단위^교환^교환^교환^교환^대여^대여^대여^대여^미반납사유^instcd^reqflag^reqseqno^reqdeptcd^goodcd^goodflag^deliveflag^delivedeptcd^deliveseqno|청구일자^불출일자^청구부서^물품명^규격^안전
재고^반납
단위^불출^기반납^반납^미반납^불출^기반납^반납^미반납^미반납사유^instcd^reqflag^reqseqno^reqdeptcd^goodcd^goodflag^deliveflag^delivedeptcd^deliveseqno" colsep="^" colwidth="80, 80, 67, 147, 110, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 161, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecells="byrowrec" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:175px; top:101px; width:1019px; height:290px; ">
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="delivedd" format="yyyy-mm-dd"/>
- <col ref="depthngnm"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="safestocqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveunit"/>
- <col ref="dlvexchngqty" format="#,###" style="text-align:right; "/>
- <col ref="rtnexchngqty" format="#,###" style="text-align:right; "/>
- <col ref="exchngqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="nortnexchngqty" format="#,###" style="text-align:right; "/>
- <col ref="dlvlendqty" format="#,###" stype="text-align:right;"/>
- <col ref="rtnlendqty" format="#,###"/>
- <col ref="lendqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="nortnlendqty" format="#,###" style="text-align:right; "/>
- <col ref="cmt"/>
- <col ref="instcd"/>
- <col ref="reqflag"/>
- <col ref="reqseqno"/>
- <col ref="reqdeptcd"/>
- <col ref="goodcd"/>
- <col ref="goodflag"/>
- <col ref="deliveflag"/>
- <col ref="delivedeptcd"/>
- <col ref="deliveseqno"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodreq.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_goodreq.isCell(event.target) && grd_goodreq.mouseRow >= grd_goodreq.fixedrows){
- if(grd_goodreq.col != grd_goodreq.colRef("exchngqty") && grd_goodreq.col != grd_goodreq.colRef("lendqty")) {
- goodreqRow = grd_goodreq.row;
- fsearch2();
- }
-
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
- if(grd_goodreq.col == grd_goodreq.colRef("exchngqty")) {
-
- var dlvexchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("dlvexchngqty"));
- var rtnexchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("rtnexchngqty"));
- var exchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("exchngqty"));
-
- var org = Number(dlvexchngqty);
- var sum = Number(rtnexchngqty) + Number(exchngqty);
-
- if( org < sum ) {
- messageBox("반납량이 분출된 수량보다 많을 수 없습니다.", "E");
- grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("exchngqty")) = "";
- grd_goodreq.rowStatus(grd_goodreq.row) = "0";
- grd_goodreq.editCell();
- }
- } else if(grd_goodreq.col == grd_goodreq.colRef("lendqty")) {
-
- var dlvexchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("dlvlendqty"));
- var rtnexchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("rtnlendqty"));
- var exchngqty = grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("exchngqty"));
-
- var org = Number(dlvexchngqty);
- var sum = Number(rtnexchngqty) + exchngqty(exchngqty);
-
- if( org < sum ) {
- messageBox("반납량이 분출된 양보다 많을 수 없습니다.", "E");
- grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("exchngqty")) = "";
- grd_goodreq.rowStatus(grd_goodreq.row) = "0";
- grd_goodreq.editCell();
- }
-
- }
- ]]>
- </script>
- </datagrid>
- <line id="line14" class="line_4" style="x1:990px; y1:20px; x2:990px; y2:62px; "/>
- <caption id="caption14" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="caption16" class="search_name" style="left:215px; top:45px; width:86px; height:17px; ">물품코드 :</caption>
- <caption id="caption18" class="search_name" visibility="hidden" style="left:855px; top:50px; width:86px; height:17px; ">진행상태 :</caption>
- <caption id="caption20" class="search_name" style="left:15px; top:45px; width:94px; height:17px; ">부서구분 :</caption>
- <caption id="caption24" class="search_name" style="left:215px; top:20px; width:86px; height:17px; ">청구일자 :</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:170px; y2:96px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:81px; width:110px; height:13px; ">불출부서</caption>
- <input id="ipt_reqmthdflag" ref="/root/send/goodreq/reqmthdflag" visibility="hidden" style="left:915px; top:25px; width:25px; height:19px; text-align:center; "/>
- <datagrid id="grd_goodreqcsrdept" nodeset="/root/init/goodreqcsrdeptlist" caption="청구부서^청구부서^수량" colsep="^" colwidth="6, 100, 46" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:101px; width:170px; height:643px; ">
- <col ref="delivedeptcd" visibility="hidden"/>
- <col ref="delivedeptnm"/>
- <col ref="qty"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(grd_goodreqcsrdept.isCell(event.target) && grd_goodreqcsrdept.mouseRow >= grd_goodreqcsrdept.fixedrows){
- fsearch3();
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:175px; y1:96px; x2:1195px; y2:96px; "/>
- <output id="opt_goodflag" ref="/root/send/goodreq/goodflag" visibility="hidden" style="left:815px; top:20px; width:20px; height:19px; "/>
- <output id="output1" ref="/root/send/goodreq/gubun" visibility="hidden" style="left:845px; top:20px; width:70px; height:19px; "/>
- <select1 id="rdo_deliveprcsflag_group" ref="/root/send/goodreq/deliveprcsflag_group" visibility="hidden" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:940px; top:50px; width:185px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>불출</label>
- <value>67</value>
- </item>
- <item>
- <label>미불출</label>
- <value>13</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:19px; width:95px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_csrreqdeptcd" ref="/root/send/goodreq/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:44px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn1_letter2" navindex="7" style="left:1065px; top:27px; width:56px; height:22px; text-align:left; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckRetrieveData(true) == false)return;
-
- // initial value
- model.setValue("/root/send/goodreq/reqdeptcd", "");
- misfGridInit(grd_goodreqcsrdept);
- misfGridInit(grd_goodreq);
-
- //misfMsterDetailRetrieve();
- // grd_goodreqcsrdept.dispatch("onrowchanged");
- submit("TRRSE00111");
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter2" navindex="7" style="left:1125px; top:27px; width:56px; height:22px; text-align:left; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckRetrieveData(true) == false)return;
-
- // initial value
- model.setValue("/root/send/goodreq/reqdeptcd", "");
- misfGridInit(grd_goodreqcsrdept);
- misfGridInit(grd_goodreq);
-
- //misfMsterDetailRetrieve();
- // grd_goodreqcsrdept.dispatch("onrowchanged");
- submit("TRRSE00111");
-
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:175px; top:81px; width:110px; height:13px; ">불출List</caption>
- <datagrid id="grd_goodreqdetllist" nodeset="/root/main/list/goodreq/goodreqdetllist" visibility="visible" caption="기관코드^청구일자^청구부서^청구구분^청구번호^불출번호^반납번호^불출일자^반납일자^상태^현위치^물품코드^물품명^반납교환수량^반납대여수량^반납단위^비고^최초등록자^최초등록일시^최종수정자^최종수정일시^불출번호" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 80, 80, 50, 65, 0, 100, 100, 100, 60, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:175px; top:420px; width:1020px; height:323px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqdd"/>
- <col ref="reqdeptcd"/>
- <col ref="reqflag"/>
- <col ref="reqseqno"/>
- <col ref="deliveseqno"/>
- <col ref="rtnseqno"/>
- <col ref="delivedd" format="yyyy-mm-dd"/>
- <col ref="rtndd" format="yyyy-mm-dd"/>
- <col ref="rtnstat" type="combo">
- <choices>
- <item>
- <label>반납</label>
- <value>X</value>
- </item>
- <item>
- <label>반납취소</label>
- <value>C</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="goodplcecd" type="combo">
- <choices>
- <item>
- <label>세척</label>
- <value>1</value>
- </item>
- <item>
- <label>멸균</label>
- <value>2</value>
- </item>
- <item>
- <label>저장소</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="goodcd" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="rtnexchngqty" style="text-align:right; "/>
- <col ref="rtnlendqty" style="text-align:right; "/>
- <col ref="rtnunit"/>
- <col ref="cmt"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodreq.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:175px; top:400px; width:110px; height:13px; ">반납상세List</caption>
- <line id="line3" class="line_1" style="x1:175px; y1:415px; x2:1195px; y2:415px; "/>
- <input id="ipt_delivetodd" ref="/root/send/goodreq/delivetodd" class="input_s_essential" inputtype="date" style="left:745px; top:20px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_delivefrdd" ref="/root/send/goodreq/delivefrdd" class="input_s_essential" inputtype="date" style="left:622px; top:18px; width:96px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:727px; top:21px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- <caption id="caption7" class="search_name" style="left:536px; top:20px; width:86px; height:17px; ">불출일자 :</caption>
- <button id="btn_cncl" class="btn2_letter4" style="left:1130px; top:420px; width:64px; height:19px; ">
- <caption>반납취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_goodreqdetllist.row > -1 && grd_goodreqdetllist.row >= grd_goodreqdetllist.fixedrows){
- var rtn = messageBox("반납을 취소하시겠습니까?", "Q");
- if(rtn == "6") {
- var firstRow = grd_goodreqdetllist.selectedRow(0);
- var lastRow = grd_goodreqdetllist.selectedRow(grd_goodreqdetllist.selectedRows-1);
-
- for(var i = firstRow; i <= lastRow; i++) {
- grd_goodreqdetllist.addStatus(i, "update");
- }
-
- var updtdata = getGridUpdateData(grd_goodreqdetllist);
- model.makeValue("/root/send/reqdata/goodreqdetllist", updtdata);
-
- submit("TXRSE00123");
- fsearch2();
- }
- }
- else {
- messageBox("불출 취소할 항목을 선택하여 주세요.", "E");
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|