123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAD02900" position="absolute 0 0 1196 800" titletext="외상/미지급명세서(집계표)" onload="SMRAD02900_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" anchor="left top right" taborder="5" class="div_SA" position="absolute 0 25 1195 65"/>
- <Static id="caption6" text="외상/미지급명세서(집계표)" class="tit_1" position="absolute 0 0 200 25"/>
- <Static id="cap_payinst" text="소속기관:" class="search_name" position="absolute 15 37 101 54"/>
- <Combo id="cmb_instcd" taborder="2" class="combo_essential" enable="false" position="absolute 96 36 221 55"/>
- <Static id="caption22" text="회계년도:" class="search_name" position="absolute 281 37 362 54"/>
- <Calendar id="ipt_payym" taborder="3" class="input_default" position="absolute 365 36 446 55" mask="yyyy" dateformat="yyyy" editformat="yyyy" value="null" onkillfocus="ipt_payym_onkillfocus"/>
- <Static id="caption28" text="외상/미지급내역" class="tit_2" position="absolute 0 73 217 91"/>
- <Static id="caption2" text="미지급계정:" class="search_name" position="absolute 515 37 609 54"/>
- <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 615 36 740 55" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">21110100</Col>
- <Col id="datacolumn">외상매입금</Col>
- </Row>
- <Row>
- <Col id="codecolumn">21130000</Col>
- <Col id="datacolumn">미지급금</Col>
- </Row>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Div id="grp_main" anchor="all" taborder="6" scrollbars="none" position="absolute 2 94 1194 799"/>
- <Button id="btn_search00" taborder="7" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 35 1186 57" anchor="right"/>
- <Shape id="line00" linetype="vertical" class="line_4" position="absolute 1117 33 1123 59" anchor="right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="acntcd" type="STRING" size="256"/>
- <Column id="fromacntcd" type="STRING" size="256"/>
- <Column id="toacntcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="instcd"/>
- <Col id="acntcd"/>
- <Col id="fromacntcd"/>
- <Col id="toacntcd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item1" compid="ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item2" compid="combo1" propid="value" datasetid="ds_send" columnid="acntcd"/>
- </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_paybaseinfomngtxp::RWC001.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRAD02900_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
-
- var today = utlf_getCurrentDate();
- var cur_yy = parseInt(today.substring(0, 4));
-
- ds_send.setColumn(0, "fromdd", cur_yy);
- cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRAD02901";
- oParam.service = "slipapp.AccBook";
- oParam.method = "reqGetCredit2List";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
- oParam.async = false;
- //oParam.callback = "cf_TRRAD02901";
- tranf_submit(oParam);
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/grnt/grntlist1" , ds_main_grnt_grntlist1);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPRAD02901"],[objParam], option, "", "grp_main");
- }
- function ipt_payym_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
- {
- ds_send.setColumn(0, "fromdd", obj.text);
- }
- ]]></Script>
- </Form>
- </FDL>
|