123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHS01500" position="absolute 0 0 1200 784" titletext="건진일평균인원현황" oninit="SMAHS01500_oninit" onload="SMAHS01500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 65" id="group2" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape position="absolute 1120 10 1126 32" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
- <Button position="absolute 1130 10 1186 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
- <Button position="absolute 967 10 1047 32" id="btn_excelsave" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
- <Button position="absolute 1061 10 1117 32" id="btn_prt" class="btn6" text="출력" anchor="top right" onclick="group2_btn_prt_onclick"/>
- <Shape position="absolute 1051 10 1057 32" linetype="vertical" id="line3" class="line_4" visible="false" anchor="default"/>
- <Static text="일자 :" position="absolute 235 12 308 29" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 302 11 407 30" id="ipt_fromdd" class="input_search" taborder="7" anchor="default" autoselect="true" autoskip="true"/>
- <Combo position="absolute 115 11 215 30" id="cmb_healexamflag" innerdataset="ds_init_baseinfo_srchhealexamflag_A0068" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="건진구분 :" position="absolute 25 12 112 29" id="caption7" class="search_name" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 72 1195 779" align="align:center middle;" id="grd_lidlst" binddataset="ds_main_lidlst_item" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="수납자 ID"/>
- <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="선수반환금액"/>
- </Band>
- <Band id="body">
- <Cell style="font:arial,9,bold;" text="bind:rcptrid"/>
- <Cell col="1" text="bind:rcptrnm"/>
- <Cell col="2" displaytype="number" text="bind:totamt"/>
- <Cell col="3" displaytype="number" text="bind:cashamt"/>
- <Cell col="4" displaytype="number" text="bind:onlineamt"/>
- <Cell col="5" displaytype="number" text="bind:cardamt"/>
- <Cell col="6" displaytype="number" text="bind:cmpyamt"/>
- <Cell col="7" displaytype="number" text="bind:ownamt"/>
- <Cell col="8" displaytype="number" text="bind:ownuncoamt"/>
- <Cell col="9" displaytype="number" text="bind:discamt"/>
- <Cell col="10" displaytype="number" text="bind:restamt"/>
- <Cell col="11" displaytype="number" text="bind:sunsuamt"/>
- <Cell col="12" displaytype="number" text="bind:sunsuretamt"/>
- </Band>
- <Band id="summary">
- <Cell displaytype="normal" style="align:center middle;background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="총계"/>
- <Cell col="1" displaytype="normal" style="background:#808080ff;background2:#808080ff;"/>
- <Cell col="2" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('totamt')"/>
- <Cell col="3" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
- <Cell col="4" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('onlineamt')"/>
- <Cell col="5" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
- <Cell col="6" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
- <Cell col="7" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownamt')"/>
- <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownuncoamt')"/>
- <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('discamt')"/>
- <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('restamt')"/>
- <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('sunsuamt')"/>
- <Cell col="12" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('sunsuretamt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption60" text="수납자별 수납현황" class="tit_1" position="absolute 0 0 183 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchinstcd"/>
- <Col id="srchdd"/>
- <Col id="srchhealexamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_lidlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rcptrid" type="STRING" size="256" sumtext="수납자 ID"/>
- <Column id="rcptrnm" type="STRING" size="256" sumtext="수납자 명"/>
- <Column id="totamt" type="STRING" size="256" sumtext="진료비총액"/>
- <Column id="cashamt" type="STRING" size="256" sumtext="현금입금액"/>
- <Column id="onlineamt" type="STRING" size="256" sumtext="통장입금액"/>
- <Column id="cardamt" type="STRING" size="256" sumtext="카드입금액"/>
- <Column id="cmpyamt" type="STRING" size="256" sumtext="단체부담금"/>
- <Column id="ownamt" type="STRING" size="256" sumtext="본인부담금"/>
- <Column id="ownuncoamt" type="STRING" size="256" sumtext="계정미수금"/>
- <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
- <Column id="restamt" type="STRING" size="256" sumtext="절사금액"/>
- <Column id="sunsuamt" type="STRING" size="256" sumtext="선수금액"/>
- <Column id="sunsuretamt" type="STRING" size="256" sumtext="선수반환금액"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_srchhealexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
- <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMAHS01500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHS01500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_lidlst);
-
- var arrParam = [{dsNm: "ds_init_baseinfo_srchhealexamflag_A0068", cdGrpId: "A0068"}]
- appf_getCodeList(arrParam);
- frmf_addComboItem("group2.cmb_healexamflag","전체","%","above");
-
- group2.cmb_healexamflag.index = 0;
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd"));
- ds_send.setColumn(0, "srchdd", utlf_getCurrentDate());
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRAHS01501";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetLidRcptList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_lidlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHS01501";
- tranf_submit(oParam);
- }
- function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/lidlst/item", ds_main_lidlst_item);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- objParam.srchdd = ds_send.getColumn(0, "srchdd").toDate().getDateFormat("YYYY/MM/DD");
-
- var option = "";
- rptf_exeReportPreview30(["RPAHS01501"],[objParam], option);
- }
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_lidlst, "excel", "SheetName", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|