123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAVT01800" position="absolute 0 0 1280 1024" titletext="조직은행 수익집계" onload="SMAVT01800_onload">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 0 1195 25" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 수익집계"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1195 749" style="">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 51 445 55" style="" anchor="default"/>
- <Grid id="dtg_schblist" binddataset="ds_main_schblst_item" position="absolute 450 74 1193 734" style="align:center ;" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="40"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="170"/>
- <Column size="40"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입/외"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" colspan="2" text="처방일자" taborder="undefined"/>
- <Cell col="5" text="처방명"/>
- <Cell col="6" text="수량"/>
- <Cell col="7" text="단가"/>
- <Cell col="8" text="총계"/>
- <Cell col="9" text="처방코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:iogbn" combodataset="ds_init_baseinfo_initprcpgenrflagcd_M0010" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" displaytype="date" text="bind:rgsttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="5" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:prcpqty" mask="#,##0"/>
- <Cell col="7" displaytype="number" text="bind:costamt" mask="#,##0"/>
- <Cell col="8" displaytype="number" text="bind:totamt" mask="#,##0"/>
- <Cell col="9" text="bind:prcpcd"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:costamt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#ffff99ff;background2:#ffff99ff;"/>
- <Cell col="1" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="합계" taborder="undefined"/>
- <Cell col="2" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
- <Cell col="3" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
- <Cell col="4" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
- <Cell col="5" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
- <Cell col="6" style="background:#ffff99ff;background2:#ffff99ff;font:Dotum,9, bold;" taborder="undefined"/>
- <Cell col="7" displaytype="number" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="expr:getSum('costamt')" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="background:#ffff99ff;background2:#ffff99ff;color:#669900ff;color2:#669900ff;font:Dotum,9, bold;" text="expr:getSum('totamt')" mask="#,##0"/>
- <Cell col="9" style="background:#ffff99ff;background2:#ffff99ff;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
- <Layouts>
- <Layout width="1194" height="35">
- <Static id="caption2" class="search_name" position="absolute 15 9 89 26" style="" text="수술일자 :" anchor="default"/>
- <Static id="caption5" class="search_no_b" position="absolute 203 9 214 26" style="" text="~" anchor="default"/>
- <Calendar id="ipt_fromdd" class="input_essential" position="absolute 96 8 196 27" style="" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Calendar id="ipt_todd" class="input_essential" position="absolute 221 8 321 27" style="" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Button id="button1" class="btn1" position="absolute 345 7 401 29" style="" text="조회" onclick="grp_biz_grp_sea_button1_onclick" anchor="default"/>
- <Shape id="line4" class="line_4" linetype="vertical" position="absolute 334 7 337 29" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="dtg_avtmlist" binddataset="ds_main_avtmlist_item" position="absolute 0 54 445 464" style="align:center ;" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="64"/>
- <Column size="75"/>
- <Column size="167"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </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="수술명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:recvno"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" displaytype="date" text="bind:opdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" style="align:left middle;" text="bind:opengnm"/>
- <Cell col="6" text="bind:ophngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="dtg_prcdlst" binddataset="ds_main_bscdlstdtl_item" position="absolute 0 490 445 735" style="align:center ;" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="100"/>
- <Column size="321"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="코드"/>
- <Cell col="2" text="명칭"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:etcdetlcd"/>
- <Cell col="2" style="align:left middle;" text="bind:etcdetlnm"/>
- <Cell col="3" text="bind:clscd"/>
- <Cell col="4" text="bind:etccd"/>
- <Cell col="5" text="bind:etcdetlcdkey"/>
- <Cell col="6" text="bind:etcitemcnts"/>
- <Cell col="7" text="bind:etcitemcnts2"/>
- <Cell col="8" text="bind:useyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 486 446 490" style="" anchor="default"/>
- <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 450 71 1192 75" style="" anchor="default"/>
- <Static id="caption1" class="tit_2" position="absolute 0 469 135 485" style="" text="처방코드" anchor="default"/>
- <Button id="btn_excsave" class="btn7" position="absolute 1117 49 1194 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
- <Button id="btn_etcisave" class="btn5" visible="true" position="absolute 450 49 536 69" style="" text="수익자료생성" onclick="grp_biz_btn_etcisave_onclick" anchor="default"/>
- <Button id="btn_srch" class="btn5" visible="true" position="absolute 539 49 603 69" style="" text="자료조회" onclick="grp_biz_btn_srch_onclick" anchor="default"/>
- <Button id="button4" class="btn5" visible="true" position="absolute 606 49 659 69" style="" text="삭 제" onclick="grp_biz_button4_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 757 1195 784" style="">
- <Layouts>
- <Layout>
- <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 2 56 24" style="" text="출력" onclick="grp_btn_btn_prt_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_bscdlstdtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchprcpcd" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchpickdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchprcpcd"/>
- <Col id="srchpid"/>
- <Col id="srchpickdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcplist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="rgsttm" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpqty" type="STRING" size="256"/>
- <Column id="prcpamt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcpgenrflag"/>
- <Col id="pid"/>
- <Col id="prcpdd"/>
- <Col id="rgsttm"/>
- <Col id="prcpnm"/>
- <Col id="prcpcd"/>
- <Col id="prcpqty"/>
- <Col id="prcpamt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_deldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srfromdd" type="STRING" size="256"/>
- <Column id="srtodd" type="STRING" size="256"/>
- <Column id="srpid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srfromdd"/>
- <Col id="srtodd"/>
- <Col id="srpid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="initprcpgenrflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="initprcpgenrflagcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_selbscdlstdtl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clscd" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="etcdetlcd" type="STRING" size="256"/>
- <Column id="etcdetlcdkey" type="STRING" size="256"/>
- <Column id="etcdetlnm" type="STRING" size="256"/>
- <Column id="etcitemcnts" type="STRING" size="256"/>
- <Column id="etcitemcnts2" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clscd"/>
- <Col id="etccd"/>
- <Col id="etcdetlcd"/>
- <Col id="etcdetlcdkey"/>
- <Col id="etcdetlnm"/>
- <Col id="etcitemcnts"/>
- <Col id="etcitemcnts2"/>
- <Col id="useyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_selbscdlstdtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_avtmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </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_avtmlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="recvno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="opdd" type="STRING" size="256"/>
- <Column id="opcd" type="STRING" size="256"/>
- <Column id="ophngnm" type="STRING" size="256"/>
- <Column id="opengnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recvno"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="opdd"/>
- <Col id="opcd"/>
- <Col id="ophngnm"/>
- <Col id="opengnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="combobscdlst" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="combobscdlst"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bscdlstdtl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clscd" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="etcdetlcd" type="STRING" size="256"/>
- <Column id="etcdetlcdkey" type="STRING" size="256"/>
- <Column id="etcdetlnm" type="STRING" size="256"/>
- <Column id="etcitemcnts" type="STRING" size="256"/>
- <Column id="etcitemcnts2" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clscd"/>
- <Col id="etccd"/>
- <Col id="etcdetlcd"/>
- <Col id="etcdetlcdkey"/>
- <Col id="etcdetlnm"/>
- <Col id="etcitemcnts"/>
- <Col id="etcitemcnts2"/>
- <Col id="useyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_rexprnt_benflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" 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="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchdateflag" type="STRING" size="256"/>
- <Column id="clscd" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchuid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchdateflag"/>
- <Col id="clscd"/>
- <Col id="etccd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_initprcpgenrflagcd_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_schblst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- <Column id="rgsttm" type="STRING" size="256" sumtext="처방일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="iogbn" type="STRING" size="256" sumtext="입/외구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="costamt" type="STRING" size="256" sumtext="단가"/>
- <Column id="totamt" type="STRING" size="256" sumtext="총계"/>
- <Column id="bgColor" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
- //include "ast_healexamxp::AHA001.xjs";
- include "com_zipcodexp::ZBP001.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- var arErrorCode = new HashArray();
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- // 화면 초기화
- function fGetScreenInit(){
- ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
- ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
- ds_send.setColumn( 0, "srchdateflag", "1");
- ds_main_avtmlist.clearData();
- ds_main_bscdlstdtl_item.clearData();
- ds_send.setColumn( 0, "clscd","C");
- ds_send.setColumn( 0, "etccd","C26");
-
- //submit("TRAVB00103");
- var oParam = {};
- oParam.id = "TRAHB00103";
- oParam.service = "tissuebankbaseapp.TissueBankBase";
- oParam.method = "reqGetBsCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_bscdlstdtl_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- ds_send.setColumn( 0, "srchdateflag" , "R");
- var arrParam = [
- {dsNm: "ds_init_baseinfo_initprcpgenrflagcd_M0010", cdGrpId: "M0010" }
- ];
- appf_getCodeList(arrParam);
- //model.refresh();
- }
- //스크립트 끝
- function SMAVT01800_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_biz.dtg_avtmlist);
- grdf_initGrid(grp_biz.dtg_prcdlst);
- grdf_initGrid(grp_biz.dtg_schblist);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fGetScreenInit();
- }
- function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo) {
- if( ds_send.getColumn(0, "srchfromdd") == ""){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- if( ds_send.getColumn(0, "srchtodd") == "" ){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- //if( submit("TRAVT01800") ){
- var oParam = {};
- oParam.id = "TRAVT01800";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetTissueBankAvtmLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_avtmlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAVT01800";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAVT01800") > -1) {
- }
- //model.refresh();
- }
- function cf_TRAVT01800(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
- // var filename = window.fileDialog("save",",",false,"조직은행 수익집계_"+utlf_getCurrentDate(),"xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- //
- // if (filename != "")
- // {
- // grp_biz.dtg_schblist.saveExcel(filename);
- grdf_exportExcel(grp_biz.dtg_schblist, "Sheet1", "조직은행 수익집계_"+utlf_getCurrentDate(), false, "" , 'user' , true);
- // }
- }
- function grp_biz_btn_etcisave_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_schblst_item.clearData();
- ds_temp.clearData();
- ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn( 0, "srchuid", sysf_getUserId());
- //submit("TXAVT01801");
- var oParam = {};
- oParam.id = "TXAVT01801";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqSetInsTissueBankSchbDataLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp=item";
- oParam.async = false;
- tranf_submit(oParam);
- //model.refresh();
- }
- function grp_biz_btn_srch_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_schblst_item.clearData();
- //if(submit("TRAVT01801")){
- var oParam = {};
- oParam.id = "TRAVT01801";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetTissueBankSchbDataLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_schblst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAVT01801";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAVT01801") > -1) {
- // var Cnt = ds_main_schblst_item.rowcount;
- // if( Cnt > 0 ){
- // grp_biz.dtg_schblist.subtotalposition = "below";
- // grp_biz.dtg_schblist.multitotals = true;
- //
- // grp_biz.dtg_schblist.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
- // grp_biz.dtg_schblist.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "font-weight:bold; background-color:#ffff99; color:#669900; ", 1, "합계", false);
- // }
- }
- }
- function cf_TRAVT01801(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo) {
- if ( sysf_messageBox("조회된 수익자료를", "Q001", "") == 6 ) {
- //if( submit("TXAVT01800")){
- var oParam = {};
- oParam.id = "TXAVT01800";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqSetDelTissueBankSchbDataLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp=item";
- oParam.async = false;
- oParam.callback = "cf_TXAVT01800";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAVT01800") > -1) {
- ds_main_schblst.clearData();
- grp_biz.btn_srch.click();
- }
- }
- }
- function cf_TXAVT01800(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo) {
- }
- ]]></Script>
- </Form>
- </FDL>
|