| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?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>CSR 미반납 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <goodirrtninfo>
- <goodirrtnlist>
- <csrreqdeptcd/>
- <reqdeptnm/>
- <deptnm/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <dlvlendqty/>
- <safestocqty/>
- <reqdd/>
- <reqpridflag/>
- <reqdt/>
- <reqnm/>
- <dlvdt/>
- <dlvnm/>
- </goodirrtnlist>
- </goodirrtninfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <cond>
- <instcd/>
- <csrreqdeptcd/>
- <deptcd/>
- </cond>
- <temp>
- <csrreqdeptlist/>
- </temp>
- <hidden>
- <csrdeptlist/>
- </hidden>
- <init>
- <csrreqdeptlist/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/csrreqdeptlist"/>
- <submission id="TRRSS01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/csrdeptlist"/>
- <submission id="TRRSE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/goodirrtninfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
- /*
- var oprnerId = opener.window.javascript.getScreenID();
- if(oprnerId =="SMRSS00101"){
- var getDeptcd = opener.javascript.getParameter("deptcd");
- var getDeptnm = opener.javascript.getParameter("deptnm");
- if((getDeptcd !="")||(getDeptnm !="")){
- model.setValue("/root/send/deptcd",getDeptcd);
- model.setValue("/root/send/deptnm",getDeptnm);
- }
- }*/
- //기관코드, 물품구분 공통 코드를 가져온다.
- misfComboComCdListMulti("Z0007", "cmb_instcd");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/instcd", cmb_instcd.value);
- model.makeValue("/root/send/reqdata/useyn", "Y");
-
- submit("TRRSS01211");
- addComboItem("cmb_csrreqdeptcd", "전체", "", "above");
- copyNodesetType("/root/init/csrreqdeptlist" ,"/root/temp/csrreqdeptlist","replace", model, model);
- model.removeNodeset("/root/send/reqdata");
- model.removeNodeset(grd_goodirrtnlist.nodeset);
-
- model.refresh();
- fIrRtnSearch();
- }
-
- function fIrRtnSearch() {
-
- model.makeValue("/root/cond/srchflag", "irrtn");
- if(submit("TRRSE00301")){
- grd_goodirrtnlist.rebuildStyle();
- grd_goodirrtnlist.colStyle(grd_goodirrtnlist.colRef("dlvlendqty"), "data", "background-color") = "#dddddd";
- }
-
-
- }
-
- ]]>
- </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:178px; height:14px; ">CSR 미반납 물품정보 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:23px; width:1195px; height:725px; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:55px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:19px; width:89px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:105px; top:19px; width:120px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_4" style="x1:1050px; y1:14px; x2:1050px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1060px; top:18px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fIrRtnSearch();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" visibility="hidden" style="left:680px; top:10px; width:91px; height:17px; ">조회일자 :</caption>
- <input id="ipt_reqfrdd" ref="/root/send/srchfromdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:770px; top:10px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption11" class="search_no_b" visibility="hidden" style="left:880px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:775px; top:30px; width:100px; height:19px; text-align:center; "/>
- <select1 id="cmb_deptcd" ref="/root/cond/deptcd" class="combo_s_essential" appearance="minimal" style="left:554px; top:19px; width:111px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/csrdeptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fIrRtnSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:465px; top:19px; width:89px; height:17px; ">청구부서:</caption>
- <caption id="cap_csrreqdeptcd" class="search_name" style="left:240px; top:19px; width:89px; height:17px; ">부서구분 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/cond/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:334px; top:19px; width:111px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/temp/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("TRRSS01212");
- cmb_deptcd.refresh();
- if(getNodesetCnt(model,"/root/hidden/csrdeptlist") == 1 ){
- model.setValue("/root/cond/deptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
- }else{
- addComboItem( "cmb_deptcd", "전체", "", "above");
- model.setValue("/root/cond/deptcd",model.getValue("/root/hidden/csrdeptlist/deptcd[1]"));
- }
- fIrRtnSearch();
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:1118px; top:18px; 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>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1193px; y2:95px; "/>
- <caption id="caption4" class="tit_2" style="left:0px; top:79px; width:171px; height:14px; ">CSR 미반납 물품정보</caption>
- <datagrid id="grd_goodirrtnlist" nodeset="/root/main/goodirrtninfo/goodirrtnlist" class="datagrid2" caption="부서구분^청구부서^물품코드^물품명^규격^모델^대여
수량^청구일^청구
차수^청구일시^청구자^불출일시^불출자^불출자" colsep="^" colwidth="76, 110, 89, 230, 71, 72, 45, 93, 42, 100, 64, 109, 68" dataheight="11" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:1193px; height:620px; ">
- <col disabled="true" ref="csrreqdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/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:center; "/>
- <col ref="goodnm"/>
- <col ref="goodspec" style="text-align:right; "/>
- <col ref="goodmodel" type="output"/>
- <col ref="dlvlendqty" type="output" style="text-align:right; "/>
- <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>
- </group>
- </xhtml:body>
- </xhtml:html>
|