123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAR00400" position="absolute 0 0 1201 805" titletext="가수금대장" oninit="SMRAR00400_oninit" onload="SMRAR00400_onload">
- <Layouts>
- <Layout>
- <Div id="grp_biz" anchor="all" taborder="4" position="absolute 0 121 1195 779">
- <Layouts>
- <Layout width="1195" height="658"/>
- </Layouts>
- </Div>
- <Static id="caption6" text="가수금대장" class="tit_1" position="absolute 0 0 177 25"/>
- <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 41 1195 81">
- <Layouts>
- <Layout>
- <Static id="caption22" text="지출일자:" class="search_name" position="absolute 20 10 105 27"/>
- <Calendar id="ipt_fromdd" taborder="1" class="input_default" position="absolute 105 10 210 29" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
- <Static id="output1" text="~" position="absolute 219 13 244 28"/>
- <Calendar id="ipt_todd" taborder="2" class="input_default" position="absolute 240 10 345 29" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 2 1123 36" anchor="top right"/>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 1130 9 1186 31" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="ipt_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 95 1195 114" anchor="top right" onclick="ipt_excsave_onclick"/>
- <Grid id="grd_main" taborder="3" binddataset="ds_main_maindatalist" useinputpanel="false" position="absolute 0 119 1085 309">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="전월이월" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="당월입금액" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="일자" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="당월상계액" taborder="undefined"/>
- <Cell col="4" colspan="3" text="상계내역" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="차월이월" taborder="undefined"/>
- <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:beforeamt"/>
- <Cell col="1" text="bind:currentmmamt"/>
- <Cell col="2" text="bind:sangmmdate"/>
- <Cell col="3" text="bind:sangmmamt"/>
- <Cell col="4" text="bind:sangacctid"/>
- <Cell col="5" text="bind:sangmmacctamt1"/>
- <Cell col="6" text="bind:sangmmacctamt"/>
- <Cell col="7" text="bind:afteramt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption28" text="가수금대장" class="tit_2" position="absolute 0 98 209 120"/>
- <Shape id="line193" linetype="horizontal" class="line_10" position="absolute 0 114 1195 120" radiusx="5" anchor="left top right"/>
- </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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- </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";
- function SMRAR00400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRAR00400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_main);
-
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option = null;
- rptf_exeReportPreview30(["SMRAR00601"],[objParam], option, "", "grp_biz")
-
- var today = utlf_getCurrentDate();
- var cur_yymmdd = parseInt(String(today).substring(0, 6))+"01";
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "fromdd", cur_yymmdd);
- ds_send.setColumn(0, "todd", today);
- grp_sea.ipt_fromdd.setFocus();
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRAR00401";
- oParam.service = "accountinginfoapp.AccountingInfo";
- oParam.method = "getGaamtDaejang";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_maindatalist=maindatalist";
- oParam.async = false;
- oParam.callback = "cf_TRRAR00401";
- tranf_submit(oParam);
- }
- function cf_TRRAR00401(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
- rptf_setNodeListToDOM(objDOM, "/root/main/maindatalist", ds_main_maindatalist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option = null;
- rptf_exeReportPreview30(["SMRAR00401"],[objParam], option, "", "grp_biz");
- }
- }
- function ipt_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- misfSaveExcel(grd_main);
- }
- ]]></Script>
- </Form>
- </FDL>
|