123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAR01000" position="absolute 0 0 1197 805" titletext="대금지급내역" onload="SMRAR01000_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="6" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right"/>
- <Static id="caption6" text="대금지급내역" class="tit_1" position="absolute 0 0 120 25"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1130 35 1186 57" anchor="right" onclick="btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 34 1123 57" anchor="right"/>
- <Static id="caption22" text="지급기간:" class="search_name" position="absolute 13 37 98 54"/>
- <Static id="caption28" text="대금지급내역" class="tit_2" position="absolute 0 73 140 91"/>
- <Shape id="line193" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Calendar id="ipt_frdate" taborder="2" class="input_essential" position="absolute 100 36 208 55" mask="yyyy-mm-dd"/>
- <Static id="caption1" text="~" position="absolute 209 38 224 53"/>
- <Calendar id="ipt_todate" taborder="3" class="input_essential" position="absolute 220 36 329 55" mask="yyyy-mm-dd"/>
- <Grid id="grd_main" taborder="4" binddataset="ds_main_maindatalist" useinputpanel="false" visible="false" position="absolute 16 126 1179 284">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="140"/>
- <Column size="120"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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="금액"/>
- <Cell col="8" text="지급액"/>
- <Cell col="9" text="세금계산서일자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:ymdgive" mask="####-##-##"/>
- <Cell col="1" text="bind:gubun"/>
- <Cell col="2" displaytype="text" text="bind:pumno"/>
- <Cell col="3" displaytype="text" text="bind:acctid"/>
- <Cell col="4" displaytype="text" text="bind:acntpumnm"/>
- <Cell col="5" displaytype="text" text="bind:custname"/>
- <Cell col="6" displaytype="text" text="bind:rmrk"/>
- <Cell col="7" displaytype="number" text="bind:amt"/>
- <Cell col="8" displaytype="number" text="bind:jiamt"/>
- <Cell col="9" text="bind:sekeumdate" mask="####-##-##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="ipt_excsave" taborder="5" text="엑셀저장" class="btn7" position="absolute 1115 67 1195 89" anchor="right" onclick="ipt_excsave_onclick"/>
- <Div id="grp_main" anchor="all" taborder="7" scrollbars="none" position="absolute 2 95 1193 799"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="ymdgive" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="pumno" type="STRING" size="256"/>
- <Column id="acctid" type="STRING" size="256"/>
- <Column id="acntpumnm" type="STRING" size="256"/>
- <Column id="custname" type="STRING" size="256"/>
- <Column id="rmrk" type="STRING" size="256"/>
- <Column id="amt" type="STRING" size="256"/>
- <Column id="jiamt" type="STRING" size="256"/>
- <Column id="sekeumdate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ymdgive"/>
- <Col id="gubun"/>
- <Col id="pumno"/>
- <Col id="acctid"/>
- <Col id="acntpumnm"/>
- <Col id="custname"/>
- <Col id="rmrk"/>
- <Col id="amt"/>
- <Col id="jiamt"/>
- <Col id="sekeumdate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="frdate" type="STRING" size="256"/>
- <Column id="todate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="frdate"/>
- <Col id="todate"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_frdate" propid="value" datasetid="ds_send" columnid="frdate"/>
- <BindItem id="item1" compid="ipt_todate" propid="value" datasetid="ds_send" columnid="todate"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_paybnusmngtxp::RWP001.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRAR01000_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- ds_main_maindatalist.clearData();
- var today = utlf_getCurrentDate();
- ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn( 0, "frdate", today);
- ds_send.setColumn( 0, "todate", today);
- ipt_frdate.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- var oParam = {};
- oParam.id = "TRRAR01001";
- oParam.service = "accountinginfoapp.AccountingInfo";
- oParam.method = "getDaegumlist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_maindatalist=maindatalist";
- oParam.async = false;
- oParam.callback = "cf_TRRAR01001";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRRAR01001") > -1){
- //레포트명, 연계방법, 매개변수필드 XPath, SubmitID, 출력여부, 인쇄창 보임 여부, 저장타입, 파일명, 파일 저장창 보임여부, 미리보기창닫기여부, 모니터 번호, 부모객체명, 트레이번호, 데이터 소스, 툴바버튼보임여부, 프린트장수, 미리보기뷰어 비율, 출력시 선택 옵션, 데이터 XPath , 메인리포트 반복XPath, 서브리포트1 반복Xpath
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/maindatalist" , ds_main_maindatalist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["SMRAR01001"],[objParam], option, "", "grp_main");//, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
- }
- }
- function cf_TRRAR01001(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function ipt_excsave_onclick(obj:Button, e:ClickEventInfo) {
- misfSaveExcel(grd_main);
- }
- ]]></Script>
- </Form>
- </FDL>
|