| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 수정이력 :
-
- [2007.10.18 HBH : 공급실 불출구분이 "응급"이면 마감차수를 입력받지 않는다.
-
- -->
- <?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>CSR 분출관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <instcd/>
- <delivefrdd/>
- <delivetodd/>
- </cond>
- <dlvlist>
- <delivedd/>
- <goodcd/>
- <csrgoodnm/>
- <exchng1/>
- <lend1/>
- <dinf1/>
- <exchng2/>
- <lend2/>
- <dinf2/>
- <exchng3/>
- <lend3/>
- <dinf3/>
- <exchng4/>
- <lend4/>
- <dinf4/>
- <dlvexchngemc/>
- <dlvlendemc/>
- <dlvdinfemc/>
- <dlvsum/>
- </dlvlist>
- </main>
- <send>
- </send>
- <init>
- <mlist>
- <Z0007>
- <cdid/>
- <cdnm/>
- </Z0007>
- </mlist>
- </init>
- </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="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRRSE00130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dlvlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- function fInitialize() {
-
- zbcfGetCodeList( new Array ( "Z0007" //직업
- )
- , new Array ( "/root/init/mlist" //직업과거병력내역
- )
- );
-
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- model.setValue(ipt_delivefrdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_delivetodd.attribute("ref"), getCurrentDate());
- model.removeNodeset(grd_dlvlist.nodeset);
-
- fsearch();
-
- model.refresh();
- }
-
- function fCheckAuth() {
- // btn_search.disabled = !checkAuth("R") ;
- // btn_save.disabled = !checkAuth("X") ;
- }
- function fsearch() {
- model.makeValue("/root/send/instcd" , model.getValue("/root/main/cond/instcd"));
- model.makeValue("/root/send/delivefrdd", model.getValue("/root/main/cond/delivefrdd"));
- model.makeValue("/root/send/delivetodd", model.getValue("/root/main/cond/delivetodd"));
-
- submit("TRRSE00130");
-
- grd_dlvlist.subtotalPosition = "below";
-
- for(var i = grd_dlvlist.colRef("exchng1"); i <= grd_dlvlist.colRef("dlvsum"); i++) {
- grd_dlvlist.subtotal("sum", grd_dlvlist.colRef("delivedd"),i, "#,###", "background-color:#99ff99", 0, "합계");
- }
- }
-
- ]]>
- </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; ">CSR 분출관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:37px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1010px; top:18px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
-
-
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:1000px; y1:16px; x2:1000px; y2:38px; "/>
- <caption id="caption14" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/main/cond/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:19px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="btn1_letter2" navindex="7" style="left:1070px; top:18px; width:56px; height:22px; text-align:left; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var reqfrdd = model.getValue(ipt_reqfrdd.attribute("ref"));
- var reqtodd = model.getValue(ipt_reqtodd.attribute("ref"));
- var fileName = window.fileDialog("save", ",", false, "차수별불출List"+"(" + reqfrdd + "~" + reqtodd + ")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_dlvlist.saveExcel(fileName, "CSR물품차수별불출List");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter2" navindex="7" style="left:1130px; top:18px; width:56px; height:22px; text-align:left; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:235px; top:20px; width:86px; height:17px; ">불출일자 :</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:56px; width:157px; height:14px; ">불출 현황LIST</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:71px; x2:1195px; y2:71px; "/>
- <input id="ipt_delivefrdd" ref="/root/main/cond/delivefrdd" class="input_s_defualt" inputtype="date" style="left:325px; top:19px; width:100px; height:19px; "/>
- <datagrid id="grd_dlvlist" nodeset="/root/main/dlvlist" caption="불출일자^물품코드^물품명^정기1차^정기1차^정기1차^정기2차^정기2차^정기2차^정기3차^정기3차^정기3차^정기4차^정기4차^정기4차^응급^응급^응급^합계|불출일자^물품코드^물품명^교환^대여^멸균^교환^대여^멸균^교환^대여^멸균^교환^대여^멸균^교환^대여^멸균^합계" colsep="^" colwidth="70, 80, 217, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:76px; width:1195px; height:668px; ">
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goodcd"/>
- <col ref="csrgoodnm"/>
- <col ref="exchng1" style="text-align:right; "/>
- <col ref="lend1" style="text-align:right; "/>
- <col ref="dinf1" style="text-align:right; "/>
- <col ref="exchng2" style="text-align:right; "/>
- <col ref="lend2" style="text-align:right; "/>
- <col ref="dinf2" style="text-align:right; "/>
- <col ref="exchng3" style="text-align:right; "/>
- <col ref="lend3" style="text-align:right; "/>
- <col ref="dinf3" style="text-align:right; "/>
- <col ref="exchng4" style="text-align:right; "/>
- <col ref="lend4" style="text-align:right; "/>
- <col ref="dinf4" style="text-align:right; "/>
- <col ref="dlvexchngemc" style="text-align:right; "/>
- <col ref="dlvlendemc" style="text-align:right; "/>
- <col ref="dlvdinfemc" style="text-align:right; "/>
- <col ref="dlvsum" style="text-align:right; "/>
- </datagrid>
- <caption id="caption3" style="left:430px; top:20px; width:15px; height:20px; ">~</caption>
- <input id="ipt_delivetodd" ref="/root/main/cond/delivetodd" class="input_s_defualt" inputtype="date" style="left:445px; top:20px; width:100px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|