123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAD03100" position="absolute 0 0 1196 800" titletext="대금지급내역부출력" onload="SMRAD03100_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" anchor="left top right" taborder="8" class="div_SA" position="absolute 0 25 1195 65"/>
- <Static id="caption6" text="대금지급내역부출력" class="tit_1" position="absolute 0 0 160 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 266 37 347 54"/>
- <Calendar id="ipt_payym" taborder="3" class="input_default" position="absolute 350 36 435 55" mask="yyyy-mm-dd" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onkillfocus="ipt_payym_onkillfocus"/>
- <Static id="caption28" text="대금지급내역" class="tit_2" position="absolute 0 73 209 91"/>
- <Calendar id="input1" taborder="4" class="input_default" position="absolute 456 36 541 55" mask="yyyy-mm-dd" dateformat="yyyy-MM" editformat="yyyy-MM" onkillfocus="input1_onkillfocus"/>
- <Static id="caption1" text="~" position="absolute 441 36 456 56"/>
- <Static id="caption3" text="계정과목:" class="search_name" position="absolute 640 37 724 54"/>
- <Combo id="combo2" taborder="5" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 725 36 840 55"/>
- <Static id="caption4" text="~" position="absolute 845 36 860 56"/>
- <Combo id="combo3" taborder="6" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 865 36 980 55"/>
- <Button id="btn_search00" taborder="7" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 34 1186 56" anchor="right"/>
- <Shape id="line00" linetype="vertical" class="line_4" position="absolute 1117 32 1123 58" anchor="right"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Div id="grp_main" anchor="all" taborder="9" scrollbars="none" position="absolute 2 94 1194 799"/>
- </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_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>
- <Dataset id="ds_init_combo3_acntcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acntcd" type="STRING" size="256"/>
- <Column id="acntnm" type="STRING" size="256"/>
- </ColumnInfo>
- </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="input1" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item3" compid="combo2" propid="value" datasetid="ds_send" columnid="fromacntcd"/>
- <BindItem id="item4" compid="combo3" propid="value" datasetid="ds_send" columnid="toacntcd"/>
- </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 SMRAD03100_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
- var today = utlf_getCurrentDate();
- //var cur_yymm = parseInt(today.substring(0, 6));
- ds_send.setColumn(0, "fromdd", today);
- ds_send.setColumn(0, "todd", today);
-
- var oParam = {};
- oParam.id = "TRRAD01504";
- oParam.service = "slipapp.AccBook";
- oParam.method = "reqGetAcntcdAllList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_combo3_acntcmb=acntcmb";
- oParam.async = false;
- //oParam.callback = "cf_TRRAD01504";
- tranf_submit(oParam);
- cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRAD03101";
- oParam.service = "slipapp.AccBook";
- oParam.method = "reqGetDaekeumList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
- oParam.async = false;
- //oParam.callback = "cf_TRRAD03101";
- 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(["RPRAD03101"],[objParam], option, "", "grp_main");
- }
- function ipt_payym_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
- {
- ds_send.setColumn(0, "fromdd", obj.text);
- }
- function input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
- {
- ds_send.setColumn(0, "todd", obj.text);
- }
- ]]></Script>
- </Form>
- </FDL>
|