123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP02900" position="absolute 0 0 1212 767" titletext="" onload="SMLBP02900_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="group8" position="absolute 0 82 1194 762" style="">
- <Layouts>
- <Layout>
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 22 1194 25" style="" anchor="default"/>
- <Grid id="datagrid2" binddataset="ds_main_reqTlist" position="absolute 0 25 1194 650" style="font:,,bold;align:center ;" onaftersort="group8_datagrid2_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="154"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="48"/>
- <Column size="78"/>
- <Column size="78"/>
- <Column size="89"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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 celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:blodno"/>
- <Cell col="2" text="bind:blodcd"/>
- <Cell col="3" style="align:left middle;" text="bind:blodcomnm"/>
- <Cell col="4" text="bind:blodstat"/>
- <Cell col="5" text="bind:day"/>
- <Cell col="6" displaytype="normal" text="bind:time"/>
- <Cell col="7" text="bind:bloodcd"/>
- <Cell col="8" text="bind:bloodnm"/>
- <Cell col="9" text="bind:deliveid"/>
- <Cell col="10" text="bind:sex"/>
- <Cell col="11" text="bind:birthday"/>
- <Cell col="12" text="bind:bloodcd"/>
- <Cell col="13" text="bind:district"/>
- <Cell col="14" text="bind:deptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption4" class="tit_2" position="absolute 5 5 136 19" style="" text="출고 리스트" anchor="default"/>
- <Grid id="datagrid3" binddataset="ds_hidden_tlist_reqTlist" visible="false" position="absolute 51 39 1150 629" style="font:,,bold;align:center ;" onaftersort="group8_datagrid3_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="154"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="48"/>
- <Column size="78"/>
- <Column size="78"/>
- <Column size="89"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="혈액번호"/>
- <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="진료과"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:blodno"/>
- <Cell col="1" displaytype="text" text="bind:blodcd"/>
- <Cell col="2" displaytype="text" style="align:left middle;" text="bind:blodcomnm"/>
- <Cell col="3" displaytype="text" text="bind:blodstat"/>
- <Cell col="4" displaytype="text" text="bind:day"/>
- <Cell col="5" displaytype="text" text="bind:time"/>
- <Cell col="6" displaytype="text" text="bind:bloodcd"/>
- <Cell col="7" displaytype="text" text="bind:bloodnm"/>
- <Cell col="8" displaytype="text" text="bind:deliveid"/>
- <Cell col="9" displaytype="text" text="bind:sex"/>
- <Cell col="10" displaytype="text" text="bind:birthday"/>
- <Cell col="11" displaytype="text" text="bind:bloodcd"/>
- <Cell col="12" displaytype="text" text="bind:district"/>
- <Cell col="13" displaytype="text" text="bind:deptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group7" position="absolute 0 82 1194 744" style="">
- <Layouts>
- <Layout width="1194" height="680">
- <Grid id="datagrid1" binddataset="ds_main_reqRlist" position="absolute 0 25 1194 650" style="font:,,bold;align:center ;" onaftersort="group7_datagrid1_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:blodno"/>
- <Cell col="2" text="bind:blodcd"/>
- <Cell col="3" text="bind:blodcomnm"/>
- <Cell col="4" text="bind:blodstat"/>
- <Cell col="5" text="bind:day"/>
- <Cell col="6" text="bind:time"/>
- <Cell col="7" text="bind:proddt"/>
- <Cell col="8" text="bind:bloodcd"/>
- <Cell col="9" text="bind:bloodnm"/>
- <Cell col="10" text="bind:usernm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 0 22 1194 25" style="" anchor="default"/>
- <Static id="caption1" class="tit_2" position="absolute 5 5 136 19" style="" text="재입고 리스트" anchor="default"/>
- <Grid id="datagrid4" binddataset="ds_hidden_rlist_reqRlist" visible="false" position="absolute 110 88 1149 463" style="font:,,bold;align:center ;" onaftersort="group7_datagrid4_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="혈액번호"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:blodno"/>
- <Cell col="1" displaytype="text" text="bind:blodcd"/>
- <Cell col="2" displaytype="text" text="bind:blodcomnm"/>
- <Cell col="3" displaytype="text" text="bind:blodstat"/>
- <Cell col="4" displaytype="text" text="bind:day"/>
- <Cell col="5" displaytype="text" text="bind:time"/>
- <Cell col="6" displaytype="text" text="bind:proddt"/>
- <Cell col="7" displaytype="text" text="bind:bloodcd"/>
- <Cell col="8" displaytype="text" text="bind:bloodnm"/>
- <Cell col="9" displaytype="text" text="bind:usernm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" position="absolute 0 0 1175 13" style=""/>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 40 1195 90" style="">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 0 10 1195 45" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1194 35" style=""/>
- <Button id="button1" class="btn1" position="absolute 1131 7 1187 29" style="" text="조회" onclick="group3_group2_button1_onclick"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1121 7 1124 29" style="" anchor="default"/>
- <Static id="caption3" text="%"/>
- <Static id="caption5" class="search_name" position="absolute 5 9 91 26" style="" text="조회일자 :"/>
- <Static id="caption7" class="search_name" position="absolute 445 9 531 26" style="" text="조회구분 :"/>
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="combo1" position="absolute 534 9 634 28" style="" onitemchanged="group3_group2_combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">출고</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">재입고</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">폐기</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="input1" class="input_s_essential" mask="yyyy-mm-dd" position="absolute 97 8 197 27" style="" anchor="default" oneditclick="group3_group2_input1_oneditclick" autoselect="true"/>
- <MaskEdit id="input2" mask="##:##" position="absolute 200 8 250 27" style="align:center ;" anchor="default" type="string" autoselect="true"/>
- <Static id="caption13" class="search_no_b" position="absolute 260 9 275 26" style="" text="~"/>
- <Calendar id="input3" class="input_s_essential" position="absolute 284 8 384 27" style="" anchor="default" autoselect="true"/>
- <MaskEdit id="input4" mask="##:##" position="absolute 387 8 437 27" style="align:center ;" anchor="default" type="string" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group4" scrollbars="none" position="absolute 0 15 1195 42" style="">
- <Layouts>
- <Layout>
- <Button id="button5" class="btn4" position="absolute 1125 2 1193 24" style="" text="초기화" onclick="group4_button5_onclick"/>
- <Shape id="line15" class="line_6" linetype="horizontal" position="absolute 0 25 1194 28" style="" anchor="default"/>
- <Button id="button2" class="btn2" position="absolute 1057 5 1121 24" style="" text="CSV저장" onclick="group4_button2_onclick"/>
- <Button id="button3" class="btn2" position="absolute 952 5 1053 24" style="" text="EXCEL저장" onclick="group4_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group5" position="absolute 0 0 1195 21" style="" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 189 22" style="" text="혈액 출고,재입고,폐기 조회" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group6" position="absolute 0 82 1194 744" style="">
- <Layouts>
- <Layout width="1194" height="680">
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 22 1194 25" style="" anchor="default"/>
- <Static id="caption2" class="tit_2" position="absolute 5 5 136 18" style="" text="폐기 리스트" anchor="default"/>
- <Grid id="grd_3" binddataset="ds_main_reqList" position="absolute 0 23 1194 648" style="font:,,bold;align:center ;" onaftersort="group6_grd_3_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="148"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="117"/>
- <Column size="134"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:blodno"/>
- <Cell col="2" text="bind:blodcd"/>
- <Cell col="3" style="align:left middle;" text="bind:blodcomnm" wordwrap="char"/>
- <Cell col="4" text="bind:blodstat"/>
- <Cell col="5" text="bind:day"/>
- <Cell col="6" displaytype="normal" style="align:middle;" text="bind:time"/>
- <Cell col="7" text="bind:bloodcd"/>
- <Cell col="8" text="bind:bloodnm"/>
- <Cell col="9" text="bind:deliveid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="datagrid5" binddataset="ds_hidden_list_reqList" visible="false" position="absolute 81 124 1000 574" style="font:,,bold;align:center ;" onaftersort="group6_datagrid5_onaftersort" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="혈액번호"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:blodno"/>
- <Cell col="1" displaytype="text" text="bind:blodcd"/>
- <Cell col="2" displaytype="text" text="bind:blodcomnm"/>
- <Cell col="3" displaytype="text" text="bind:blodstat"/>
- <Cell col="4" displaytype="text" text="bind:day"/>
- <Cell col="5" displaytype="text" text="bind:time"/>
- <Cell col="6" displaytype="text" text="bind:bloodcd"/>
- <Cell col="7" displaytype="text" text="bind:bloodnm"/>
- <Cell col="8" displaytype="text" text="bind:deliveid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="fromtm"/>
- <Col id="todd"/>
- <Col id="totm"/>
- <Col id="code">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_reqList" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="blodcd" type="STRING" size="256"/>
- <Column id="blodcomnm" type="STRING" size="256"/>
- <Column id="blodstat" type="STRING" size="256"/>
- <Column id="day" type="STRING" size="256"/>
- <Column id="time" type="STRING" size="256"/>
- <Column id="bloodcd" type="STRING" size="256"/>
- <Column id="bloodnm" type="STRING" size="256"/>
- <Column id="deliveid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="blodno"/>
- <Col id="blodcd"/>
- <Col id="blodcomnm"/>
- <Col id="blodstat"/>
- <Col id="day"/>
- <Col id="time"/>
- <Col id="bloodcd"/>
- <Col id="bloodnm"/>
- <Col id="deliveid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_reqRlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="blodcd" type="STRING" size="256"/>
- <Column id="blodcomnm" type="STRING" size="256"/>
- <Column id="blodstat" type="STRING" size="256"/>
- <Column id="day" type="STRING" size="256"/>
- <Column id="time" type="STRING" size="256"/>
- <Column id="proddt" type="STRING" size="256"/>
- <Column id="bloodcd" type="STRING" size="256"/>
- <Column id="bloodnm" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="blodno"/>
- <Col id="blodcd"/>
- <Col id="blodcomnm"/>
- <Col id="blodstat"/>
- <Col id="day"/>
- <Col id="time"/>
- <Col id="proddt"/>
- <Col id="bloodcd"/>
- <Col id="bloodnm"/>
- <Col id="usernm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_rlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_rlist_reqRlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="blodcd" type="STRING" size="256"/>
- <Column id="blodcomnm" type="STRING" size="256"/>
- <Column id="blodstat" type="STRING" size="256"/>
- <Column id="day" type="STRING" size="256"/>
- <Column id="time" type="STRING" size="256"/>
- <Column id="proddt" type="STRING" size="256"/>
- <Column id="bloodcd" type="STRING" size="256"/>
- <Column id="bloodnm" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="blodno"/>
- <Col id="blodcd"/>
- <Col id="blodcomnm"/>
- <Col id="blodstat"/>
- <Col id="day"/>
- <Col id="time"/>
- <Col id="proddt"/>
- <Col id="bloodcd"/>
- <Col id="bloodnm"/>
- <Col id="usernm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_reqTlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="255"/>
- <Column id="blodcd" type="STRING" size="255"/>
- <Column id="blodcomnm" type="STRING" size="255"/>
- <Column id="blodstat" type="STRING" size="255"/>
- <Column id="day" type="STRING" size="255"/>
- <Column id="time" type="STRING" size="255"/>
- <Column id="bloodcd" type="STRING" size="255"/>
- <Column id="bloodnm" type="STRING" size="255"/>
- <Column id="deliveid" type="STRING" size="255"/>
- <Column id="sex" type="STRING" size="255"/>
- <Column id="birthday" type="STRING" size="255"/>
- <Column id="bloodgu" type="STRING" size="255"/>
- <Column id="district" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_list_reqList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="blodcd" type="STRING" size="256"/>
- <Column id="blodcomnm" type="STRING" size="256"/>
- <Column id="blodstat" type="STRING" size="256"/>
- <Column id="day" type="STRING" size="256"/>
- <Column id="time" type="STRING" size="256"/>
- <Column id="bloodcd" type="STRING" size="256"/>
- <Column id="bloodnm" type="STRING" size="256"/>
- <Column id="deliveid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="fromtm"/>
- <Col id="todd"/>
- <Col id="totm"/>
- <Col id="code"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_tlist_reqTlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="blodno" type="STRING" size="255"/>
- <Column id="blodcd" type="STRING" size="255"/>
- <Column id="blodcomnm" type="STRING" size="255"/>
- <Column id="blodstat" type="STRING" size="255"/>
- <Column id="day" type="STRING" size="255"/>
- <Column id="time" type="STRING" size="255"/>
- <Column id="bloodcd" type="STRING" size="255"/>
- <Column id="bloodnm" type="STRING" size="255"/>
- <Column id="deliveid" type="STRING" size="255"/>
- <Column id="sex" type="STRING" size="255"/>
- <Column id="birthday" type="STRING" size="255"/>
- <Column id="bloodgu" type="STRING" size="255"/>
- <Column id="district" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.combo1" propid="value" datasetid="ds_hidden_ref" columnid="code"/>
- <BindItem id="item1" compid="group3.group2.input1" propid="value" datasetid="ds_hidden_ref" columnid="fromdd"/>
- <BindItem id="item2" compid="group3.group2.input2" propid="value" datasetid="ds_hidden_ref" columnid="fromtm"/>
- <BindItem id="item3" compid="group3.group2.input3" propid="value" datasetid="ds_hidden_ref" columnid="todd"/>
- <BindItem id="item4" compid="group3.group2.input4" propid="value" datasetid="ds_hidden_ref" columnid="totm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
-
- // include '../../.._com_commonweb_js_common.js'
- // include '../../.._com_commonweb_js_dateHelper.js'
- // include '../../.._com_commonweb_js_tfHelper.js'
- // include '../../.._lis_commonweb_js_LLZ001.js'
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- // 초기화
- function fSetInit() {
- var mDate = utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(1);
- ds_hidden_ref.setColumn( 0, "fromdd", utlf_getCurrentDate());
- ds_hidden_ref.setColumn( 0, "todd", mDate.getDateFormat("YYYYMMDD"));
- ds_hidden_ref.setColumn( 0, "fromtm", "0000");
- ds_hidden_ref.setColumn( 0, "totm", "2359");
- group6.visible = false;
- group7.visible = false;
- group8.visible = true;
- //model.refresh();
- }
- function fList() {
- var aa = ds_hidden_ref.getColumn(0, "code")
- if(ds_hidden_ref.getColumn(0, "code") == "1") {
- group6.visible = false;
- group7.visible = false;
- group8.visible = true;
- }else if(ds_hidden_ref.getColumn(0, "code") == "2") {
- group6.visible = false;
- group7.visible = true;
- group8.visible = false;
- }else if(ds_hidden_ref.getColumn(0, "code") == "3") {
- group6.visible = true;
- group7.visible = false;
- group8.visible = false;
-
- }
- }
- function fExeCSV() {
- var fileName = "saveGridData.csv";
- var dd = utlf_getCurrentDate();
- if (ds_send.getColumn(0, "code") == "1") {
- // var fileName = window.fileDialog("save",",", false, "출고_"+utlf_getCurrentDate()+".csv","","");
- //
- // if (fileName != ""){
- // group8.datagrid3.saveText(fileName, "\n", ",", "", false, true);
- // }
- grdf_exportCsv(group8.datagrid3, "출고_"+dd, "", "OPEN");
- } else if (ds_send.getColumn(0, "code") == "2") {
- // var fileName = window.fileDialog("save",",", false, "재입고_"+utlf_getCurrentDate()+".csv","","");
- //
- // if (fileName != ""){
- // group7.datagrid4.saveText(fileName, "\n", ",", "", false, true);
- //
- // }
- grdf_exportCsv(group7.datagrid4, "재입고_"+dd, "", "OPEN");
- }else if (ds_send.getColumn(0, "code") == "3") {
- // var fileName = window.fileDialog("save",",", false, "폐기_"+utlf_getCurrentDate()+".csv","","");
- //
- // if (fileName != ""){
- // group6.datagrid5.saveText(fileName, "\n", ",", "", false, true);
- //
- // }
- grdf_exportCsv(group6.datagrid5, "폐기_"+dd, "", "OPEN");
- }
- }
- function fExeEXCEL(pGridId) {
- var dd = utlf_getCurrentDate();
- if (ds_send.getColumn(0, "code") == "1") {
- // var fileName = window.fileDialog("save", ",", false, "출고_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- //
- // if (fileName != "")
- // {
- // group8.datagrid3.saveExcel(fileName, dd, true, true , "", "0");
- // }
- //grdf_exportExcel(group8.datagrid3, "출고_"+dd, dd, true);
- grdf_exportExcel(group8.datagrid3, "출고_"+dd, dd, true, null, null, null, "align,wordwrap", true);
- } else if (ds_send.getColumn(0, "code") == "2") {
- // var fileName = window.fileDialog("save", ",", false, "재입고_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- //
- // if (fileName != "")
- // {
- // group7.datagrid4.saveExcel(fileName, dd, true, true , "", "0");
- // }
- //grdf_exportExcel(group7.datagrid4, "재입고_"+dd, dd, true);
- grdf_exportExcel(group7.datagrid4, "재입고_"+dd, dd, true, null, null, null, "align,wordwrap", true);
- }else if (ds_send.getColumn(0, "code") == "3") {
- // var fileName = window.fileDialog("save", ",", false, "폐기_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- //
- // if (fileName != "")
- // {
- // group6.datagrid5.saveExcel(fileName, dd, true, true , "", "0");
- // }
- //grdf_exportExcel(group6.datagrid5, "폐기_"+dd, dd, true);
- grdf_exportExcel(group6.datagrid5, "폐기_"+dd, dd, true, null, null, null, "align,wordwrap", true);
- }
- }
- //조회
- function fGetList() {
- if (ds_hidden_ref.getColumn(0, "code") == "1") {
- var startdd = ds_hidden_ref.getColumn(0, "fromdd")+ds_hidden_ref.getColumn(0, "fromtm");
- var enddd = ds_hidden_ref.getColumn(0, "todd")+ds_hidden_ref.getColumn(0, "totm");
- ds_send.setColumn( 0, "fromdd", startdd);
- ds_send.setColumn( 0, "todd", enddd);
- ds_send.setColumn( 0, "code", ds_hidden_ref.getColumn(0, "code"));
- // submit("TRLLP01604");
- var oParam = {};
- oParam.id = "TRLLP01604";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqTlist";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_reqTlist=reqTlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLP01604";
- tranf_submit(oParam);
- /*
- function cf_TRLLP01604(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRLLP01604(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRLLP01604") > -1
- arErrorCode.pop("TRLLP01604") < 0
- */
- ds_hidden_tlist_reqTlist.copyData(ds_main_reqTlist);
- //group8.datagrid3.refresh();
- //group8.datagrid3.insertItem(0,"after", false);
- // ds_hidden_tlist_reqTlist.setColumn( 0, "blodno", "혈액번호");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "blodcd", "혈액제제코드");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "blodcomnm", "혈액제제명");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "blodstat", "출고구분");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "day", "출고일자");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "time", "출고시간");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "bloodcd", "혈액형코드");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "bloodnm", "혈액형명");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "deliveid", "출고자");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "sex", "성별");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "birthday", "출생년도");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "bloodgu", "혈액형");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "district", "지역");
- // ds_hidden_tlist_reqTlist.setColumn( 0, "deptcd", "진료과");
- //group8.datagrid3.refresh();
- }else if (ds_hidden_ref.getColumn(0, "code") == "2") {
- var startdd = ds_hidden_ref.getColumn(0, "fromdd")+ds_hidden_ref.getColumn(0, "fromtm");
- var enddd = ds_hidden_ref.getColumn(0, "todd")+ds_hidden_ref.getColumn(0, "totm");
- ds_send.setColumn( 0, "fromdd", startdd);
- ds_send.setColumn( 0, "todd", enddd);
- ds_send.setColumn( 0, "code", ds_hidden_ref.getColumn(0, "code"));
- // submit("TRLLP01603");
- var oParam = {};
- oParam.id = "TRLLP01603";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqRlist";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_reqRlist=reqRlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLP01603";
- tranf_submit(oParam);
- /*
- function cf_TRLLP01603(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRLLP01603(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRLLP01603") > -1
- arErrorCode.pop("TRLLP01603") < 0
- */
- ds_hidden_rlist_reqRlist.copyData(ds_main_reqRlist);
- //group7.datagrid4.refresh();
- // group7.datagrid4.insertItem(0,"after", false);
- // ds_hidden_rlist_reqRlist.setColumn( 0, "blodno", "혈액번호");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "blodcd", "혈액제제코드");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "blodcomnm", "혈액제제명");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "blodstat", "입고구분");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "day", "입고일자");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "time", "입고시간");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "proddt", "채혈일자");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "bloodcd", "혈액형코드");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "bloodnm", "혈액형명");
- // ds_hidden_rlist_reqRlist.setColumn( 0, "usernm", "입고자");
- //group7.datagrid4.refresh();
- }else if (ds_hidden_ref.getColumn(0, "code") == "3") {
- var startdd = ds_hidden_ref.getColumn(0, "fromdd")+ds_hidden_ref.getColumn(0, "fromtm");
- var enddd = ds_hidden_ref.getColumn(0, "todd")+ds_hidden_ref.getColumn(0, "totm");
- ds_send.setColumn( 0, "fromdd", startdd);
- ds_send.setColumn( 0, "todd", enddd);
- ds_send.setColumn( 0, "code", ds_hidden_ref.getColumn(0, "code"));
- // submit("TRLLP01602");
- var oParam = {};
- oParam.id = "TRLLP01602";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_reqList=reqList";
- oParam.async = false;
- //oParam.callback = "cf_TRLLP01602";
- tranf_submit(oParam);
- /*
- function cf_TRLLP01602(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRLLP01602(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRLLP01602") > -1
- arErrorCode.pop("TRLLP01602") < 0
- */
- ds_hidden_list_reqList.copyData(ds_main_reqList);
- //group6.datagrid5.refresh();
- //group6.datagrid5.insertItem(0,"after", false);
- // ds_hidden_list_reqList.setColumn( 0, "blodno", "혈액번호");
- // ds_hidden_list_reqList.setColumn( 0, "blodcd", "혈액제제코드");
- // ds_hidden_list_reqList.setColumn( 0, "blodcomnm", "혈액제제명");
- // ds_hidden_list_reqList.setColumn( 0, "blodstat", "출고구분");
- // ds_hidden_list_reqList.setColumn( 0, "day", "출고일자");
- // ds_hidden_list_reqList.setColumn( 0, "time", "출고시간");
- // ds_hidden_list_reqList.setColumn( 0, "bloodcd", "혈액형코드");
- // ds_hidden_list_reqList.setColumn( 0, "bloodnm", "혈액형명");
- // ds_hidden_list_reqList.setColumn( 0, "deliveid", "출고자");
- //group6.datagrid5.refresh();
- }
- }
- //스크립트 끝
- function SMLBP02900_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(group6.grd_3);
- grdf_initGrid(group7.datagrid1);
- grdf_initGrid(group8.datagrid2);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fSetInit();
- }
- function group8_datagrid2_onaftersort() {
- group8.datagrid2.gridToInstance();
- }
- function group8_datagrid3_onaftersort() {
- group8.datagrid3.gridToInstance();
- }
- function group7_datagrid1_onaftersort() {
- group7.datagrid1.gridToInstance();
- }
- function group7_datagrid4_onaftersort() {
- group7.datagrid4.gridToInstance();
- }
- function group3_group2_button1_onclick(obj:Button, e:ClickEventInfo) {
- fGetList();
- }
- function group3_group2_combo1_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
- obj.updateToDataset();
- fList();
- }
- function group4_button5_onclick(obj:Button, e:ClickEventInfo) {
- window.reload();
- }
- function group4_button2_onclick(obj:Button, e:ClickEventInfo) {
- fExeCSV();
- }
- function group4_button3_onclick(obj:Button, e:ClickEventInfo) {
- fExeEXCEL();
- }
- function group6_grd_3_onaftersort() {
- group6.grd_3.gridToInstance();
- }
- function group6_datagrid5_onaftersort() {
- group6.datagrid5.gridToInstance();
- }
- function group3_group2_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.updateToDataset();
- fList();
- }
- ]]></Script>
- </Form>
- </FDL>
|