123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPSTP00700" position="absolute 0 0 1204 805" titletext="종합수익일보(건진제외)" oninit="SPSTP00700_oninit" onload="SPSTP00700_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_upco" taborder="43" binddataset="ds_grdlist_list03" useinputpanel="false" position="absolute 521 536 1195 630" autoenter="select" cellsizingtype="col" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="91"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="91"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="82"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="계정"/>
- <Cell col="1" text="발생"/>
- <Cell col="2" text="대체"/>
- <Cell col="3" text="합계"/>
- <Cell col="4" text="계정"/>
- <Cell col="5" text="발생"/>
- <Cell col="6" text="대체"/>
- <Cell col="7" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 0 0 3;" text="bind:smlnm1"/>
- <Cell col="1" displaytype="number" text="bind:addamt1"/>
- <Cell col="2" displaytype="number" text="bind:downamt1"/>
- <Cell col="3" displaytype="number" text="bind:totamt1"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:smlnm2"/>
- <Cell col="5" displaytype="number" text="bind:addamt2"/>
- <Cell col="6" displaytype="number" text="bind:downamt2"/>
- <Cell col="7" displaytype="number" text="bind:totamt2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_unco" taborder="40" binddataset="ds_grdlist_list02" useinputpanel="false" position="absolute 522 108 1195 511" autoenter="select" cellsizingtype="col" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="115"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="±"/>
- <Cell col="1" rowspan="2" text="계정" taborder="undefined"/>
- <Cell col="2"/>
- <Cell col="3" colspan="2" text="입원" taborder="undefined"/>
- <Cell col="5" colspan="2" text="외래" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="합계" taborder="undefined"/>
- <Cell row="1" text="±"/>
- <Cell row="1" col="2"/>
- <Cell row="1" col="3" text="발생"/>
- <Cell row="1" col="4" text="입금(대체)"/>
- <Cell row="1" col="5" text="발생"/>
- <Cell row="1" col="6" text="입금(대체)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:dpt"/>
- <Cell col="1" displaytype="tree" edittype="tree" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:lrgnm"/>
- <Cell col="2" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:smlnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inuncoamt"/>
- <Cell col="4" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inrcptamt"/>
- <Cell col="5" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outuncoamt"/>
- <Cell col="6" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outrcptamt"/>
- <Cell col="7" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption5" text="수입" class="tit_2" position="absolute 0 448 65 469"/>
- <Shape id="line5" class="line_10" position="absolute 0 464 520 470"/>
- <Grid id="grd_incm" taborder="41" binddataset="ds_grdlist_list05" useinputpanel="false" position="absolute 0 469 520 655" autoenter="select" cellsizingtype="col" oncelldblclick="grd_incm_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="계정"/>
- <Cell col="1" text="입원"/>
- <Cell col="2" text="외래"/>
- <Cell col="3" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 0 0 3;background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:earnclsnm"/>
- <Cell col="1" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:inamt"/>
- <Cell col="2" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:outamt"/>
- <Cell col="3" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_ordearn" class="datagrid2" taborder="39" binddataset="ds_grdlist_list01" useinputpanel="false" position="absolute 0 108 520 442" autoenter="select" cellsizingtype="col" treeuseimage="false" treeusecheckbox="false" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="±"/>
- <Cell col="1" text="계정"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4" text="입원"/>
- <Cell col="5" text="입원"/>
- <Cell col="6" text="외래"/>
- <Cell col="7" text="외래"/>
- <Cell col="8" text="합계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:dpt"/>
- <Cell col="1" displaytype="tree" edittype="tree" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:lrgnm" treestartlevel="1" treelevel="bind:dpt"/>
- <Cell col="2" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:mdlnm"/>
- <Cell col="3" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:smlnm"/>
- <Cell col="4" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inaccntcd"/>
- <Cell col="5" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inamt"/>
- <Cell col="6" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outaccntcd"/>
- <Cell col="7" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outamt"/>
- <Cell col="8" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" taborder="31" position="absolute 0 24 1195 64" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption21" text="조회기간" class="search_name" position="absolute 11 11 97 28"/>
- <Calendar id="ipt_fromdd" taborder="1" class="input_search" position="absolute 88 10 191 29" autoselect="true" autoskip="true"/>
- <Static id="caption6" text="~" position="absolute 195 13 220 28"/>
- <Calendar id="ipt_todd" taborder="2" class="input_search" position="absolute 208 10 311 29" autoselect="true"/>
- <CheckBox id="checkbox1" taborder="3" position="absolute 326 12 521 27" text="중간청구 및 삭감환수 포함" truevalue="Y" onclick="grp_sea_checkbox1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 985 30 991 57" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Button position="absolute 1002 32 1058 54" id="btn_search" class="btn1" taborder="3" text="조회" anchor="top right" onclick="btn_search_onclick"/>
- <Button position="absolute 1120 32 1176 54" id="button1" class="btn6" taborder="26" text="출력" anchor="top right" onclick="button1_onclick"/>
- <Button position="absolute 1061 32 1117 54" id="btn_clear" class="btn7" taborder="30" text="엑셀" anchor="top right" onclick="btn_clear_onclick"/>
- <Static text="※ 입원/외래수익일보의 [순수입원,순수외래] 기준입니다." position="absolute 533 36 908 50" id="caption7" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Static id="caption60" text="종합수익일보(건진제외)" class="tit_1" position="absolute 0 0 183 24"/>
- <Static id="caption1" text="진료수익 fChangeDspl(group1); " class="tit_2" position="absolute 0 87 80 108"/>
- <Shape id="line1" class="line_10" position="absolute 0 103 520 109"/>
- <Static id="caption2" text="미수 fChangeDspl(group2); " class="tit_2" position="absolute 522 87 607 108"/>
- <Shape id="line2" class="line_10" position="absolute 522 103 1195 109" anchor="left top right"/>
- <Static id="caption8" text="가수금" class="tit_2" position="absolute 0 663 65 685"/>
- <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 679 520 685"/>
- <Grid id="grd_incm2" taborder="42" binddataset="ds_grdlist_list06" useinputpanel="false" position="absolute 0 684 520 801" autoenter="select" cellsizingtype="col" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="계정"/>
- <Cell col="1" text="입원"/>
- <Cell col="2" text="외래"/>
- <Cell col="3" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:earnclsnm"/>
- <Cell col="1" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:inamt"/>
- <Cell col="2" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:outamt"/>
- <Cell col="3" displaytype="number" style="background:EXPR(currow == 0 ? '#ffff99' : '');background2:EXPR(currow == 0 ? '#ffff99' : '');font:EXPR(currow == 0 ? 'arial,9,bold' : '');" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption3" text="선수" class="tit_2" position="absolute 521 515 576 536" anchor="left bottom"/>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 521 531 1195 537" anchor="left right bottom"/>
- <Static id="caption4" text="기타" class="tit_2" position="absolute 522 640 577 661" anchor="left bottom"/>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 522 656 1195 662" anchor="left right bottom"/>
- <Grid id="grd_etc" taborder="44" binddataset="ds_grdlist_list04" useinputpanel="false" position="absolute 521 661 1195 801" autoenter="select" cellsizingtype="col" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="91"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="91"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="82"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="계정"/>
- <Cell col="1" text="입원"/>
- <Cell col="2" text="외래"/>
- <Cell col="3" text="합계"/>
- <Cell col="4" text="계정"/>
- <Cell col="5" text="입원"/>
- <Cell col="6" text="외래"/>
- <Cell col="7" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 0 0 3;" text="bind:smlnm1"/>
- <Cell col="1" displaytype="number" text="bind:inamt1"/>
- <Cell col="2" displaytype="number" text="bind:outamt1"/>
- <Cell col="3" displaytype="number" text="bind:totamt1"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:smlnm2"/>
- <Cell col="5" displaytype="number" text="bind:inamt2"/>
- <Cell col="6" displaytype="number" text="bind:outamt2"/>
- <Cell col="7" displaytype="number" text="bind:totamt2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_ordearnexcel" class="datagrid2" taborder="45" binddataset="ds_grdlist_list01" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" treeusecheckbox="false" treeuseimage="false" position="absolute 8 116 272 346" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="±"/>
- <Cell col="1" text="계정"/>
- <Cell col="2" colspan="2" taborder="undefined"/>
- <Cell col="4" colspan="2" text="입원" taborder="undefined"/>
- <Cell col="6" colspan="2" text="외래" taborder="undefined"/>
- <Cell col="8" text="합계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:dpt"/>
- <Cell col="1" displaytype="tree" edittype="tree" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:lrgnm" treestartlevel="1" treelevel="bind:dpt"/>
- <Cell col="2" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:mdlnm"/>
- <Cell col="3" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:smlnm"/>
- <Cell col="4" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inaccntcd"/>
- <Cell col="5" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:inamt"/>
- <Cell col="6" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outaccntcd"/>
- <Cell col="7" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:outamt"/>
- <Cell col="8" displaytype="number" style="background:EXPR(dpt == '1' ? '#ffff99' : '');background2:EXPR(dpt == '1' ? '#ffff99' : '');font:EXPR(dpt == '1' ? 'arial,9,bold' : '');" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="srchflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grdlist_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dpt" type="STRING" size="256" sumtext=""/>
- <Column id="dpt2" type="STRING" size="256" sumtext=""/>
- <Column id="prtseq" type="STRING" size="256" sumtext=""/>
- <Column id="lrgcd" type="STRING" size="256" sumtext=""/>
- <Column id="mdlcd" type="STRING" size="256" sumtext=""/>
- <Column id="smlcd" type="STRING" size="256" sumtext=""/>
- <Column id="prtseq2" type="STRING" size="256" sumtext=""/>
- <Column id="lrgnm" type="STRING" size="256" sumtext=""/>
- <Column id="mdlnm" type="STRING" size="256" sumtext=""/>
- <Column id="smlnm" type="STRING" size="256" sumtext=""/>
- <Column id="inaccntcd" type="STRING" size="256" sumtext=""/>
- <Column id="inamt" type="STRING" size="256" sumtext=""/>
- <Column id="outaccntcd" type="STRING" size="256" sumtext=""/>
- <Column id="outamt" type="STRING" size="256" sumtext=""/>
- <Column id="totamt" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grdlist_list02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dpt" type="STRING" size="256" sumtext=""/>
- <Column id="mdlcd" type="STRING" size="256" sumtext=""/>
- <Column id="lrgnm" type="STRING" size="256" sumtext=""/>
- <Column id="smlnm" type="STRING" size="256" sumtext=""/>
- <Column id="inuncoamt" type="STRING" size="256" sumtext=""/>
- <Column id="inrcptamt" type="STRING" size="256" sumtext=""/>
- <Column id="outuncoamt" type="STRING" size="256" sumtext=""/>
- <Column id="outrcptamt" type="STRING" size="256" sumtext=""/>
- <Column id="totamt" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grdlist_list05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="earncls" type="STRING" size="256" sumtext=""/>
- <Column id="earnclsnm" type="STRING" size="256" sumtext=""/>
- <Column id="outamt" type="STRING" size="256" sumtext=""/>
- <Column id="inamt" type="STRING" size="256" sumtext=""/>
- <Column id="totamt" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grdlist_list03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smlnm1" type="STRING" size="256" sumtext=""/>
- <Column id="addamt1" type="STRING" size="256" sumtext=""/>
- <Column id="downamt1" type="STRING" size="256" sumtext=""/>
- <Column id="totamt1" type="STRING" size="256" sumtext=""/>
- <Column id="smlnm2" type="STRING" size="256" sumtext=""/>
- <Column id="addamt2" type="STRING" size="256" sumtext=""/>
- <Column id="downamt2" type="STRING" size="256" sumtext=""/>
- <Column id="totamt2" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grdlist_list06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="earncls" type="STRING" size="256" sumtext=""/>
- <Column id="earnclsnm" type="STRING" size="256" sumtext=""/>
- <Column id="outamt" type="STRING" size="256" sumtext=""/>
- <Column id="inamt" type="STRING" size="256" sumtext=""/>
- <Column id="totamt" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grdlist_list04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smlnm1" type="STRING" size="256" sumtext=""/>
- <Column id="inamt1" type="STRING" size="256" sumtext=""/>
- <Column id="outamt1" type="STRING" size="256" sumtext=""/>
- <Column id="totamt1" type="STRING" size="256" sumtext=""/>
- <Column id="smlnm2" type="STRING" size="256" sumtext=""/>
- <Column id="inamt2" type="STRING" size="256" sumtext=""/>
- <Column id="outamt2" type="STRING" size="256" sumtext=""/>
- <Column id="totamt2" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_cond" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.checkbox1" propid="value" datasetid="ds_cond" columnid="srchflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SPSTP00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPSTP00700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_ordearn);
- grdf_initGrid(grd_unco);
- grdf_initGrid(grd_incm);
- grdf_initGrid(grd_upco);
- grdf_initGrid(grd_incm2);
- grdf_initGrid(grd_etc);
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_cond.setColumn(0, "fromdd", utlf_getCurrentDate()-1);
- ds_cond.setColumn(0, "todd", utlf_getCurrentDate()-1);
- }
- function grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {}
- else
- {
- ds_cond.setColumn(0, "srchflag", "");
- }
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_cond.getColumn(0, "fromdd")))
- {
- return;
- }
- //fInitDisp();
- ds_grdlist_list01.clearData();
- ds_grdlist_list02.clearData();
- ds_grdlist_list03.clearData();
- ds_grdlist_list04.clearData();
- ds_grdlist_list05.clearData();
- ds_grdlist_list06.clearData();
-
- var oParam = {};
- oParam.id = "TRSTP01601";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "reqGetEarnDayRept";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_grdlist_list01=list01 ds_grdlist_list02=list02 ds_grdlist_list03=list03 ds_grdlist_list04=list04 ds_grdlist_list05=list05 ds_grdlist_list06=list06";
- oParam.async = false;
- oParam.callback = "cf_TRSTP01601";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRSTP01601") > -1)
- {
- fDispAprvCnclChng(grd_ordearn);
- fDispAprvCnclChng(grd_unco);
- fDispAprvCnclChng(grd_incm);
- fDispAprvCnclChng(grd_incm2);
- }
- }
- function cf_TRSTP01601(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fDispAprvCnclChng(grdObj)
- {
- var nodePath = eval(grdObj.binddataset);
- var chagValue = "";
- var mdlcd = "";
- var smlcd = "";
-
- if (grdObj.name == "grd_ordearn")
- {
- for(var i = 0; i < nodePath.rowcount; i++)
- {
- //진료수익(본인,청구)만 펼쳐지도록(선택진료는 제외)
- mdlcd = nodePath.getColumn(i, "mdlcd");
- smlcd = nodePath.getColumn(i, "smlcd");
-
- if (smlcd == "12" || mdlcd == "03" || mdlcd == "04")
- {
- var row = grdObj.getTreeRow(i);
- grdObj.setTreeStatus(row, false);
- }
- else
- {
- var row = grdObj.getTreeRow(i);
- grdObj.setTreeStatus(row, true);
- }
- }
- }
- else if (grdObj.name == "grd_unco")
- {
- //본인부담미수,재원미수(본인,청구),퇴원미수는 펼쳐지게
- mdlcd = nodePath.getColumn(i, "mdlcd");
- if (mdlcd == "01" || mdlcd == "06" || mdlcd == "07" || mdlcd == "08")
- {
- var row = grdObj.getTreeRow(i);
- grdObj.setTreeStatus(row, true);
- }
- else
- {
- var row = grdObj.getTreeRow(i);
- grdObj.setTreeStatus(row, false);
- }
- }
- }
- function btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- var sGrd = "grd_ordearnexcel,grd_unco,grd_upco,grd_etc,grd_incm";
- var sSheet = "text001,text002,text003,text004,text005";
- var today = ds_cond.getColumn(0, "fromdd");
- grdf_exportExcelMulti(sGrd, "종합수익일보(건진제외)_"+today, sSheet,false,"","",true);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/cond", ds_cond);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list06", ds_grdlist_list06);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list01", ds_grdlist_list01);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list02", ds_grdlist_list02);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list03", ds_grdlist_list03);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list04", ds_grdlist_list04);
- rptf_setNodeListToDOM(objDOM, "/root/grdlist/list05", ds_grdlist_list05);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- objParam.xml_data_XML2 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPSTP00903"],[objParam], option);
- }
- function grd_incm_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (ds_grdlist_list05.rowcount == 0)
- {
- sysf_messageBox("대상자료가 존재하지 않습니다.", "C000");
- return;
- }
-
- // 수입구분
- var earnclsnm = ds_grdlist_list05.getColumn(ds_grdlist_list05.rowposition, "earnclsnm");
-
- var worktype = "all"; // 수납계정(PK021)
- var rcpttype = "all"; // 수납방법(cash, card, online)
- var ioflag = "A"; // 외래:O, 입원:I, 전체:A
-
- // 수입구분별, 외래/입원 구분별 파라미터 세팅
- // 열에 따른 구분
- if (e.cell == obj.getBindCellIndex("Body", "outamt"))
- {
- ioflag = "O";
-
- // 외래수납장표
- worktype = "A01";
- }
- else if (e.cell == obj.getBindCellIndex("Body", "inamt"))
- {
- ioflag = "I"
-
- // 입원수납장표
- worktype = "A02";
- }
-
- // 행에 따른 구분
- if (earnclsnm == "현금입금액")
- {
- rcpttype = "cashamt";
- }
- else if (earnclsnm == "온라인입금액")
- {
- rcpttype = "onlineamt";
- }
- else if (earnclsnm == "신용카드미수입금액")
- {
- worktype = "B03";
- rcpttype = "onlineamt";
- }
- else if (earnclsnm == "산전지원미수입금액")
- {
- worktype = "B04";
- rcpttype = "onlineamt";
- }
- else if (earnclsnm == "건유비미수입금액")
- {
- worktype = "B04";
- rcpttype = "onlineamt";
- }
- else if (earnclsnm == "혈액미수입금액")
- {
- worktype = "B02";
- rcpttype = "onlineamt";
- }
- else if (earnclsnm == "의사소견서미수입금")
- {
- worktype = "B05";
- rcpttype = "onlineamt";
- }
- else
- {
- rcpttype = "all";
- }
-
- frmf_setParameter("SMPAE00102_WORKTYPE", worktype);
- frmf_setParameter("SMPAE00102_RCPTTYPE", rcpttype);
- frmf_setParameter("SMPAE00102_IOFLAG", ioflag);
- frmf_setParameter("SMPAE00102_FROMDD", ds_cond.getColumn(0, "fromdd"));
- frmf_setParameter("SMPAE00102_TODD", ds_cond.getColumn(0, "todd"));
-
- // SMPAE00102_KU일일마감공통장표
- frmf_open("SMPAE00102", "SMPAE00102", "", "", "", "", "", "", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|