123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF31900" position="absolute 0 0 1202 762" titletext="Untitle" oninit="SMPIF31900_oninit" onload="SMPIF31900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1199 754" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Tab position="absolute 1 78 1195 741" id="switch1" class="sw_box" anchor="all" onchanged="grp_biz_switch1_onchanged">
- <Tabpages>
- <Tabpage text="일자별 가수금내역" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 5 7 1189 630" id="grd_depoamt1" class="datagrid2" binddataset="ds_main_griddepoamt1" autofittype="col" anchor="all" onkeydown="grp_biz_switch1_case1_grd_depoamt1_onkeydown" selecttype="multirow" onkeyup="grp_biz_switch1_case1_grd_depoamt1_onkeyup" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="19"/>
- <Column size="110"/>
- <Column size="91"/>
- <Column size="82"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="170"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1"/>
- <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="입금금액"/>
- </Band>
- <Band id="body">
- <Cell displaytype="none" edittype="none" text="bind:depoflag2"/>
- <Cell col="1" celltype="head" expr="currow+1"/>
- <Cell col="2" displaytype="expr:acntcd == '소계' ? 'nomal' : 'date'" style="align:center;" text="bind:depodd"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:center;" text="bind:acptno"/>
- <Cell col="4" text="bind:judgdg"/>
- <Cell col="5" displaytype="expr:getRowLevel(currow)==1 ? 'text' : 'combo'" edittype="none" style="align:center middle;" text="bind:clamtypecd" combodataset="ds_init_P0103list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6" displaytype="normal" edittype="none" style="align:center;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:depoflagnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center;" text="bind:bankcd" combodataset="ds_init_R0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="8" displaytype="normal" edittype="none" style="align:center;font:EXPR(acntcd == '소계' ? 'dotum,9,bold' : '');" text="bind:acntcd"/>
- <Cell col="9" displaytype="number" style="align:right middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:depoamt"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8" style="align:center middle;font:arial,9,bold;" text="총합계"/>
- <Cell col="9" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('depoamt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="접수번호별 가수금내역" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 5 7 1189 630" id="grd_depoamt2" class="datagrid2" binddataset="ds_main_griddepoamt2" autofittype="col" anchor="all" onkeydown="grp_biz_switch1_case2_grd_depoamt2_onkeydown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="110"/>
- <Column size="112"/>
- <Column size="197"/>
- <Column size="174"/>
- </Columns>
- <Rows>
- <Row size="31" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </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" expr="currow+1"/>
- <Cell col="1" style="align:center;" text="bind:acptno"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center;" text="bind:bankcd" combodataset="ds_init_R0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center;" text="bind:acntcd"/>
- <Cell col="4" displaytype="number" style="align:right middle;" text="bind:depoamt"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3" style="align:center middle;font:arial,9,bold;" text="총합계"/>
- <Cell col="4" displaytype="number" style="align:right middle;font:arial,9,bold;" text="expr:getSum('depoamt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div position="absolute 1 11 1195 71" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1111 18 1167 40" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
- <Shape position="absolute 1081 18 1087 40" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Static text="보험유형" position="absolute 316 22 402 39" align="align:center top;" id="caption4" class="search_name" anchor="default"/>
- <Calendar position="absolute 85 20 182 39" id="ipt_fromdd" class="input_s_essential" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Calendar position="absolute 202 20 299 39" id="ipt_todd" class="input_s_essential" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Static text="~" position="absolute 186 23 201 38" id="caption7" anchor="default"/>
- <Static text="내원유형" position="absolute 612 22 698 39" align="align:center top;" id="caption8" class="search_name" anchor="default"/>
- <Radio position="absolute 682 18 816 41" id="rdo_ioflag" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_ioflag"/>
- <Radio position="absolute 386 18 602 41" id="rdo_insukind" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_insukind" onitemclick="grp_biz_grp_sea_rdo_insukind_onitemclick"/>
- <Static text="입금일자" position="absolute 15 21 101 38" align="align:center top;" id="caption3" class="search_name" anchor="default"/>
- <Radio position="absolute 880 14 1081 45" id="rdo_selectflag" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" anchor="default" innerdataset="@ds_rdo_selectflag" onitemchanged="grp_biz_grp_sea_rdo_selectflag_onitemchanged"/>
- <Static text="구분" position="absolute 836 22 887 39" align="align:center top;" id="caption1" class="search_name" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1114 78 1194 97" id="button4" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button4_onclick"/>
- <Button position="absolute 1063 78 1113 97" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
- <Button position="absolute 927 78 1062 97" id="button3" class="btn6" text="가수금입금내역출력" anchor="top right" onclick="grp_biz_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="가수금내역" class="tit_1" position="absolute 1 0 225 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_griddepoamt1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depodd" type="STRING" size="256" prop="NONE" sumtext="입금일자"/>
- <Column id="depoflagnm" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
- <Column id="banknm" type="STRING" size="256" sumtext="입금은행명"/>
- <Column id="acntcd" type="STRING" size="256" prop="NONE"/>
- <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금금액" prop="SUM"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="depoflag2" type="STRING" size="256" sumtext="입금구분2" prop="TEXT"/>
- <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
- <Column id="clamtypecd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_griddepoamt2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
- <Column id="banknm" type="STRING" size="256" sumtext="입금은행"/>
- <Column id="acntcd" type="STRING" size="256" sumtext="계좌번호"/>
- <Column id="depoamt" type="STRING" size="256" sumtext="입금금액"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" 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="clamflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="selectflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insukind">11</Col>
- <Col id="ioflag">A</Col>
- <Col id="selectflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rdo_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">보험</Col>
- <Col id="value">11</Col>
- </Row>
- <Row>
- <Col id="label">보호</Col>
- <Col id="value">21</Col>
- </Row>
- <Row>
- <Col id="label">산재</Col>
- <Col id="value">41</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">99</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rdo_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rdo_selectflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일자별</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">일자별sum</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">접수번호</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0266list" 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>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_R0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_bankinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_print_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchym" type="STRING" size="256"/>
- <Column id="rexid" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="acntno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp_reqGetSpsRptPrntList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="days" type="STRING" size="256" sumtext=""/>
- <Column id="bsdp1intotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdp1ottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdpdisaintotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdpdisaottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="mcdpintotamt" type="STRING" size="256" sumtext=""/>
- <Column id="mcdpottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="mcdpdisaintotamt" type="STRING" size="256" sumtext=""/>
- <Column id="mcdpdisaottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdp2intotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdp2ottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdpetcintotamt" type="STRING" size="256" sumtext=""/>
- <Column id="bsdpetcottotamt" type="STRING" size="256" sumtext=""/>
- <Column id="dispseq" type="STRING" size="256" sumtext=""/>
- <Column id="totamt" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_griddepoamt1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depodd" type="STRING" size="256" prop="NONE" sumtext="입금일자"/>
- <Column id="depoflagnm" type="STRING" size="256" sumtext="입금구분"/>
- <Column id="bankcd" type="STRING" size="256" sumtext="입금은행"/>
- <Column id="banknm" type="STRING" size="256" sumtext="입금은행명"/>
- <Column id="acntcd" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="입금금액" prop="SUM"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="depoflag2" type="STRING" size="256" sumtext="입금구분2" prop="TEXT"/>
- <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0103list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.rdo_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.rdo_selectflag" propid="value" datasetid="ds_send" columnid="selectflag"/>
- </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";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SMPIF31900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF31900_onload(obj:Form, e:LoadEventInfo)
- {
- var arrParam = [{dsNm: "ds_init_P0266list", cdGrpId: "P0266"}
- ,{dsNm: "ds_init_R0001list", cdGrpId: "R0001"}
- ,{dsNm: "ds_init_P0103list", cdGrpId: "P0103"}]
-
- appf_getCodeList(arrParam);
-
- pamGetDeptCDDrIDList();
-
- var oParam = {};
- oParam.id = "TRPIF30309";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetBankInfoSrch";
- oParam.inds = "";
- oParam.outds = "ds_init_bankinfolist=bankinfolist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF30309";
- tranf_submit(oParam);
-
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
-
- grp_biz.grp_sea.ipt_fromdd.setFocus();
- }
- function grp_biz_grp_sea_rdo_selectflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(grp_biz.grp_sea.rdo_selectflag.value == "1" )
- {
- grp_biz.switch1.tabindex = 0;
- }
- else if(grp_biz.grp_sea.rdo_selectflag.value == "2" )
- {
- grp_biz.switch1.tabindex = 0;
- }
- else if(grp_biz.grp_sea.rdo_selectflag.value == "3" )
- {
- grp_biz.switch1.tabindex = 1;
- }
- }
- //조회
- function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(grp_biz.grp_sea.ipt_fromdd.value) || utlf_isNull(grp_biz.grp_sea.ipt_todd.value))
- {
- sysf_messageBox("시작일과 종료일은","I003");
- grp_biz.grp_sea.ipt_fromdd.setFocus();
- return false;
- }
-
- var oParam = {};
- oParam.id = "TRPIF31901";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetDepoamtByDepodd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_griddepoamt1=griddepoamt1 ds_main_griddepoamt2=griddepoamt2";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF31901";
- tranf_submit(oParam);
- if(grp_biz.grp_sea.rdo_selectflag.value == "1")
- {
- grp_biz.switch1.tabindex = 0;
-
- ds_main_griddepoamt1.keystring= "G:depoflag2";
- }
- else if(grp_biz.grp_sea.rdo_selectflag.value == "2")
- {
- grp_biz.switch1.tabindex = 0;
-
- ds_main_griddepoamt1.keystring= "G:depoflag2";
- }
- else if(grp_biz.grp_sea.rdo_selectflag.value == "3")
- {
- grp_biz.switch1.tabindex = 1;
- }
- }
- function grp_biz_switch1_case1_grd_depoamt1_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey && e.keycode == 67)
- {
- grdf_clipboardCopy(grp_biz.switch1.case1.grd_depoamt1, "PAM");
- }
- }
- function grp_biz_switch1_case2_grd_depoamt2_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey && e.keycode == 67)
- {
- grdf_clipboardCopy(grp_biz.switch1.case2.grd_depoamt2, "PAM");
- }
- }
- //엑셀저장
- function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- if(mm < 10)
- {
- mm = "0" + mm ;
- }
- else
- {
- mm = mm + "" ;
- }
-
- if(dd < 10)
- {
- dd = "0" + dd ;
- }
- else
- {
- dd = dd + "" ;
- }
-
- var tmp = yy + mm + dd;
-
- if(grp_biz.grp_sea.rdo_selectflag.value == 1)
- {
- if (ds_main_griddepoamt1.rowcount > 0)
- {
- grdf_exportExcel(grp_biz.switch1.case1.grd_depoamt1, "일자별 가수금내역_"+tmp, "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
-
- else if(grp_biz.grp_sea.rdo_selectflag.value == 2)
- {
- if (ds_main_griddepoamt1.rowcount > 0)
- {
- grdf_exportExcel(grp_biz.switch1.case1.grd_depoamt1, "일자별sum 가수금내역_"+tmp, "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
- else if(grp_biz.grp_sea.rdo_selectflag.value == 3)
- {
- if (ds_main_griddepoamt2.rowcount > 0)
- {
- grdf_exportExcel(grp_biz.switch1.case2.grd_depoamt2, "접수번호별 가수금내역_"+tmp, "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
- }
- //가수금입금내역출력
- function grp_biz_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_print_send.setColumn(0, "rexid", "RPPIF31901");
- ds_print_send.setColumn(0, "userid", sysf_getUserId());
-
- var srchym = ds_send.getColumn(0, "fromdd");
-
- var str_srchym = String(srchym);
-
- ds_print_send.setColumn(0, "srchym", str_srchym.substr(0, 6));
-
- var cnt = ds_init_bankinfolist.rowcount;
- var bankacount;
-
- for(var i = 0; i < cnt; i++)
- {
- if(ds_init_bankinfolist.getColumn(i, "cdid") == "20")
- {
- bankacount = ds_init_bankinfolist.getColumn(i, "cdnm");
-
- break;
- }
- }
-
- ds_print_send.setColumn(0, "acntno", bankacount);
-
- var oParam = {};
- oParam.id = "TRPIF31902";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetSpsRptPrntList";
- oParam.inds = "req=ds_print_send";
- oParam.outds = "ds_tmp_reqGetSpsRptPrntList=reqGetSpsRptPrntList";
- oParam.async = false;
- oParam.callback = "cf_TRPIF31902";
- tranf_submit(oParam);
- }
- function cf_TRPIF31902()
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/prntlist/reqGetSpsRptPrntList", ds_tmp_reqGetSpsRptPrntList);
- rptf_setNodeListToDOM(objDOM, "/root/print/send", ds_print_send);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPPIF31901"],[objParam], option);
- }
- //출력
- function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_temp_griddepoamt1.clearData();
-
- if(grp_biz.switch1.tabindex == 0)
- {
- for(var i = 0; i < ds_main_griddepoamt1.rowcount; i++)
- {
- if(!utlf_isNull(ds_main_griddepoamt1.getColumn(i, "depodd")))
- {
- var row = ds_temp_griddepoamt1.addRow();
-
- ds_temp_griddepoamt1.copyRow(row, ds_main_griddepoamt1, i);
- }
- }
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepoamt1", ds_temp_griddepoamt1);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF31900"],[objParam], option);
- }
- else if(grp_biz.switch1.tabindex == 1)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/list01/griddepoamt2", ds_main_griddepoamt2);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF31910"],[objParam], option);
- }
- }
- function grp_biz_grp_sea_rdo_insukind_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|