123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT12005" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1133 855" titletext="New Form" oninit="SMADT12005_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text=" 통합 마약 저장소별 현황" class="tit_1" position="absolute 3 1 216 26" onclick="caption6_onclick"/>
- <Static id="caption00" text="저장소별 집계현황" class="tit_2" position="absolute 7 72 179 93" onclick="caption00_onclick"/>
- <Grid id="grd_daypatlist" class="grd_daypatlist" taborder="25" binddataset="ds_storgeindaylist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 222 96 1104 374" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28" band="left"/>
- <Column size="74" band="left"/>
- <Column size="86" band="left"/>
- <Column size="80" band="left"/>
- <Column size="108"/>
- <Column size="90"/>
- <Column size="33"/>
- <Column size="70"/>
- <Column size="68"/>
- <Column size="49"/>
- <Column size="42"/>
- <Column size="75"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입고일자"/>
- <Cell col="2" text="LabelNo"/>
- <Cell col="3" text="유통기간" wordwrap="char"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:indd"/>
- <Cell col="2" text="bind:labelno"/>
- <Cell col="3" style="align:center;padding:4 2 3 2;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left;" text="bind:mnf_no"/>
- <Cell col="5" text="bind:mnf_seq"/>
- <Cell col="6" text="bind:seq"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:drugdd"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:center middle;" text="bind:drugno" wordwrap="char"/>
- <Cell col="10" style="align:EXPR(center);" text="bind:out_pce_qy"/>
- <Cell col="11" text="bind:outdd"/>
- <Cell col="12" text="bind:opp_storge_no"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_srch" taborder="29" class="div_SA" position="absolute 8 32 1104 63">
- <Layouts>
- <Layout width="776" height="31">
- <Calendar id="Calendar00" taborder="0" position="absolute 108 5 224 25"/>
- <Static id="Static00" text="입고일자 :" position="absolute 10 10 89 22" style="font:Dotum,9,bold;"/>
- <CheckBox id="Ck_All" taborder="1" text="전체" position="absolute 275 5 352 25" truevalue="1" falsevalue="0" onchanged="grp_srch_Ck_All_onchanged"/>
- <Combo id="Combo00" taborder="2" text="Combo00" position="absolute 454 7 580 28" innerdataset="@ds_storge_list" codecolumn="storge_no" datacolumn="storge_nm" onitemchanged="grp_srch_Combo00_onitemchanged"/>
- <Static id="Static01" text="저장소 :" position="absolute 370 10 449 22" style="font:Dotum,9,bold;"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_sea" taborder="30" text="조회" class="btn1" position="absolute 1041 37 1097 59" onclick="btn_sea_onclick"/>
- <Grid id="grd_daypatlist00" class="grd_daypatlist" taborder="31" binddataset="ds_storgedata" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 14 96 220 845" anchor="all" oncelldblclick="grd_daypatlist00_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="76" band="left"/>
- <Column size="47" band="left"/>
- <Column size="38" band="left"/>
- <Column size="33" band="left"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드" wordwrap="char"/>
- <Cell col="1" text="총수량"/>
- <Cell col="2" text="남은수"/>
- <Cell col="3" text="불출수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" text="bind:allcnt"/>
- <Cell col="2" text="bind:incnt"/>
- <Cell col="3" style="align:left;" text="bind:outcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_daypatlist01" class="grd_daypatlist" taborder="32" binddataset="ds_storgedruglist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 222 376 1104 621" anchor="all" oncelldblclick="grd_daypatlist01_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="63" band="left"/>
- <Column size="92" band="left"/>
- <Column size="117" band="left"/>
- <Column size="88" band="left"/>
- <Column size="154"/>
- <Column size="135"/>
- <Column size="84"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="30" 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="유통기간" wordwrap="char"/>
- <Cell col="5" text="일련번호"/>
- <Cell col="6" text="보고번호"/>
- <Cell col="7" text="라벨No"/>
- <Cell col="8" text="총수량"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:storge_no" combodataset="ds_storge_list" combocodecol="storge_no" combodatacol="storge_no" combodisplay="display"/>
- <Cell col="2" text="bind:drugcd"/>
- <Cell col="3" text="bind:gtin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left;" text="bind:mnf_no"/>
- <Cell col="6" text="bind:mnf_seq"/>
- <Cell col="7" text="bind:labelno"/>
- <Cell col="8" style="align:EXPR(center);" text="bind:drugcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_daypatlist02" class="grd_daypatlist" taborder="33" binddataset="ds_adnmstocorder" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 222 624 1104 845" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="26" band="left"/>
- <Column size="63" band="left"/>
- <Column size="90" band="left"/>
- <Column size="92" band="left"/>
- <Column size="118" band="left"/>
- <Column size="97" band="left"/>
- <Column size="122"/>
- <Column size="147"/>
- <Column size="49"/>
- <Column size="27"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="저장소"/>
- <Cell col="3" text="LabelNo"/>
- <Cell col="4" text="처방코드"/>
- <Cell col="5" text="물품번호"/>
- <Cell col="6" text="유통기간" wordwrap="char"/>
- <Cell col="7" text="일련번호"/>
- <Cell col="8" text="보고번호"/>
- <Cell col="9" text="순번"/>
- <Cell col="10" text="차수"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel"/>
- <Cell col="2" text="bind:storge_no" combodataset="ds_storge_list" combocodecol="storge_no" combodatacol="storge_no" combodisplay="display"/>
- <Cell col="3" text="bind:labelno"/>
- <Cell col="4" text="bind:drugcd"/>
- <Cell col="5" text="bind:gtin"/>
- <Cell col="6" style="align:left top;padding:4 2 3 2;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left;" text="bind:mnf_no"/>
- <Cell col="8" text="bind:mnf_seq"/>
- <Cell col="9" text="bind:seq"/>
- <Cell col="10" style="align:EXPR(center);" text="bind:histno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item0" compid="grp_srch.Calendar00" propid="value" datasetid="ds_senddata" columnid="indd"/>
- <BindItem id="item1" compid="grp_srch.Calendar00" propid="" datasetid="ds_senddata" columnid=""/>
- </Bind>
- <Objects>
- <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_outmeg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_storgedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="outcnt" type="STRING" size="256"/>
- <Column id="incnt" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="allcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendstorge" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_storgeindaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_storgedruglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="labelno" type="STRING" size="256"/>
- <column id="drugcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_storge_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="storge_nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="storge_no">S0001</Col>
- <Col id="storge_nm">기본저장소(약무과)</Col>
- </Row>
- <Row>
- <Col id="storge_no">S0002</Col>
- <Col id="storge_nm">병동약국</Col>
- </Row>
- <Row>
- <Col id="storge_no">S0003</Col>
- <Col id="storge_nm">외래약국</Col>
- </Row>
- <Row>
- <Col id="storge_no">S0004</Col>
- <Col id="storge_nm">마취회복실</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocorder" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_nm" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qty" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="sel" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendstorgedrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="labelno" type="STRING" size="256"/>
- <column id="drugcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-03-08
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- var Arstorge_no = "";
- function SMADT12005_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- // ds_senddata.clearData()
- ds_storgeindaylist.clearData()
- ds_storgedata.clearData()
- // ds_sendpatdata.clearData()
- var sCurDate = utlf_getCurrentDate();
- var currentDate = new Date(sCurDate.substr(0,4), sCurDate.substr(4,2) -1, sCurDate.substr(6,2));
- //조회날짜 초기화
- ds_senddata.setColumn(0,"indd", currentDate.getAddDate(-3,"D").getDateFormat("YYYYMMDD"));
- ds_senddata.setColumn(0,"workflag" , 'O' );
- ds_senddata.setColumn(0,"storge_no" , 'S0002' );
- }
- function grd_daypatlist00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = e.row;
- if( cRow > -1 ){
- ds_sendstorge.setColumn(0, "drugcd", ds_storgedata.getColumn(cRow, "drugcd"));
- ds_sendstorge.setColumn(0, "storge_no", ds_storgedata.getColumn(cRow, "storge_no"));
- ds_sendstorge.setColumn(0, "indd", ds_senddata.getColumn(0, "indd"));
- ds_sendstorge.setColumn(0, "workflag", "Y");
-
- var oParam = {};
- oParam.id = "TRADT12012";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStorgeIndayList";
- oParam.inds = "req=ds_sendstorge";
- oParam.outds = "ds_storgeindaylist=stocstorgedata";
- oParam.async = false;
- tranf_submit(oParam);
- var oParam = {};
- oParam.id = "TRADT12015";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStorgeDrugCnt";
- oParam.inds = "req=ds_sendstorge";
- oParam.outds = "ds_storgedruglist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- }
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
-
-
- var oParam = {};
- oParam.id = "TRADT12011";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStorgeSumList";
- oParam.inds = "req=ds_senddata";
- oParam.outds = "ds_storgedata=stoclist";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- function grp_srch_Ck_All_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if ( grp_srch.Ck_All.value == 1) {
- ds_senddata.setColumn(0,"workflag" , 'A' );
- ds_sendstorge.setColumn(0,"workflag" , 'A' );
- } else {
- ds_senddata.setColumn(0,"workflag" , 'O' );
- ds_sendstorge.setColumn(0,"workflag" , 'O' );
- }
- }
- function grp_srch_Combo00_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // alert( grp_srch.Combo00.value) ;
- ds_senddata.setColumn(0,"storge_no" , grp_srch.Combo00.value);
- }
- function grd_daypatlist01_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = e.row;
- if( cRow > -1 ){
- ds_sendstorgedrug.setColumn(0, "drugcd", ds_storgedruglist.getColumn(cRow, "drugcd"));
- ds_sendstorgedrug.setColumn(0, "storge_no", ds_storgedruglist.getColumn(cRow, "storge_no"));
- ds_sendstorgedrug.setColumn(0, "gtin", ds_storgedruglist.getColumn(cRow, "gtin"));
- ds_sendstorgedrug.setColumn(0, "prd_valid_de", ds_storgedruglist.getColumn(cRow, "prd_valid_de"));
- ds_sendstorgedrug.setColumn(0, "mnf_no", ds_storgedruglist.getColumn(cRow, "mnf_no"));
- ds_sendstorgedrug.setColumn(0, "mnf_seq", ds_storgedruglist.getColumn(cRow, "mnf_seq"));
- ds_sendstorgedrug.setColumn(0, "labelno", ds_storgedruglist.getColumn(cRow, "labelno"));
-
- var oParam = {};
- oParam.id = "TRADT12016";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetSelStorgeList";
- oParam.inds = "req=ds_sendstorge";
- oParam.outds = "ds_storgeindaylist=stocstorgedata";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|