123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPAS00710" position="absolute 0 0 803 784" titletext="미수금 입금현황" onload="SPPAS00710_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 800 62" id="grp" class="div_SA">
- <Layouts>
- <Layout width="800" height="37">
- <Button position="absolute 730 7 786 29" id="btn_search" class="btn1" text="조회" onclick="grp_btn_search_onclick"/>
- <Shape position="absolute 717 7 723 29" linetype="vertical" id="line1" class="line_4" visible="true"/>
- <Static text="입금기간 :" position="absolute 10 10 101 27" id="caption4" class="search_name"/>
- <Calendar position="absolute 102 9 207 28" id="input1" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true"/>
- <Static text="~" position="absolute 212 11 224 26" align="align:center middle;" id="caption1"/>
- <Calendar position="absolute 229 9 334 28" id="input2" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="입금현황" position="absolute 0 67 111 83" id="caption2" class="tit_2"/>
- <Grid position="absolute 0 86 800 782" align="align:center middle;" id="datagrid1" binddataset="ds_uncorcptamt" autofittype="col" cellsizingtype="both" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="2" text="미수번호" taborder="undefined"/>
- <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 celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:uncocd"/>
- <Cell col="2" style="align:center middle;" text="bind:unconm"/>
- <Cell col="3" style="align:center middle;" text="bind:pid"/>
- <Cell col="4" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="5" displaytype="date" style="align:center middle;" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="number" style="align:right middle;padding:0 4 0 0;" text="bind:rcptamt"/>
- <Cell col="7" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 720 65 800 84" id="button1" class="btn7" text="엑셀저장" onclick="button1_onclick"/>
- <Static id="caption60" text="미수금 입금내역" class="tit_1" position="absolute 0 0 160 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_uncorcptamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="uncocd" type="STRING"/>
- <Column id="unconm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rcptexecdd" type="STRING"/>
- <Column id="rcptamt" type="STRING"/>
- <Column id="rem" type="STRING"/>
- </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"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp.input2" propid="value" datasetid="ds_send" columnid="todd"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
-
-
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SPPAS00710_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기회
- frmf_initForm(obj);
-
- ds_send.setColumn(0, 'fromdd', utlf_getCurrentDate());
- ds_send.setColumn(0, 'todd', utlf_getCurrentDate());
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
- var oParam = {};
- oParam.id = "TRPAS00800";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetRcptList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_uncorcptamt=uncorcptamt";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument :
- * Description : 엑셀저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(datagrid1, 'excel', 'SheetName', true, '', 'user', true);
- }
- ]]></Script>
- </Form>
- </FDL>
|