123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPEA00102" position="absolute 0 0 178 500" titletext="통합 예약 담당자 관리" onload="SPPEA00102_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 171 23" style="" text="통합 예약 담당자 관리"/>
- <Grid id="grd_main" binddataset="ds_main_P0127list_P0127info" position="absolute 0 51 170 498" style="align:center ;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="ID"/>
- <Cell col="2" text="ID_bf"/>
- <Cell col="3" text="이름"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:cdid"/>
- <Cell col="2" text="bind:cdid_bf"/>
- <Cell col="3" text="bind:cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_add" class="btn2" position="absolute 42 27 84 46" style="" text="추가" onclick="btn_add_onclick"/>
- <Shape id="line6" class="line_10" linetype="horizontal" position="absolute 0 47 170 51" style="" anchor="default"/>
- <Button id="btn_del" class="btn2" position="absolute 85 27 127 46" style="" text="삭제" onclick="btn_del_onclick"/>
- <Button id="btn_save" class="btn2" position="absolute 128 27 170 46" style="" text="저장" onclick="btn_save_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_P0127list_P0127info" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdid_bf" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdid_bf"/>
- <Col id="cdnm"/>
- </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="updt" 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_P0127list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_updt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPPEA00102_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- // grdf_initGrid(this.grd_main);
- grdf_setRowTypeIcon(grd_main, 0);
- //submit("TRPEA00110");
- var oParam = {};
- oParam.id = "TRPEA00110";
- oParam.service = "pamexcuapp.PamExcu";
- oParam.method = "reqGetRsrvStaff";
- oParam.outds = "ds_main_P0127list_P0127info=P0127";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function btn_add_onclick(obj: Button, e: ClickEventInfo) {
- var aRow = ds_main_P0127list_P0127info.addRow();
- ds_main_P0127list_P0127info.rowposition = aRow;
- }
- function btn_del_onclick(obj: Button, e: ClickEventInfo) {
- var row = ds_main_P0127list_P0127info.rowposition;
- dsf_deleteSelectedRows(grd_main, true);
- }
- function btn_save_onclick(obj: Button, e: ClickEventInfo) {
- ds_send_updt.clearData();
- var updateDs = grdf_getGridUpdateData(grd_main, "all");
- grdf_setStatusColumn(updateDs, "status");
- ds_send_updt.copyData(updateDs, true);
- var oParam = {};
- oParam.id = "TXPEA00103";
- oParam.service = "pamexcuapp.PamExcu";
- oParam.method = "reqSetRsrvStaff";
- oParam.inds = "req=ds_send_updt";
- oParam.outds = "ds_main_P0127list_P0127info=P0127";
- oParam.transaction = false;
- oParam.async = false;
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|