123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIR30220" position="absolute 0 0 530 331" titletext="부제기 사유코드" oninit="SPPIR30220_oninit" onload="SPPIR30220_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 299 519 326" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 461 3 517 25" id="btn_cancel" class="btn4" text="닫기" anchor="default" onclick="group1_btn_cancel_onclick"/>
- <Shape position="absolute 0 -2 518 4" linetype="horizontal" id="line88" class="line_6" anchor="default"/>
- <Button position="absolute 404 3 460 25" id="button2" class="btn4" text="저장" anchor="default" onclick="group1_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1 0 527 302" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 85 518 298" id="grd_pirmabdm" binddataset="ds_main_list01_gridpirmabdm" anchor="default" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="84"/>
- <Column size="319"/>
- <Column size="74"/>
- <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/>
- <Cell col="1" text="사유코드"/>
- <Cell col="2" text="부제기 TEXT"/>
- <Cell col="3" text="입력자"/>
- <Cell col="4" text="부제기구분"/>
- <Cell col="5" text="적용시작일자"/>
- <Cell col="6" text="기관코드"/>
- <Cell col="7" text="적용종료일자"/>
- <Cell col="8" text="최초등록일시"/>
- <Cell col="9" text="최종수정자ID"/>
- <Cell col="10" text="최종수정일시"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:abdresncd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:abdresntext"/>
- <Cell col="3" text="bind:fstrgstrid"/>
- <Cell col="4" text="bind:abdflag"/>
- <Cell col="5" text="bind:appfromdd"/>
- <Cell col="6" text="bind:instcd"/>
- <Cell col="7" text="bind:apptodd"/>
- <Cell col="8" text="bind:fstrgstdt"/>
- <Cell col="9" text="bind:lastupdtrid"/>
- <Cell col="10" text="bind:lastupdtdt"/>
- <Cell col="11" text="bind:useyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 24 518 58" align="align:center top;" id="group2" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 432 6 438 28" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Button position="absolute 450 6 506 28" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group3_group2_btn_search_onclick"/>
- <Static text="부제기구분 :" position="absolute 9 9 108 26" id="caption11" class="search_name" anchor="default"/>
- <Radio position="absolute 103 5 333 28" id="radio3" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">RT</Col>
- <Col id="datacolumn">이의신청 부제기</Col>
- </Row>
- <Row>
- <Col id="codecolumn">AP</Col>
- <Col id="datacolumn">반송 부제기</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static text="부제기 사유" position="absolute 1 64 112 82" id="caption8" class="tit_2" anchor="default"/>
- <Shape position="absolute 1 81 518 85" linetype="horizontal" id="line5" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Button position="absolute 465 61 518 80" id="btn_addRow" class="btn2" text="행추가" anchor="default" onclick="group3_btn_addRow_onclick"/>
- <Button position="absolute 409 61 462 80" id="btn_delRow" class="btn2" visible="false" text="행삭제" anchor="default" onclick="group3_btn_delRow_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="부제기 사유코드" class="tit_1" position="absolute 1 0 201 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="abdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="abdflag">RT</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list01_gridpirmabdm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="abdresncd" type="STRING" size="256" sumtext="사유코드"/>
- <Column id="abdresntext" type="STRING" size="256" sumtext="부제기TEXT"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="입력자"/>
- <Column id="abdflag" type="STRING" size="256" sumtext="부제기구분"/>
- <Column id="appfromdd" type="STRING" size="256" sumtext="적용시작일자"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="apptodd" type="STRING" size="256" sumtext="적용종료일자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.radio3" propid="value" datasetid="ds_send" columnid="abdflag"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SPPIR30220_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIR30220_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.grd_pirmabdm);
- grdf_setRowTypeIcon(group3.grd_pirmabdm, 0);
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRPIR30220";
- oParam.service = "cutmngtapp.CutMngt";
- oParam.method = "reqGetPirmAbdm";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
- oParam.async = false;
- //oParam.callback = "cf_TRPIR30220";
- tranf_submit(oParam);
- }
- function group3_btn_delRow_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelRow();
- }
- function group3_btn_addRow_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow();
- }
- function group1_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXPIR30220";
- oParam.service = "cutmngtapp.CutMngt";
- oParam.method = "reqExePirmAbdm";
- oParam.inds = "req=ds_main_list01_gridpirmabdm:U";
- oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
- oParam.async = false;
- //oParam.callback = "cf_TXPIR30220";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRPIR30220";
- oParam.service = "cutmngtapp.CutMngt";
- oParam.method = "reqGetPirmAbdm";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
- oParam.async = false;
- //oParam.callback = "cf_TRPIR30220";
- tranf_submit(oParam);
- }
- function fDelRow()
- {
- var cur_row = ds_main_list01_gridpirmabdm.rowposition;
-
- if(ds_main_list01_gridpirmabdm.getColumn(cur_row, "useyn") == "Y")
- {
- alert("이미 사용된 부제기 코드는 삭제할 수 없습니다");
- return;
- }
- if (sysf_messageBox("선택된 부제기사유 자료를", "Q001") != 6)
- {
- return;
- }
- if (cur_row > 0)
- {
- ds_main_list01_gridpirmabdm.deleteRow(cur_row);
- }
- }
- function fAddRow()
- {
- var abdflag = ds_send.getColumn(0, "abdflag");
- var curr_row = ds_main_list01_gridpirmabdm.addRow();
-
- ds_main_list01_gridpirmabdm.setColumn(curr_row, "abdflag", abdflag);
- return true;
- }
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|