123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSD02100" position="absolute 0 0 1203 787" titletext="약품청구현황조회" oninit="SMRSD02100_oninit" onload="SMRSD02100_onload">
- <Layouts>
- <Layout>
- <Grid id="datagrid1" taborder="8" binddataset="ds_datagrid1" useinputpanel="false" visible="false" position="absolute 0 208 1195 778" autoenter="select" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:goodcd"/>
- <Cell col="1" text="bind:goodnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_goodreq" class="datagrid2" taborder="5" binddataset="ds_main_list_goodreq_goodreqlist" useinputpanel="false" position="absolute 0 208 1195 778" cellsizingtype="col" autoenter="select" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="68"/>
- <Column size="89"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="240"/>
- <Column size="89"/>
- <Column size="0"/>
- <Column size="63"/>
- <Column size="55"/>
- <Column size="73"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="63"/>
- <Column size="60"/>
- <Column size="91"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="진행상태"/>
- <Cell col="15" text="청구자명"/>
- <Cell col="16" text="조정수량"/>
- <Cell col="17" text="조정사유"/>
- <Cell col="18" text="청구구분"/>
- <Cell col="19" text="작업구분"/>
- <Cell col="20" text="청구방법"/>
- <Cell col="21" text="출고수량"/>
- <Cell col="22" text="미출고사유"/>
- <Cell col="23" text="비고"/>
- <Cell col="24" text="불출구분"/>
- <Cell col="25" text="구매구분"/>
- <Cell col="26" colspan="2" text="부서승인내역" taborder="undefined"/>
- <Cell col="28" text="구매접수"/>
- <Cell col="29" text="예산계정"/>
- <Cell col="30" text="예산계정"/>
- <Cell col="31" text="연구과제"/>
- <Cell col="32" text="연구과제"/>
- <Cell col="33" text="포장구성단위"/>
- <Cell col="34" text="보조거래처명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:reqdeptnm"/>
- <Cell col="3" text="bind:reqno"/>
- <Cell col="4" text="bind:reqseqno"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:goodcd"/>
- <Cell col="6" text="bind:allsizespecid"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:goodnm"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:goodspec"/>
- <Cell col="9" text="bind:goodmodel"/>
- <Cell col="10" displaytype="number" text="bind:reqqty"/>
- <Cell col="11" text="bind:requnit"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:prodcmpynm"/>
- <Cell col="13" style="align:left middle;padding:0 0 0 3;" text="bind:suppcustnm"/>
- <Cell col="14" text="bind:deliveprcsflag"/>
- <Cell col="15" text="bind:reqpsnnm"/>
- <Cell col="16" displaytype="number" text="bind:adjtqty"/>
- <Cell col="17" text="bind:adjtrsn"/>
- <Cell col="18" text="bind:reqflag"/>
- <Cell col="19" text="bind:workflag"/>
- <Cell col="20" text="bind:reqmthdflag"/>
- <Cell col="21" displaytype="number" text="bind:deliveqty"/>
- <Cell col="22" text="bind:unwinresn"/>
- <Cell col="23" text="bind:cmt"/>
- <Cell col="24" text="bind:deliveflag"/>
- <Cell col="25" text="bind:purcflag"/>
- <Cell col="26" text="bind:deptaprvynnm"/>
- <Cell col="27" text="bind:deptaprvdd"/>
- <Cell col="28" text="bind:acptflagnm"/>
- <Cell col="29" text="bind:bugtcd"/>
- <Cell col="30" text="bind:bugtnm"/>
- <Cell col="31" text="bind:stdysubjno"/>
- <Cell col="32" text="bind:stdysubjnm"/>
- <Cell col="33" text="bind:deliveunit"/>
- <Cell col="34" text="bind:subsuplplcenm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption10" text="약품청구현황조회" class="tit_1" position="absolute 0 0 243 25"/>
- <Div id="grp_sea" anchor="left top right" taborder="2" class="div_SA2" position="absolute 0 51 1195 151">
- <Layouts>
- <Layout>
- <Edit id="opt_instcdnm" taborder="11" readonly="true" position="absolute 100 4 360 23" anchor="default" style="align:center middle;" class="output"/>
- <Edit id="opt_instcd" taborder="10" readonly="true" visible="false" position="absolute 100 4 360 23" anchor="default" class="output"/>
- <Static id="caption2" text="기관코드 :" class="search_name" position="absolute 15 4 104 21" anchor="default"/>
- <Button id="btn_search" taborder="4" text="조회" class="btn1" position="absolute 1124 35 1180 57" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Static id="caption7" text="청구부서 :" class="search_name" position="absolute 405 29 494 46" anchor="default"/>
- <Edit id="ipt_reqdeptnm" taborder="5" autoselect="true" autoskip="true" class="output" position="absolute 605 28 764 47" anchor="default" readonly="true" style="align:center middle;"/>
- <Edit id="ipt_reqdeptcd" taborder="6" autoselect="true" autoskip="true" class="input_fix" position="absolute 505 28 582 47" anchor="default" style="align:center middle;"/>
- <Button id="btn_windeptcd" taborder="7" class="icon_search" position="absolute 586 30 602 46" anchor="default" onclick="grp_sea_btn_windeptcd_onclick"/>
- <Static id="caption12" text="청구일자 :" class="search_name" position="absolute 15 54 104 71" anchor="default"/>
- <Calendar id="ipt_reqfrdd" taborder="8" autoselect="true" autoskip="true" class="input_essential" position="absolute 101 54 221 73" anchor="default" style="align:center middle;"/>
- <Calendar id="ipt_reqtodd" taborder="9" autoselect="true" autoskip="true" class="input_essential" position="absolute 240 52 360 71" anchor="default" style="align:center middle;"/>
- <Static id="caption9" text="~" position="absolute 224 52 239 72" anchor="default"/>
- <Shape id="line14" linetype="vertical" class="line_4" position="absolute 1105 9 1111 89" anchor="top right"/>
- <Combo id="cmb_goodflag" taborder="12" innerdataset="@ds_init_goodflag" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" enable="false" position="absolute 505 4 764 23" anchor="default" style="align:center middle;"/>
- <Static id="caption1" text="물품구분 :" class="search_name" position="absolute 405 5 498 22" anchor="default"/>
- <Static id="caption4" text="청구구분 :" class="search_name" position="absolute 785 4 871 21" anchor="default"/>
- <Combo id="cmb_reqflag" taborder="13" innerdataset="@ds_init_reqflag" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 871 3 1095 22" anchor="default" style="align:center middle;"/>
- <Combo id="cmb_reqmthd" taborder="14" innerdataset="@ds_init_reqmthd" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 100 28 360 47" anchor="default" style="align:center middle;"/>
- <Static id="caption3" text="청구방법 :" class="search_name" position="absolute 15 30 101 47" anchor="default"/>
- <Button id="btn_helppsn" taborder="15" class="icon_search" position="absolute 960 27 976 43" anchor="default" onclick="grp_sea_btn_helppsn_onclick"/>
- <Edit id="ipt_emplnm" taborder="16" autoselect="true" autoskip="true" class="output" position="absolute 978 27 1095 46" anchor="default" password="false" readonly="true" style="align:center middle;"/>
- <Static id="caption5" text="청 구 자 :" class="search_name" position="absolute 785 28 878 45" anchor="default"/>
- <Edit id="ipt_emplno" taborder="17" autoselect="true" autoskip="true" class="input_search" position="absolute 873 27 958 46" anchor="default" style="align:center middle;" onkeydown="grp_sea_ipt_emplno_onkeydown"/>
- <Combo id="cmb_workflag" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 505 52 765 71" anchor="default" style="align:center middle;" onitemchanged="grp_sea_cmb_workflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일반청구</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">비치약품청구</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">응급약물청구</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">비치약품반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">응급약물반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">처방청구</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption14" text="작업구분 :" class="search_name" position="absolute 405 53 491 70" anchor="default"/>
- <Static id="caption15" text="진행상태 :" class="search_name" position="absolute 15 79 104 96" anchor="default"/>
- <Combo id="cmb_deliveprcsflag" taborder="19" innerdataset="@ds_init_deliveprcsflag" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 100 77 360 96" anchor="default" style="align:center middle;"/>
- <Static id="caption16" text="불출부서 :" class="search_name" position="absolute 405 75 504 92" anchor="default"/>
- <Combo id="cmb_deptcd" taborder="20" class="combo_essential" position="absolute 505 75 765 94" anchor="default" style="align:center middle;"/>
- <Button id="btn_searchgoodcd" taborder="21" class="icon_search" position="absolute 960 54 976 70" anchor="default" onclick="grp_sea_btn_searchgoodcd_onclick"/>
- <Edit id="ipt_goodnm" taborder="22" autoselect="true" autoskip="true" class="input_fix" position="absolute 978 54 1095 73" anchor="default" style="align:center middle;"/>
- <Edit id="ipt_goodcd" taborder="23" autoselect="true" autoskip="true" class="input_essential" position="absolute 873 54 958 73" anchor="default" style="align:center middle;"/>
- <Static id="caption11" text="약품코드 :" class="search_name" position="absolute 785 55 871 72" anchor="default"/>
- <Radio id="radio1" taborder="24" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 873 77 1033 97" anchor="default" onitemchanged="grp_sea_radio1_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>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption13" text="조회구분 :" class="search_name" position="absolute 785 79 884 96" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption8" text="약품 청구현황내역" class="tit_2" position="absolute 0 187 141 209"/>
- <Shape id="line1" class="line_10" position="absolute 0 203 1195 209" anchor="left top right"/>
- <Button id="btn_excel" taborder="3" text="Excel" class="btn5" position="absolute 1142 184 1195 203" anchor="top right" onclick="btn_excel_onclick"/>
- <Button id="button13" taborder="4" text="불출서출력" class="btn6" position="absolute 1047 181 1139 203" anchor="top right" onclick="button13_onclick"/>
- <Shape id="line17" class="line_6" position="absolute 0 46 1195 52" anchor="left top right"/>
- <Button id="button6" taborder="7" text="초기화" class="btn4" position="absolute 1127 25 1195 47" anchor="top right" onclick="button6_onclick"/>
- <Div id="group2" taborder="1" visible="false" position="absolute 632 291 1047 464" style="background:#ffffffff;border:1 solid #808080ff ;">
- <Layouts>
- <Layout>
- <Grid id="grd_goodlist" taborder="1" binddataset="ds_init_main_goodlist" useinputpanel="false" position="absolute 1 25 411 164" anchor="default" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="102"/>
- <Column size="270"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="물품구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="none" edittype="none" text="bind:goodcd"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:goodnm"/>
- <Cell col="3" text="bind:instcd"/>
- <Cell col="4" text="bind:goodflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button5" taborder="2" text="숨기기" class="btn2" position="absolute 357 5 410 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_goodreq_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="reqmthdflag" type="STRING" size="256"/>
- <Column id="purcflag" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- <Column id="reqfrdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="deliveprcsflag" type="STRING" size="256"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="suppcustcd" type="STRING" size="256"/>
- <Column id="suppcustcdnm" type="STRING" size="256"/>
- <Column id="stocdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="reqflag"/>
- <Col id="workflag">1</Col>
- <Col id="reqmthdflag"/>
- <Col id="purcflag"/>
- <Col id="reqdeptcd"/>
- <Col id="reqdeptnm"/>
- <Col id="goodcd"/>
- <Col id="goodnm"/>
- <Col id="reqfrdd"/>
- <Col id="reqtodd"/>
- <Col id="deliveprcsflag"/>
- <Col id="instcdnm"/>
- <Col id="goodflag"/>
- <Col id="emplno"/>
- <Col id="emplnm"/>
- <Col id="suppcustcd"/>
- <Col id="suppcustcdnm"/>
- <Col id="stocdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="viewflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="viewflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_reqmthd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_deliveprcsflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_goodflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_list_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="instcd"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="물품구분(r0025) y 진료재료, ..."/>
- <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="reqseqno" type="STRING" size="256" sumtext="청구일련번호"/>
- <Column id="workflag" type="STRING" size="256" sumtext="작업구분(청구,반납)"/>
- <Column id="reqmthdflag" type="STRING" size="256" sumtext="청구방법"/>
- <Column id="deliveflag" type="STRING" size="256" sumtext="불출구분(정기,응급)"/>
- <Column id="reqpridflag" type="STRING" size="256" sumtext="청구주기구분"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
- <Column id="purcunit" type="STRING" size="256" sumtext="구매단위"/>
- <Column id="purcunitnm" type="STRING" size="256" sumtext="구매단위명"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
- <Column id="bugtcd" type="STRING" size="256" sumtext="예산코드"/>
- <Column id="bugtnm" type="STRING" size="256" sumtext="계정명"/>
- <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제번호"/>
- <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제번호"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="reqcollcdeptcd" type="STRING" size="256" sumtext="청구취합부서"/>
- <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서"/>
- <Column id="delivehopedd" type="STRING" size="256" sumtext="출고희망일"/>
- <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자"/>
- <Column id="reqtm" type="STRING" size="256" sumtext="청구시간"/>
- <Column id="ddavguseqty" type="STRING" size="256" sumtext="일평균사용량"/>
- <Column id="basevol" type="STRING" size="256" sumtext="기준량"/>
- <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
- <Column id="requnit" type="STRING" size="256" sumtext="청구단위"/>
- <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
- <Column id="deptaprvynnm" type="STRING" size="256" sumtext="부서승인명"/>
- <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
- <Column id="acptflag" type="STRING" size="256" sumtext="접수여부"/>
- <Column id="acptflagnm" type="STRING" size="256" sumtext="접수여부"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="adjtqty" type="STRING" size="256" sumtext="조정수량"/>
- <Column id="adjtrsn" type="STRING" size="256" sumtext="조정사유"/>
- <Column id="acptcharid" type="STRING" size="256" sumtext="접수담당자id"/>
- <Column id="purcdmnddd" type="STRING" size="256" sumtext="구매요구일자"/>
- <Column id="purcdmndno" type="STRING" size="256" sumtext="구매요구번호"/>
- <Column id="purcdmndseq" type="STRING" size="256" sumtext="구매요구일련번호"/>
- <Column id="colreqdd" type="STRING" size="256" sumtext="취합청구일자"/>
- <Column id="colreqno" type="STRING" size="256" sumtext="취합청구번호"/>
- <Column id="colreqseqno" type="STRING" size="256" sumtext="취합청구일련번호"/>
- <Column id="deliveqty" type="STRING" size="256" sumtext="불출수량"/>
- <Column id="unwinresn" type="STRING" size="256" sumtext="미입고사유"/>
- <Column id="deliveprcsflag" type="STRING" size="256" sumtext="출고진행구분"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래"/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명"/>
- <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자코드"/>
- <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자명"/>
- <Column id="reqtm" type="STRING" size="256" sumtext="청구시간"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALLSIZEID"/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="포장구성단위"/>
- <Column id="subsuplplcenm" type="STRING" size="256" sumtext="보조거래처명"/>
- <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="주거래처명"/>
- <Column id="acntcd" type="STRING" size="256" sumtext="계정과목"/>
- <Column id="acntnm" type="STRING" size="256" sumtext="계정과목명"/>
- <Column id="costconyn" type="STRING" size="256" sumtext="단가계약여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="goodnm "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
- <Column id="userqty" type="STRING" size="256" sumtext="사용자입력수량 "/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="수불단위 "/>
- <Column id="estmamt" type="BIGDECIMAL" size="256" sumtext="견적가 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="todd" type="STRING" size="256" sumtext="todd "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부 "/>
- <Column id="fromdd" type="STRING" size="256" sumtext="fromdd "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분(r0025) "/>
- <Column id="goodhngnm" type="STRING" size="256" sumtext="영문명 "/>
- <Column id="goodengnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드 "/>
- <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드 "/>
- <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명 "/>
- <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드 "/>
- <Column id="smlnm" type="STRING" size="256" sumtext="소분류 "/>
- <Column id="winacnt" type="STRING" size="256" sumtext="계정코드 "/>
- <Column id="winacntnm" type="STRING" size="256" sumtext="계정코드명 "/>
- <Column id="amtacnt" type="STRING" size="256" sumtext="비용계정 "/>
- <Column id="amtacntnm" type="STRING" size="256" sumtext="비용계정명 "/>
- <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관리부서코드 "/>
- <Column id="mainmngtdeptnm" type="STRING" size="256" sumtext="주관리부서명 "/>
- <Column id="stocmngtflag" type="STRING" size="256" sumtext="재고관리기준 "/>
- <Column id="purcunit" type="STRING" size="256" sumtext="입고단위 "/>
- <Column id="purcunitnm" type="STRING" size="256" sumtext="입고단위 "/>
- <Column id="deliveunitnm" type="STRING" size="256" sumtext="수불단위 "/>
- <Column id="exchqty" type="BIGDECIMAL" size="256" sumtext="환산배수 "/>
- <Column id="minexch" type="BIGDECIMAL" size="256" sumtext="최소환산수량 "/>
- <Column id="divusenvalqty" type="STRING" size="256" sumtext="분할사용수치 "/>
- <Column id="edicd" type="STRING" size="256" sumtext="edi코드 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구기준 "/>
- <Column id="reqflagnm" type="STRING" size="256" sumtext="청구기준명 "/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="prodplce" type="STRING" size="256" sumtext="제조국 "/>
- <Column id="prodplcenm" type="STRING" size="256" sumtext="제조국명 "/>
- <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="최종공급처 "/>
- <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="최종공급처 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
- <Column id="forgncurncyunitcost" type="BIGDECIMAL" size="256" sumtext="외화단가 "/>
- <Column id="curncyunit" type="STRING" size="256" sumtext="화폐단위 "/>
- <Column id="curncyunitnm" type="STRING" size="256" sumtext="화폐단위 "/>
- <Column id="goodunitcost" type="BIGDECIMAL" size="256" sumtext="제품단가 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="safestocqty" type="BIGDECIMAL" size="256" sumtext="안전재고량 "/>
- <Column id="ddavguseqty" type="BIGDECIMAL" size="256" sumtext="일평균사용량 "/>
- <Column id="mmavgusescheqty" type="BIGDECIMAL" size="256" sumtext="월평균사용예정량 "/>
- <Column id="mmavguseqty" type="BIGDECIMAL" size="256" sumtext="월평균사용량 "/>
- <Column id="prprtystocpossndayno" type="BIGDECIMAL" size="256" sumtext="적정재고보유일수 "/>
- <Column id="stocqty" type="STRING" size="256" sumtext="재고량 "/>
- <Column id="curemealstocqty" type="STRING" size="256" sumtext="치료식현재고수량 "/>
- <Column id="empmealstocqty" type="STRING" size="256" sumtext="직원식현재고수량 "/>
- <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="직원야식현재고수량 "/>
- <Column id="curemealstocqty" type="STRING" size="256" sumtext="영양팀치료식 "/>
- <Column id="empmealstocqty" type="STRING" size="256" sumtext="영양팀직원식 "/>
- <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="영양팀직원야식 "/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize여부 "/>
- <Column id="orgloc" type="STRING" size="256" sumtext="원산지 "/>
- <Column id="select" type="STRING" size="256" sumtext=" "/>
- <Column id="bnscd" type="STRING" size="256" sumtext=" "/>
- <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
- <Column id="goodpurccost" type="STRING" size="256" sumtext="납품가 "/>
- <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize코드 "/>
- <Column id="reqfnldeptcd" type="STRING" size="256" sumtext="출고부서 "/>
- <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서 "/>
- <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- <Column id="constunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_goodiolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_goodreqmst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_print_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_print_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_prtinfo_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_prtinfo_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.opt_instcdnm" propid="value" datasetid="ds_send_goodreq" columnid="instcdnm"/>
- <BindItem id="item1" compid="grp_sea.cmb_reqmthd" propid="value" datasetid="ds_send_goodreq" columnid="reqmthdflag"/>
- <BindItem id="item2" compid="grp_sea.ipt_reqfrdd" propid="value" datasetid="ds_send_goodreq" columnid="reqfrdd"/>
- <BindItem id="item3" compid="grp_sea.ipt_reqtodd" propid="value" datasetid="ds_send_goodreq" columnid="reqtodd"/>
- <BindItem id="item4" compid="grp_sea.cmb_deliveprcsflag" propid="value" datasetid="ds_send_goodreq" columnid="deliveprcsflag"/>
- <BindItem id="item5" compid="grp_sea.cmb_goodflag" propid="value" datasetid="ds_send_goodreq" columnid="goodflag"/>
- <BindItem id="item6" compid="grp_sea.ipt_reqdeptcd" propid="value" datasetid="ds_send_goodreq" columnid="reqdeptcd"/>
- <BindItem id="item7" compid="grp_sea.ipt_reqdeptnm" propid="value" datasetid="ds_send_goodreq" columnid=""/>
- <BindItem id="item8" compid="grp_sea.cmb_workflag" propid="value" datasetid="ds_send_goodreq" columnid="workflag"/>
- <BindItem id="item9" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send_goodreq" columnid="stocdeptcd"/>
- <BindItem id="item10" compid="grp_sea.ipt_emplno" propid="value" datasetid="ds_send_goodreq" columnid="emplno"/>
- <BindItem id="item11" compid="grp_sea.cmb_reqflag" propid="value" datasetid="ds_send_goodreq" columnid="reqflag"/>
- <BindItem id="item12" compid="grp_sea.ipt_emplnm" propid="value" datasetid="ds_send_goodreq" columnid="emplnm"/>
- <BindItem id="item13" compid="grp_sea.ipt_goodnm" propid="value" datasetid="ds_send_goodreq" columnid="goodnm"/>
- <BindItem id="item14" compid="grp_sea.ipt_goodcd" propid="value" datasetid="ds_send_goodreq" columnid="goodcd"/>
- <BindItem id="item15" compid="grp_sea.radio1" propid="value" datasetid="ds_temp" columnid="viewflag"/>
- <BindItem id="item16" compid="grp_sea.opt_instcd" propid="value" datasetid="ds_send_goodreq" columnid="instcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- var arErrorCode = new HashArray();
- function SMRSD02100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRSD02100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_goodreq);
- grdf_initGrid(group2.grd_goodlist);
- grdf_setRowTypeIcon(group2.grd_goodlist, 0);
-
- fInitialize();
- }
- function fInitialize()
- {
- misfComboComCdList("R0092",grp_sea.cmb_reqmthd ,"Y");
- misfComboComCdList("R0116",grp_sea.cmb_deliveprcsflag,"Y");
-
- rszfUserReqFlagList("grp_sea.cmb_reqflag",sysf_getUserInfo("dutplceinstcd"),sysf_getUserInfo("userid"),"1","S" );
- rszfGoodFlagListByPgmGubn(grp_sea.cmb_goodflag,"","N");
- rszfComboStockArthDeptcdList("grp_sea.cmb_deptcd",sysf_getUserInfo("dutplceinstcd") ,"PH" );
- frmf_addComboItem("grp_sea.cmb_deptcd","전체","","above");
- grp_sea.cmb_reqmthd.value = "3";
- misfGridInit(grd_goodreq);
- //misfMsterDetailSet(grd_goodreq,null, "TRRSD02001" ,"N");
- grp_sea.opt_instcd.value = sysf_getUserInfo("dutplceinstcd");
- grp_sea.opt_instcdnm.value = sysf_getUserInfo("dutplceinstnm");
-
- var curdate = utlf_getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
- grp_sea.cmb_goodflag.value = "PH";
- ds_send_goodreq.setColumn(0, "reqfrdd", cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- ds_send_goodreq.setColumn(0, "reqtodd", curdate);
- grp_sea.radio1.value = "1";
- }
- function ds_send_goodreq_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "reqdeptcd")
- {
- grp_sea.ipt_reqdeptcd.value = e.newvalue;
- grp_sea.ipt_reqdeptcd.setFocus();
- if(String(e.newvalue).length == 0)
- {
- grp_sea.ipt_reqdeptnm.value = "";
- }
- else
- {
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd", "deptcd," + e.newvalue, "", "reqdeptcd,reqdeptnm",grp_sea.ipt_reqdeptcd, "SPRPZ00200", "","");
- }
- }
- if(e.columnid == "reqdeptnm")
- {
- grp_sea.ipt_reqdeptnm.value = e.newvalue;
- grp_sea.ipt_reqdeptnm.setFocus();
- if(String(e.newvalue).length == 0)
- {
- grp_sea.ipt_reqdeptcd.value = "";
- }
- else
- {
- rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm", "deptnm," + e.newvalue, "", "reqdeptcd,reqdeptnm",grp_sea.ipt_reqdeptnm, "SPRPZ00200", "","");
- }
- }
- if(e.columnid == "goodcd")
- {
- grp_sea.ipt_goodcd.value = e.newvalue;
- grp_sea.ipt_goodcd.setFocus();
- if(String(e.newvalue).length == 0)
- {
- grp_sea.ipt_goodnm.value = "";
- }
- else
- {
- obj.setColumn(0, "goodnm", "")
- grp_sea.btn_searchgoodcd.click();
- }
- }
- if(e.columnid == "goodnm")
- {
- grp_sea.ipt_goodnm.value = e.newvalue;
- grp_sea.ipt_goodnm.setFocus();
- if(String(e.newvalue).length == 0)
- {
- grp_sea.ipt_goodcd.value = "";
- }
- else
- {
- obj.setColumn(0, "goodcd", "")
- grp_sea.btn_searchgoodcd.click();
- }
- }
- }
- function grp_sea_btn_windeptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", grp_sea.ipt_reqdeptcd,"", recv_list) ;
- }
- function grp_sea_cmb_workflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- grp_sea.btn_search.click();
- }
- function grp_sea_ipt_emplno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_btn_helppsn_onclick(obj:Button, e:ClickEventInfo)
- {
- rpbfOpenPopUpList("SPRPB00101", grp_sea.ipt_emplno, "emplno,emplnm", "","N");
- }
- function grp_sea_btn_searchgoodcd_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_makeValue(ds_send_goodiolist, "instcd", "string", ds_send_goodreq.getColumn(0, "instcd"), 0);
- dsf_makeValue(ds_send_goodiolist, "goodflag", "string", "PH", 0);
- dsf_makeValue(ds_send_goodiolist, "goodcd", "string", ds_send_goodreq.getColumn(0, "goodcd"), 0);
- dsf_makeValue(ds_send_goodiolist, "goodnm", "string", ds_send_goodreq.getColumn(0, "goodnm"), 0);
- var oParam = {};
- oParam.id = "TRRSD00192";
- oParam.service = "purccommonapp.PurcCommon";
- oParam.method = "reqGetPhamGoodListByCond";
- oParam.inds = "req=ds_send_goodiolist";
- oParam.outds = "ds_init_main_goodlist=goodlist";
- oParam.async = false;
- oParam.callback = "cf_TRRSD00192";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRRSD00192") > -1)
- {
- var nodecnts = ds_init_main_goodlist.rowcount;
- if (nodecnts > 1)
- {
- group2.visible = true;
- }
- else if (nodecnts == 1)
- {
- var goodcd = ds_init_main_goodlist.getColumn(0, "goodcd");
- var goodnm = ds_init_main_goodlist.getColumn(0, "goodnm");
-
- ds_send_goodreq.setColumn(0, "goodcd", goodcd);
- ds_send_goodreq.setColumn(0, "goodnm", goodnm);
- }
- else
- {
- sysf_messageBox("검색된 코드가 없습니다.", "I");
- }
- }
- }
- function cf_TRRSD00192(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_temp.getColumn(0, "viewflag") == "1")
- {
- var dPath = "ds_main_goodreqmst";
- var pPath = "ds_send_goodreq";
-
- if(fCheckRetrieveData(false) == false)return;
- misfGridInit(grd_goodreq)
- var oParam = {};
- oParam.id = "TRRSD02001";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetDailyReqList";
- oParam.inds = "req=ds_send_goodreq";
- oParam.outds = "ds_main_list_goodreq_goodreqlist=goodreqlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSD02001";
- tranf_submit(oParam);
-
- dsf_makeValue(eval(dPath), "instcdnm", "string", eval(pPath).getColumn(0, "instcdnm"), 0);
- dsf_makeValue(eval(dPath), "reqdeptnm", "string", eval(pPath).getColumn(0, "reqdeptnm"), 0);
- dsf_makeValue(eval(dPath), "reqfrdd", "string", eval(pPath).getColumn(0, "reqfrdd"), 0);
- dsf_makeValue(eval(dPath), "reqtodd", "string", eval(pPath).getColumn(0, "reqtodd"), 0);
-
- datagrid1.visible = false;
- }
- else
- {
- for (var i = datagrid1.getFormatColCount(); i > 0; i--)
- {
- datagrid1.deleteContentsCol(i);
- }
-
- ds_main_print_header.clearData();
- ds_main_print_list.clearData();
-
- var oParam = {};
- oParam.id = "TRRSD02002";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetDailyReqListPrint";
- oParam.inds = "req=ds_send_goodreq";
- oParam.outds = "ds_main_print_list=list ds_main_print_header=header";
- oParam.async = false;
- //oParam.callback = "cf_TRRSD02002";
- tranf_submit(oParam);
-
- var count = ds_main_print_header.rowcount;
- var caption = "약품코드^약품명";
-
- for(var i = 0; i < count; i++)
- {
- caption += "^" + ds_main_print_header.getColumn(i, "reqdeptnm");
- }
-
- colIDs = caption.split("^");
-
- for(var i = 0; i < colIDs.length; i++)
- {
- datagrid1.appendContentsCol();
- trace(i)
- datagrid1.setCellProperty("Head", i, "text", colIDs[i]);
- if(i > 1)
- {
- datagrid1.setCellProperty("Body", i, "text", "bind:ward"+parseInt(i-2));
- }
- else
- {
- datagrid1.setCellProperty("Body", 0, "text", "bind:goodcd");
- datagrid1.setCellProperty("Body", 1, "text", "bind:goodnm");
- }
- datagrid1.setCellProperty("Body", i, "align", "left middle");
- datagrid1.setFormatColProperty(i, "size", 120);
- }
- datagrid1.visible = true;
- datagrid1.binddataset = "ds_main_print_list";
-
- datagrid1.deleteContentsCol(colIDs.length);
- }
- }
- function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- grp_sea.btn_search.click();
- }
- function fCheckRetrieveData(pmsg)
- {
- if(String(grp_sea.opt_instcd.value).length== 0 )
- {
- grp_sea.opt_instcd.setFocus();
- return false;
- }
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_temp.getColumn(0, "viewflag") == "1")
- {
- freqlistprint();
- }
- else
- {
- alert("조회구분이 '일반'일 때 출력할 수 있습니다.");
- }
- }
- function freqlistprint()
- {
- ds_prtinfo_goodreq_goodreqlist.clearData();
- ds_prtinfo_baseinfo.clearData();
-
- dsf_makeValue(ds_prtinfo_baseinfo, "instcdnm", "string", ds_send_goodreq.getColumn(0, "instcdnm"), 0);
- dsf_makeValue(ds_prtinfo_baseinfo, "reqfrdd", "string", ds_send_goodreq.getColumn(0, "reqfrdd"), 0);
- dsf_makeValue(ds_prtinfo_baseinfo, "reqtodd", "string", ds_send_goodreq.getColumn(0, "reqtodd"), 0);
- dsf_makeValue(ds_prtinfo_baseinfo, "workflagnm", "string", grp_sea.cmb_workflag.text, 0);
-
- ds_prtinfo_goodreq_goodreqlist.copyData(ds_main_list_goodreq_goodreqlist);
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/baseinfo", ds_prtinfo_baseinfo);
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/goodreq/goodreqlist", ds_prtinfo_goodreq_goodreqlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPRSD02101"],[objParam], option);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_temp.getColumn(0, "viewflag") == "1")
- {
- grdf_exportExcel(grd_goodreq, "청구현황", "약품청구현황List", "true", "", "");
- }
- else
- {
- grdf_exportExcel(datagrid1, "청구현황", "약품청구현황List", "true", "", "");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|