123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- <?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>
- <takeinfo>
- <takelist/>
- </takeinfo>
- </main>
- <send>
- <instcdnm/>
- <workdd/>
- <deptcd/>
- <workflag/>
- <cdgrupid1>T66</cdgrupid1>
- <cdgrupid>T82</cdgrupid>
- </send>
- <init>
- <grupcdinfo1/>
- <grupcdinfo/>
- <lncdinfo>
- <lncdlist/>
- </lncdinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.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="TRMNG02305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/grupcdinfo"/>
- <submission id="TRMNG02306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/grupcdinfo1"/>
- <submission id="TRMNG03503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/takeinfo"/>
- <submission id="TRMNG03504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/lncdinfo"/>
- <submission id="TXMNG03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
- <submission id="TRMNG03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/whiorexinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.setValue(opt_instcdnm.attribute("ref"), getUserInfo("dutplceinstnm")); //기관코드
- model.setValue(ipt_workdd.attribute("ref"), getCurrentDate()); //년월
-
- // 중앙공급실 운송수거부서
- submit("TRMNG02305");
-
- // 중앙공급실 업무구분
- submit("TRMNG02306");
-
- rdo_workflag.value = "L";
- rdo_workflag.disabled = true;
- grd_takelist.colDisabled(grd_takelist.colRef("goodcd")) = true;
-
- addComboItem("cmb_deptcd","--전체--", "","above");
-
- // 수거용 자루 물품정보 가져오기
- submit("TRMNG03504");
- }
-
- function fSearch() {
-
- submit("TRMNG03503");
- }
-
- function fPrintRex() {
-
- // submit("TRMNG03402");
- //
- // model.makeNode("/root/send/report/csmtrexinfo");
- //
- // copyNodesetType("/root/send/report/csmtrexinfo", "/root/main/whiorexinfo");
- //
- // exeReportPreview("RPMNG03400", "XMLSTR", "/root/send/report/csmtrexinfo");
-
- }
-
- // function fSettingGoodList(pnode) {
- //
- // var codynode = instance1.selectNodes(pnode + "/*");
- //
- // var addRow = grd_takelist.rows - grd_takelist.fixedRows;
- //
- // for (var j = 1; j <= codynode.length; j++)
- // {
- // if(addRow > grd_takelist.rows - grd_takelist.fixedRows)
- // {
- // misfGridIUD(grd_takelist,"A");
- // addRow = grd_takelist.rows - grd_takelist.fixedRows;
- // }
- //
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/deptcd" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/deptcd") );
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/goodcd" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/goodcd"));
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/goodcdseq" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/goodcdseq"));
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/lngoodnm" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/lngoodnm"));
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/goodmodel" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/goodmodel"));
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/goodunit" , model.getValue(pnode +"/" + "grd_takelist" + "[" + j + "]/goodunit"));
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/workflag" , rdo_workflag.value);
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/workdd" , ipt_workdd.value);
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/takeid" , getUserInfo("userid") );
- // model.setValue(grd_takelist.nodeset + "[" + addRow + "]/takenm" , getUserInfo("usernm") );
- //
- // addRow = addRow + 1;
- // }
- //
- // grd_takelist.colDisabled(grd_takelist.colRef("takeflag")) = true;
- // grd_takelist.colDisabled(grd_takelist.colRef("deptcd")) = true;
- // model.recalculate();
- // model.refresh();
- //
- // }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1210;2,756;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1185px; 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:60px; width:1185px; height:655px; ">
- <caption id="caption12" class="tit_2" style="left:5px; top:9px; width:138px; height:14px; ">수거 관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1185px; y2:26px; "/>
- <button id="btn_sav" class="btn5_letter2" style="left:1135px; top:3px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/reqdata/takelist", getGridUpdateData(grd_takelist) ) ;
- submit("TXMNG03502");
- ]]>
- </script>
- </button>
- <datagrid id="grd_takelist" nodeset="/root/main/takeinfo/takelist" visibility="visible" caption="업무구분^부서명^물품코드^상세코드^린넨품명^상세규격^단위^수거량^무게^수거자^수거일시^비고" colsep="^" colwidth="70, 100, 80, 70, 150, 100, 55, 100, 100, 70, 120, 130" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:1185px; height:615px; ">
- <col disabled="true" ref="workflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/grupcdinfo1/grupcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/grupcdinfo/grupcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="goodcd" type="inputbutton"/>
- <col ref="goodcdseq"/>
- <col ref="lngoodnm"/>
- <col ref="goodmodel"/>
- <col ref="goodunit"/>
- <col ref="takecnt" type="input" format="#,###"/>
- <col ref="weight" type="input" forma="#,###"/>
- <col ref="takenm"/>
- <col ref="takedt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="remark" type="input"/>
- <col ref="takeid" visibility="hidden"/>
- <col ref="workdd" visibility="hidden"/>
- <col ref="workno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_takelist.rowStatus(grd_takelist.row) == 1 || grd_takelist.rowStatus(grd_takelist.row) == 3 ) {
- grp_lncd.visible = true;
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_add" class="btn2_letter2" style="left:1045px; top:3px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_takelist.addRow();
- grd_takelist.colDisabled(grd_takelist.colRef("deptcd")) = false;
- grd_takelist.colDisabled(grd_takelist.colRef("workflag")) = true;
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("workflag")) = rdo_workflag.value;
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter2" style="left:1090px; top:3px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_takelist.rowStatus(grd_takelist.row) == 1 || grd_takelist.rowStatus(grd_takelist.row) == 3) {
- grd_takelist.deleteRow(grd_takelist.row);
- } else {
- grd_takelist.rowStatus(grd_takelist.row) = 4;
- }
- ]]>
- </script>
- </button>
- <group id="grp_lncd" visibility="hidden" style="left:220px; top:140px; width:468px; height:135px; background-color:#339966; border-color:#000000; border-style:solid; ">
- <datagrid id="grd_lncdlist" nodeset="/root/init/lncdinfo/lncdlist" visibility="visible" caption="물품코드^상세코드^린넨품명^상세규격^단위" colsep="^" colwidth="80, 60, 150, 86, 83" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:31px; width:463px; height:73px; ">
- <col ref="goodcd"/>
- <col ref="goodcdseq"/>
- <col ref="lngoodnm"/>
- <col ref="goodmodel"/>
- <col ref="goodunit"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("goodcd")) = grd_lncdlist.valueMatrix(grd_lncdlist.row, grd_lncdlist.colRef("goodcd"));
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("goodcdseq")) = grd_lncdlist.valueMatrix(grd_lncdlist.row, grd_lncdlist.colRef("goodcdseq"));
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("lngoodnm")) = grd_lncdlist.valueMatrix(grd_lncdlist.row, grd_lncdlist.colRef("lngoodnm"));
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("goodmodel")) = grd_lncdlist.valueMatrix(grd_lncdlist.row, grd_lncdlist.colRef("goodmodel"));
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("goodunit")) = grd_lncdlist.valueMatrix(grd_lncdlist.row, grd_lncdlist.colRef("goodunit"));
- grd_takelist.valueMatrix(grd_takelist.row, grd_takelist.colRef("workdd")) = getCurrentDate();
- grp_lncd.visible = false;
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter2" style="left:419px; top:109px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_lncd.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">물품목록</caption>
- </group>
- </group>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; ">.,m</shape>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1062px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1050px; y1:25px; x2:1050px; y2:50px; "/>
- <caption id="cap_csrreqdeptcd" class="search_name" style="left:250px; top:30px; width:81px; height:17px; ">업무일자:</caption>
- <input id="ipt_workdd" ref="/root/send/workdd" class="input_default" inputtype="date" maxlength="6" format="yyyy-mm-dd" style="left:335px; top:30px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">기관코드 :</caption>
- <output id="opt_instcdnm" ref="/root/send/instcdnm" class="output_fix" style="left:100px; top:30px; width:135px; height:19px; text-align:center; "/>
- <button id="btn_prt" class="btn1_letter2" style="left:1125px; top:27px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fPrintRex();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:435px; top:30px; width:81px; height:17px; ">부서구분:</caption>
- <select1 id="cmb_deptcd" ref="/root/send/deptcd" appearance="minimal" style="left:530px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/grupcdinfo/grupcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:645px; top:30px; width:81px; height:17px; ">업무구분:</caption>
- <select1 id="rdo_workflag" ref="/root/send/workflag" appearance="full" cols="4" overflow="visible" style="left:735px; top:30px; width:305px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/grupcdinfo1/grupcdlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|