123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBP02600_혈액출고(BISS).xrw
- * 설 명 : 혈액출고조회조회(BISS)
- * 설 계 자 : (주)에이씨케이 - 박정은
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2008. 02. 19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>혈액출고조회(BISS)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <delivelist>
- <seq/>
- <delivecd/>
- <delivenm/>
- <delivedd/>
- <delivetm/>
- <blodcd/>
- <blodnm/>
- <blodno/>
- <abocd/>
- <abo/>
- <bizdd/>
- <biztm/>
- <hinstcd/>
- <hinstnm/>
- <etc/>
- </delivelist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </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" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLBP02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/delivelist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fSetInit() {
- var fromdate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-7)
- var todate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-1);
-
- model.setValue("/root/send/fromdd" , fromdate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/todd" , todate.getDateFormat("YYYYMMDD"));
- model.refresh();
- }
-
- // 조회
- function fGetDelive(){
- submit("TRLBP02601");
- grd_rsltbiss.rowHidden(1) = true;
- grd_rsltbiss.refresh();
- //model.refresh();
- }
-
- // 엑셀 저장
- function fExeCSV(pGridId) {
-
- var fileName = window.fileDialog("save", ",", false, "출고BISS파일전송_"+getCurrentDate()+".CSV", "", "");
-
- if (fileName != "")
- {
- pGridId.saveText(fileName, "\n", ",", "", false, true);
- }
-
- }
-
- function fExeExcel(pGridId) {
- var dd = getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, "출고BISS파일전송_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName, dd, true, true , "", "0");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:94px; height:17px; ">출고일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDelive();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="input26" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:110px; top:8px; width:110px; height:19px; "/>
- <input id="input1" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:245px; top:8px; width:110px; height:19px; "/>
- <caption id="caption111" class="caption1" style="left:225px; top:8px; width:20px; height:19px; font-weight:bold; ">~</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:197px; height:14px; ">혈액출고 조회(BISS)</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
- <caption>CSV저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCSV(grd_rsltbiss);
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter5" style="left:1053px; top:49px; width:75px; height:19px; ">
- <caption>Excel저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_rsltbiss);
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsltbiss" nodeset="/root/main/delivelist" caption="No^출고구분코드^출고구분명^출고일자^출고시간^제제코드^제제명^혈액번호^혈액형코드^혈액형^헌혈일^헌혈시간^출고처코드^출고처명^비고" colsep="^" colwidth="40, 80, 80, 80, 70, 70, 70, 100, 70, 70, 90, 70, 80, 100, 80" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" tooptip="true" style="left:0px; top:75px; width:1194px; height:646px; text-align:center; ">
- <col ref="seq"/>
- <col ref="delivecd"/>
- <col ref="delivenm" format="yyyy-mm-dd" style="left:140px; top:23px; width:80px; height:23px; "/>
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="delivetm" format="hh:nn" style="text-align:center; "/>
- <col ref="blodcd"/>
- <col ref="blodnm"/>
- <col ref="blodno" style="text-align:center; "/>
- <col ref="abocd" style="text-align:center; "/>
- <col ref="abo" style="text-align:center; "/>
- <col ref="bizdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="biztm" format="hh:nn" style="text-align:center; "/>
- <col ref="hinstcd"/>
- <col ref="hinstnm"/>
- <col ref="etc" type="input"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsltbiss.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button3" class="btn4_letter2" visibility="hidden" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">혈액출고 조회(BISS)</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|