123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP02600" position="absolute 0 0 1196 771" titletext="혈액출고조회(BISS)" oninit="SMLBP02600_oninit" onload="SMLBP02600_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 13" id="group1"/>
- <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 27 1195 49" anchor="top right"/>
- <Shape id="line15" linetype="horizontal" class="line_6" position="absolute 0 53 1194 59" style="strokepen:3 solid #9ebed4ff;" anchor="left top right"/>
- <Button id="button3" taborder="2" text="저장" class="btn4" visible="false" position="absolute 1068 27 1124 49" anchor="top right"/>
- <Static id="caption6" text="혈액출고 조회(BISS)" class="tit_1" position="absolute 0 0 199 25"/>
- <Div id="group2" taborder="3" position="absolute 0 57 1195 92" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="출고일자 :" class="search_name" position="absolute 16 9 110 26"/>
- <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_button1_onclick" anchor="top right"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Calendar id="input26" taborder="2" class="input_s_essential" position="absolute 110 8 220 27"/>
- <Calendar id="input1" taborder="3" class="input_s_essential" position="absolute 245 8 355 27"/>
- <Static id="caption111" text="~" class="caption1" position="absolute 225 8 245 27"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="혈액출고 조회(BISS)" class="tit_2" position="absolute 1 99 149 116"/>
- <Shape id="line1" class="line_1" position="absolute 0 118 1194 124" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button id="btn_excel" taborder="4" text="CSV저장" class="btn2" position="absolute 1130 96 1194 115" onclick="btn_excel_onclick" anchor="top right"/>
- <Button id="button2" taborder="5" text="Excel저장" class="btn7" position="absolute 1045 96 1128 115" onclick="button2_onclick" anchor="top right"/>
- <Grid id="grd_rsltbiss" taborder="6" binddataset="ds_grd_rsltbiss" useinputpanel="false" position="absolute 0 122 1194 768" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1" text="출고구분코드"/>
- <Cell col="2" text="출고구분명"/>
- <Cell col="3" text="출고일자"/>
- <Cell col="4" text="출고시간"/>
- <Cell col="5" text="제제코드"/>
- <Cell col="6" text="제제명"/>
- <Cell col="7" text="혈액번호"/>
- <Cell col="8" text="혈액형코드"/>
- <Cell col="9" text="혈액형"/>
- <Cell col="10" text="헌혈일"/>
- <Cell col="11" text="헌혈시간"/>
- <Cell col="12" text="출고처코드"/>
- <Cell col="13" text="출고처명"/>
- <Cell col="14" text="비고"/>
- </Band>
- <Band id="body">
- <Cell text="bind:seq"/>
- <Cell col="1" text="bind:delivecd"/>
- <Cell col="2" text="bind:delivenm" mask="yyyy-mm-dd"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:delivedd" mask="yyyy-MM-dd"/>
- <Cell col="4" text="bind:delivetm" mask="hh:mm"/>
- <Cell col="5" text="bind:blodcd"/>
- <Cell col="6" text="bind:blodnm"/>
- <Cell col="7" text="bind:blodno"/>
- <Cell col="8" text="bind:abocd"/>
- <Cell col="9" text="bind:abo"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:bizdd" mask="yyyy-MM-dd"/>
- <Cell col="11" text="bind:biztm" mask="hh:mm"/>
- <Cell col="12" text="bind:hinstcd"/>
- <Cell col="13" text="bind:hinstnm"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:etc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_rsltbiss" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seq" type="STRING"/>
- <Column id="delivecd" type="STRING"/>
- <Column id="delivenm" type="STRING"/>
- <Column id="delivedd" type="STRING"/>
- <Column id="delivetm" type="STRING"/>
- <Column id="blodcd" type="STRING"/>
- <Column id="blodnm" type="STRING"/>
- <Column id="blodno" type="STRING"/>
- <Column id="abocd" type="STRING"/>
- <Column id="abo" type="STRING"/>
- <Column id="bizdd" type="STRING"/>
- <Column id="biztm" type="STRING"/>
- <Column id="hinstcd" type="STRING"/>
- <Column id="hinstnm" type="STRING"/>
- <Column id="etc" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input26" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.input1" propid="value" datasetid="ds_send" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMLBP02600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLBP02600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_rsltbiss);
- fSetInit();
- }
- // 초기화
- function fSetInit()
- {
- var fromdate = utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-7)
- var todate = utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-1);
-
- //model.setValue("/root/send/fromdd" , fromdate.getDateFormat("YYYYMMDD"));
- //model.setValue("/root/send/todd" , todate.getDateFormat("YYYYMMDD"));x
- ds_send.setColumn(0, "fromdd", fromdate.getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0, "todd", todate.getDateFormat("YYYYMMDD"));
- }
-
- //조회버튼
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDelive();
- }
- // 조회
- function fGetDelive()
- {
- //submit("TRLBP02601");
- var oParam = {};
- oParam.id = "TRLBP02601";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetDeliveList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_rsltbiss=delivelist";
- oParam.async = false;
- //oParam.callback = "cf_TRLBP02601";
- tranf_submit(oParam);
- ds_grd_rsltbiss.deleteRow(0);
-
- }
- //엑셀버튼
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeExcel(grd_rsltbiss);
- }
- //엑셀저장
- function fExeExcel(pGridId)
- {
- var dd = utlf_getCurrentDate();
- grdf_exportExcel(pGridId, "출고BISS파일전송_"+dd, "see");
- }
- //CSV저장 버튼
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeCSV(grd_rsltbiss);
- }
- //CSV저장
- function fExeCSV(pGridId)
- {
- var dd = utlf_getCurrentDate();
- grdf_exportExcel(pGridId, "출고BISS파일전송_"+dd, "see");
- }
- ]]></Script>
- </Form>
- </FDL>
|