123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRIM00100" position="absolute 0 0 1156 703" titletext="과제종류별 세목" onload="SMRIM00100_onload">
- <Layouts>
- <Layout>
- <Static id="caption10" class="tit_1" position="absolute 0 0 160 26" style="" text="과제종류별 세목"/>
- <Static id="caption_cdgrup_list" class="tit_2" position="absolute 0 29 118 45" style="" text="과제종류" anchor="left top"/>
- <Static id="caption1" class="tit_2" position="absolute 249 29 307 45" style="" text="분류"/>
- <Grid id="grd_acntlist" binddataset="ds_main_cond_acntinfo_acntlist" visible="true" position="absolute 0 55 245 700" style="align:center middle;" oncelldblclick="grd_acntlist_oncelldblclick" anchor="left top bottom" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="220"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="과제종류"/>
- <Cell col="1" text="acntcd"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:acntnm"/>
- <Cell col="1" text="bind:acntcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_detl" binddataset="ds_main_cond_acntdetinfo" position="absolute 249 55 1154 700" style="align:center ;" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="191"/>
- <Column size="231"/>
- <Column size="114"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="supacntcd2"/>
- <Cell col="4" text="supacntcd3"/>
- <Cell col="5" text="supacntcd4"/>
- <Cell col="6" text="supacntcd5"/>
- <Cell col="7" text="계정과목코드"/>
- <Cell col="8" text="목 코드"/>
- <Cell col="9" text="세목 코드"/>
- <Cell col="10" text="입출금 구분"/>
- <Cell col="11" text="금액코드"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lrgnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:left middle;" text="bind:mdlnm" taborder="0" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" text="bind:mdlcd" taborder="3" suppress="3" suppressalign="middle,over"/>
- <Cell col="3" text="bind:supacntcd2"/>
- <Cell col="4" text="bind:supacntcd3"/>
- <Cell col="5" text="bind:supacntcd4"/>
- <Cell col="6" text="bind:supacntcd5"/>
- <Cell col="7" text="bind:acntcd"/>
- <Cell col="8" text="bind:lrgcd"/>
- <Cell col="9" text="bind:mdlcd"/>
- <Cell col="10" text="bind:bizflag"/>
- <Cell col="11" text="bind:amtcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 0 50 246 53" style="" anchor="left top" type="rectangle"/>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 249 50 1153 53" style="" anchor="left top right" type="rectangle"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" position="absolute 312 26 422 46" style="" onitemchanged="radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">비용</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">수익</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button1" class="btn7" position="absolute 1084 30 1153 49" style="" text="Excel" onclick="button1_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond_acntdetinfo_acntdetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="supacnt2nm" type="STRING" size="256"/>
- <Column id="supacnt3nm" type="STRING" size="256"/>
- <Column id="supacnt4nm" type="STRING" size="256"/>
- <Column id="supacnt5nm" type="STRING" size="256"/>
- <Column id="acntnm" type="STRING" size="256"/>
- <Column id="lrgnm" type="STRING" size="256"/>
- <Column id="mdlnm" type="STRING" size="256"/>
- <Column id="supacntcd2" type="STRING" size="256"/>
- <Column id="supacntcd3" type="STRING" size="256"/>
- <Column id="supacntcd4" type="STRING" size="256"/>
- <Column id="supacntcd5" type="STRING" size="256"/>
- <Column id="acntcd" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="bizflag" type="STRING" size="256"/>
- <Column id="amtcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="supacnt2nm"/>
- <Col id="supacnt3nm"/>
- <Col id="supacnt4nm"/>
- <Col id="supacnt5nm"/>
- <Col id="acntnm"/>
- <Col id="lrgnm"/>
- <Col id="mdlnm"/>
- <Col id="supacntcd2"/>
- <Col id="supacntcd3"/>
- <Col id="supacntcd4"/>
- <Col id="supacntcd5"/>
- <Col id="acntcd"/>
- <Col id="lrgcd"/>
- <Col id="mdlcd"/>
- <Col id="bizflag"/>
- <Col id="amtcd"/>
- </Row>
- </Rows>
- </Dataset>
- <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>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_acntinfo_acntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="acntnm" type="STRING" size="256"/>
- <Column id="acntcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="acntnm"/>
- <Col id="acntcd"/>
- </Row>
- </Rows>
- </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>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_cond_acntdetinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_cond_acntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_resrchdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="resrchdept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="resrchdept"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bizflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bizflag">O</Col>
- </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="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="radio1" propid="value" datasetid="ds_main_cond" columnid="bizflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-01-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-01-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMRIM00100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grd_acntlist);
- grdf_initGrid(grd_detl);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- ds_send.clearData();
- dsf_makeValue( ds_send, "cdgrupid", "string", "I0011");
-
- var oParam = {};
- oParam.id = "TRRIM00110";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetAcntList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cond_acntinfo_acntlist=acntlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIM00110";
- tranf_submit(oParam);
- }
- function grd_acntlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- var cRow = ds_main_cond_acntinfo_acntlist.rowposition;
- ds_send.clearData();
- dsf_makeValue( ds_send, "acntcd", "string", ds_main_cond_acntinfo_acntlist.getColumn(cRow, "acntcd") );
- dsf_makeValue( ds_send, "bizflag", "string", ds_main_cond.getColumn(0, "bizflag") );
-
- var oParam = {};
- oParam.id = "TRRIM00120";
- oParam.service = "ctmsapp.StudyProjMngt";
- oParam.method = "reqGetAcntDetail";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cond_acntdetinfo=acntdetlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIM00120";
- tranf_submit(oParam);
- }
- function radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- grd_acntlist_oncelldblclick(grd_acntlist);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo) {
-
- if(ds_main_cond_acntdetinfo_acntdetlist.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- else
- {
- var sPrntDD = utlf_getCurrentDate();
- grdf_exportExcel(grd_detl, "과제종류별 세목", "see");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|