123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700 |
- <?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>
- <goodrtninfo>
- <rtninfo>
- <goodrtnlist>
- <csrreqdeptcd/>
- <reqdeptnm/>
- <reqdd/>
- <reqpridflag/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <rtnqty/>
- <reqdt/>
- <reqnm/>
- <certdt/>
- <certnm/>
- <lendreqdt/>
- <lendreqnm/>
- <dlvdt/>
- <dlvnm/>
- </goodrtnlist>
- </rtninfo>
- </goodrtninfo>
- <goodirrtninfo>
- <irrtninfo>
- <goodirrtnlist>
- </goodirrtnlist>
- </irrtninfo>
- </goodirrtninfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <cond>
- <rtninfo>
- <instcd/>
- <csrreqdeptcd/>
- <deptcd/>
- <reqfromdd/>
- <reqtodd/>
- <deliveflag>1</deliveflag>
- <reqpridflag/>
- <rtnflag>R</rtnflag>
- </rtninfo>
- <disrtninfo>
- <instcd/>
- <csrreqdeptcd/>
- <deptcd/>
- </disrtninfo>
- </cond>
- <temp>
- <csrreqdeptlist/>
- </temp>
- <hidden>
- <csrreqdeptlist/>
- <deptcodelist/>
- <csrdeptlist/>
- <common>
- <instcdinfo/>
- </common>
- </hidden>
- <init>
- <csrreqdeptlist/>
- <deptcodelist/>
- <csrdeptlist/>
- </init>
- <tmp>
- <csrreqdeptlist/>
- </tmp>
- <csrreqdeptinfo>
- <csrreqdeptlist/>
- </csrreqdeptinfo>
- <printinfo>
- <goodrtninfo>
- <rtninfo/>
- </goodrtninfo>
- <goodirrtninfo>
- <irrtninfo/>
- </goodirrtninfo>
- </printinfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var getDeptcd = opener.javascript.getParameter("deptcd");
-
- model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/reqdata/instcd" , getUserInfo("dutplceinstcd"));
- fDeliveflagChg();//청구차수 선택시 상태값 변경
- model.removeNodeset("/root/send/reqdata");
-
- zbcfGetCodeList (new Array("Z0007"),new Array("/root/hidden/common/instcdinfo"),true);
-
- model.setValue("/root/cond/rtninfo/instcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/cond/disrtninfo/instcd" , getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/goodreq/instcd" , getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/goodreq/useyn", "Y");
-
- submit("TRMNG00401");
- copyNodesetType("/root/init/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- copyNodesetType("/root/hidden/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- copyNodesetType("/root/tmp/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- copyNodesetType("/root/csrreqdeptinfo/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- model.removeNodeset("/root/send/goodreq");
-
- addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
- addComboItem( "cmb_discsrreqdeptcd", "전체", "", "above");
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
-
- if(getUserInfo("dutplcecd") != "3080000000") {
- if(getDeptcd !=""){
- model.makeValue("/root/send/reqdata/deptcd",getDeptcd);
- }else{
- model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
- }
- }
-
- model.makeValue("/root/send/reqdata/refcond", "deptcd");
- submit("TRMNG00303");
- copyNodesetType("/root/init/deptcodelist" ,"/root/temp/deptcodelist","replace", model, model);
- copyNodesetType("/root/hidden/deptcodelist" ,"/root/temp/deptcodelist","replace", model, model);
-
- model.setValue("/root/cond/rtninfo/csrreqdeptcd",model.getValue("/root/init/deptcodelist/csrreqdeptcd2"));
- //20110226_KNUH_Start 중앙공급실경우 전체조회되도록
- if(getUserInfo("dutplcecd") != "3080000000") {
- model.setValue("/root/cond/disrtninfo/csrreqdeptcd",model.getValue("/root/hidden/deptcodelist/csrreqdeptcd2"));
- }
- cmb_csrreqdeptcd.refresh();
- cmb_discsrreqdeptcd.refresh();
- model.removeNodeset("/root/send/reqdata");
-
- model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
- model.makeValue("/root/send/reqdata/useyn","Y");
- submit("TRMNG00402");
- copyNodesetType("/root/init/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
- copyNodesetType("/root/hidden/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
- //20110226_KNUH_Start 중앙공급실경우 전체조회되도록
- if(getUserInfo("dutplcecd") != "3080000000") {
- if(getDeptcd !=""){
- model.setValue("/root/cond/rtninfo/deptcd",getDeptcd);
- model.setValue("/root/cond/disrtninfo/deptcd",getDeptcd);
- }else{
- model.setValue("/root/cond/rtninfo/deptcd",getUserInfo("dutplcecd"));
- model.setValue("/root/cond/disrtninfo/deptcd",getUserInfo("dutplcecd"));
- }
-
- } else {
- addComboItem( "cmb_disdeptcd", "전체", "", "above");
- }
- cmb_deptcd.refresh();
- cmb_disdeptcd.refresh();
-
- model.setValue("/root/cond/rtninfo/reqfromdd" ,getCurrentDate());
- model.setValue("/root/cond/rtninfo/reqtodd" ,getCurrentDate());
-
- model.removeNodeset("/root/send/reqdata");
- model.removeNodeset("/root/main/goodrtninfo/rtninfo/goodrtnlist");
- model.removeNodeset("/root/main/goodirrtninfo/irrtninfo/goodirrtnlist");
- model.refresh();
- fIrRtnSearch("rtn");
- ]]>
- </script>
- <submission id="TRMNG00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
- <submission id="TRMNG00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/deptcodelist"/>
- <submission id="TRMNG00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/csrdeptlist"/>
- <submission id="TRMNG00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/tmlist"/>
- <submission id="TRMNG01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/goodirrtninfo"/>
- <submission id="TRMNG01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/goodrtninfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript">
- <![CDATA[
- //반납 및 미반납 내역 조회
- //(srchflag : rtn->반납,dis->미반납)
- function fIrRtnSearch(srchflag){
- if(srchflag == "rtn"){
-
- model.makeValue("/root/send/reqdata/srchflag","rtn");
- if(model.getValue("/root/cond/rtninfo/reqpridflag") =="-"){
- model.makeValue("/root/send/reqdata/reqpridflag" ,"");
- }else{
- model.makeValue("/root/send/reqdata/reqpridflag",model.getValue("/root/cond/rtninfo/reqpridflag"));
- }
- model.makeValue("/root/send/reqdata/csrreqdeptcd" ,model.getValue("/root/cond/rtninfo/csrreqdeptcd"));
- model.makeValue("/root/send/reqdata/deptcd" ,model.getValue("/root/cond/rtninfo/deptcd"));
- model.makeValue("/root/send/reqdata/reqfromdd" ,model.getValue("/root/cond/rtninfo/reqfromdd"));
- model.makeValue("/root/send/reqdata/reqtodd" ,model.getValue("/root/cond/rtninfo/reqtodd"));
- model.makeValue("/root/send/reqdata/deliveflag" ,model.getValue("/root/cond/rtninfo/deliveflag"));
- model.makeValue("/root/send/reqdata/rtnflag" ,model.getValue("/root/cond/rtninfo/rtnflag"));
-
- if(submit("TRMNG01502")){
- fRtnFlagColCng();
- model.removeNodeset("/root/send/reqdata");
-
- }
-
- }else if(srchflag == "dis"){
- model.makeValue("/root/send/reqdata/srchflag" ,"dis");
- model.makeValue("/root/send/reqdata/instcd" ,model.getValue("/root/cond/disrtninfo/instcd"));
- model.makeValue("/root/send/reqdata/csrreqdeptcd" ,model.getValue("/root/cond/disrtninfo/csrreqdeptcd"));
- model.makeValue("/root/send/reqdata/deptcd" ,model.getValue("/root/cond/disrtninfo/deptcd"));
-
- if(submit("TRMNG01501")){
- model.removeNodeset("/root/send/reqdata");
- }
- }
- //model.refresh();
- }
- //청구차수 선택시 상태값 변경
- function fDeliveflagChg(){
- var eryn = model.getValue(chk_eryn.attribute("ref"));
- var std = isSearchString(eryn, "1");
- var er = isSearchString(eryn, "2");
- if(std) {
- cmb_reqpridflag.disabled = false;
- model.setValue(cmb_reqpridflag.attribute("ref"), model.getValue("/root/init/tmlist/reqseqlist/reqseq"));
- cmb_reqpridflag.refresh();
- } else {
- cmb_reqpridflag.disabled = true;
- cmb_reqpridflag.value = "-";
- }
- }
-
- // 상태구분에 따른 colHidden 상태 변경
- function fRtnFlagColCng(){
- var rtnflag = model.getValue("/root/cond/rtninfo/rtnflag");
- if(rtnflag=="RC"){
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("rtnqty2")) = false;
-
- }else {
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("rtnqty2")) = true;
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1270" pageheight="780" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1125px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">(미)반납내역조회</caption>
- </group>
- <button id="btn_cncrpatsrch" class="btn_sw" group="tab" selected="true" style="left:3px; top:15px; width:100px; height:22px; ">
- <caption>반 납</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:5px; top:40px; width:1239px; height:688px; ">
- <case id="case1" selected="true">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:5px; width:1230px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1050px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fIrRtnSearch("rtn");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_4" style="x1:1040px; y1:20px; x2:1040px; y2:52px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:76px; width:146px; height:14px; ">CSR 반납 물품정보</caption>
- <line id="line1" class="line_1" style="x1:2px; y1:95px; x2:1234px; y2:95px; "/>
- <select id="chk_eryn" ref="/root/cond/rtninfo/deliveflag" overflow="visible" appearance="full" cellspacing="70" cols="2" style="left:110px; top:47px; width:190px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>정규</label>
- <value>1</value>
- </item>
- <item>
- <label>응급</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDeliveflagChg();
-
- ]]>
- </script>
- </select>
- <select1 id="cmb_instcd" ref="/root/cond/rtninfo/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:110px; top:19px; width:125px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/common/instcdinfo/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reqfrdd" ref="/root/cond/rtninfo/reqfromdd" class="input_s_essential" inputtype="date" style="left:785px; top:20px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption20" class="search_name" style="left:270px; top:20px; width:94px; height:17px; ">부서구분 :</caption>
- <caption id="caption2" class="search_name" style="left:20px; top:45px; width:86px; height:17px; ">청구차수 :</caption>
- <caption id="caption24" class="search_name" style="left:695px; top:22px; width:86px; height:17px; ">반납일자 :</caption>
- <caption id="caption14" class="search_name" style="left:20px; top:19px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/cond/rtninfo/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:360px; top:20px; width:110px; 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[
- model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
- model.makeValue("/root/send/reqdata/useyn","Y");
- submit("TRMNG00402");
- copyNodesetType("/root/init/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
- cmb_deptcd.refresh();
- if(getNodesetCnt(model,"/root/init/csrdeptlist") == 1 ){
- model.setValue("/root/cond/rtninfo/deptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
- }else{
- addComboItem( "cmb_deptcd", "전체", "", "above");
- model.setValue("/root/cond/rtninfo/deptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
- }
- model.removeNodeset("/root/send/reqdata");
- fIrRtnSearch("rtn");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:1108px; top:25px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "반납리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_goodrtnlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
- }
-
- ]]>
- </script>
- </button>
- <button id="button5" class="btn1_letter2" style="left:1166px; top:25px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i =1;i<grd_goodrtnlist.rows;i++){
- var csrreqdeptcd = grd_goodrtnlist.labelMatrix(i,grd_goodrtnlist.colRef("csrreqdeptcd"));
- grd_goodrtnlist.valueMatrix(i,grd_goodrtnlist.colRef("csrreqdeptnm"))= csrreqdeptcd;
- }
- copyNodesetType("/root/printinfo/goodrtninfo/rtninfo" ,"/root/main/goodrtninfo/rtninfo","replace", model, model);
-
- exeReportPreview("RPMNG01500", "XMLSTR", "/root/printinfo/goodrtninfo/rtninfo");
- ]]>
- </script>
- </button>
- <select1 id="rdo_reqdelrflag" ref="/root/cond/rtninfo/rtnflag" scroll="auto" appearance="full" cols="3" rows="1" overflow="visible" style="left:423px; top:45px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>미반납</label>
- <value>R</value>
- </item>
- <item>
- <label>반납</label>
- <value>RC</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rtnflag = model.getValue("/root/cond/rtninfo/rtnflag");
- if(rtnflag=="RC"){
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvdt")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvnm")) = false;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("rtnqty2")) = false;
-
-
- }else {
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("certnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("lendreqnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvdt")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("dlvnm")) = true;
- grd_goodrtnlist.colHidden(grd_goodrtnlist.colRef("rtnqty2")) = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_indschflag" class="search_name" style="left:335px; top:44px; width:86px; height:17px; ">상태구분 :</caption>
- <select1 id="cmb_deptcd" ref="/root/cond/rtninfo/deptcd" class="combo_s_essential" appearance="minimal" style="left:576px; top:20px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/csrdeptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fIrRtnSearch("rtn");
-
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:485px; top:20px; width:90px; height:17px; ">청구부서 :</caption>
- <caption id="caption11" class="search_no_b" style="left:895px; top:22px; width:12px; height:17px; ">~</caption>
- <input id="input3" ref="/root/cond/rtninfo/reqtodd" class="input_s_essential" inputtype="date" style="left:920px; top:20px; width:100px; height:19px; text-align:center; "/>
- <datagrid id="grd_goodrtnlist" nodeset="/root/main/goodrtninfo/rtninfo/goodrtnlist" class="datagrid2" caption="부서구분^caption1^청구부서^청구일자^청구차수^물품코드^물품명^규격^모델^반납
수량^반납일시^반납자^반납
확인^반납확인일시^확인자^대여일시^대여자^불출일시^불출자" colsep="^" colwidth="72, 52, 95, 88, 37, 100, 199, 100, 100, 40, 100, 100, 40, 100, 100, 100, 100, 100, 100" dataheight="11" explorerbar="sort" extendlastcol="scroll" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:2px; top:100px; width:1230px; height:585px; ">
- <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/csrreqdeptinfo/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="csrreqdeptnm" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/csrreqdeptinfo/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="reqdeptnm" type="output" style="text-align:center; "/>
- <col disabled="true" ref="reqdd" type="inputdate" style="text-align:center; "/>
- <col disabled="true" ref="reqpridflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- <item>
- <label>3차</label>
- <value>3</value>
- </item>
- <item>
- <label>4차</label>
- <value>4</value>
- </item>
- <item>
- <label>5차</label>
- <value>5</value>
- </item>
- <item>
- <label>응급</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="rtnlendqty" style="text-align:right; background-color:#dddddd; "/>
- <col ref="rtndt" format="yyyy-mm-dd hh:nn" style="left:826px; top:32px; width:100px; height:23px; text-align:center; "/>
- <col ref="rtnnm" style="text-align:center; "/>
- <col ref="rtnqty2" style="text-align:right; "/>
- <col ref="certdt" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="certnm" visibility="hidden" style="text-align:center; "/>
- <col ref="reqtm" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reqpsnnm" visibility="hidden" style="text-align:center; "/>
- <col ref="dlvdt" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="dlvnm" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_gooddlvrlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_reqpridflag" ref="/root/cond/rtninfo/reqpridflag" appearance="minimal" style="left:155px; top:43px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- <item>
- <label>3차</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- </case>
- <case id="case3">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:3px; width:1230px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:81px; width:146px; height:13px; ">CSR 미반납 물품정보</caption>
- <button id="button3" class="btn1_letter2" style="left:1108px; top:25px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "미반납내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_goodirrtnlist.saveExcel(fileName, "SheetName", false, false, "", "", "false");
- }
-
- ]]>
- </script>
- </button>
- <button id="button6" class="btn1_letter2" style="left:1050px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fIrRtnSearch("dis");
-
- ]]>
- </script>
- </button>
- <button id="btn_goodirrtnlistprt" class="btn1_letter2" style="left:1166px; top:25px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i =1;i<grd_goodirrtnlist.rows;i++){
- var csrreqdeptcd = grd_goodirrtnlist.labelMatrix(i,grd_goodirrtnlist.colRef("csrreqdeptcd"));
- grd_goodirrtnlist.valueMatrix(i,grd_goodirrtnlist.colRef("csrreqdeptnm"))= csrreqdeptcd;
- }
- copyNodesetType("/root/printinfo/goodirrtninfo/irrtninfo" ,"/root/main/goodirrtninfo/irrtninfo","replace", model, model);
-
- exeReportPreview("RPMNG01501", "XMLSTR", "/root/printinfo/goodirrtninfo/irrtninfo");
- ]]>
- </script>
- </button>
- <select1 id="cmb_disinstcd" ref="/root/cond/disrtninfo/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:115px; top:26px; width:125px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/common/instcdinfo/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:275px; top:26px; width:94px; height:17px; ">부서구분 :</caption>
- <caption id="caption8" class="search_name" style="left:15px; top:26px; width:86px; height:17px; ">기관코드 :</caption>
- <line id="line2" class="line_4" style="x1:1040px; y1:20px; x2:1040px; y2:52px; "/>
- <select1 id="cmb_discsrreqdeptcd" ref="/root/cond/disrtninfo/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:365px; top:26px; width:141px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_discsrreqdeptcd.value);
- model.makeValue("/root/send/reqdata/useyn","Y");
- submit("TRMNG00402");
- copyNodesetType("/root/hidden/csrdeptlist","/root/temp/csrdeptlist","replace", model, model);
-
- addComboItem( "cmb_disdeptcd", "전체", "", "above");
- cmb_disdeptcd.select(0);
-
- // if(getNodesetCnt(model,"/root/hidden/csrdeptlist") == 1 ){
- // model.setValue("/root/cond/disrtninfo/deptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
- // }else{
- // addComboItem( "cmb_disdeptcd", "전체", "", "above");
- // model.setValue("/root/cond/disrtninfo/deptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
- // }
- model.removeNodeset("/root/send/reqdata");
- fIrRtnSearch("dis");
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:547px; top:26px; width:86px; height:17px; ">청구부서 :</caption>
- <select1 id="cmb_disdeptcd" ref="/root/cond/disrtninfo/deptcd" class="combo_s_essential" appearance="minimal" style="left:639px; top:26px; width:141px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/csrdeptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fIrRtnSearch("dis");
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_1" style="x1:2px; y1:100px; x2:1232px; y2:100px; "/>
- <datagrid id="grd_goodirrtnlist" nodeset="/root/main/goodirrtninfo/irrtninfo/goodirrtnlist" class="datagrid2" caption="부서구분^부서한글^청구부서^물품코드^물품명^규격^모델^대여
수량^청구일^청구
차수^청구일시^청구자^불출일시^불출자명^불출자^불출자" colsep="^" colwidth="72, 100, 118, 89, 230, 85, 79, 45, 82, 42, 100, 59, 101, 100" dataheight="11" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:105px; width:1230px; height:580px; ">
- <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/tmp/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="csrreqdeptnm" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/tmp/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqdeptnm" type="output" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodnm"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="dlvlendqty" style="text-align:right; background-color:#dddddd; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="reqpridflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- <item>
- <label>3차</label>
- <value>3</value>
- </item>
- <item>
- <label>4차</label>
- <value>4</value>
- </item>
- <item>
- <label>5차</label>
- <value>5</value>
- </item>
- <item>
- <label>응급</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="reqdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reqnm" style="text-align:center; "/>
- <col ref="dlvdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="dlvnm" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodirrtnlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button4" class="btn_sw" group="tab" style="left:102px; top:15px; width:118px; height:22px; ">
- <caption>미 반 납</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case3");
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|