123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAHA00801" position="absolute 0 0 565 737" titletext="추가/재검/타과의뢰/연장 선택" oninit="SPAHA00801_oninit" onload="SPAHA00801_onload">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="0" class="div_SA2" position="absolute 0 0 560 40">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 490 7 546 29" onclick="group2_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" position="absolute 471 5 477 29"/>
- <Static id="cap_srchpkgflag" text="검색구분 :" class="search_name" position="absolute 6 12 92 29"/>
- <Radio id="rdo_srchpkgflag" taborder="2" columncount="8" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 82 10 466 30" onitemchanged="group2_rdo_srchpkgflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">추가</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">재검</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">타과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">연장</Col>
- </Row>
- <Row>
- <Col id="codecolumn">G</Col>
- <Col id="datacolumn">유소견</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">전화</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">방문</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 44 560 50"/>
- <Grid id="grd_etclst" taborder="1" binddataset="ds_main_detlcodelst_item" useinputpanel="false" position="absolute 0 49 560 704" autoenter="select" cellsizingtype="col" oncelldblclick="grd_etclst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="165"/>
- <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="etccd"/>
- <Cell col="2" text="etcdetlcdkey"/>
- <Cell col="3" text="코드"/>
- <Cell col="4" text="상세코드명"/>
- <Cell col="5" text="기타1"/>
- <Cell col="6" text="기타2"/>
- <Cell col="7" text="적용여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:etccd"/>
- <Cell col="2" text="bind:etcdetlcdkey"/>
- <Cell col="3" edittype="none" style="align:left middle;padding:0 0 0 10;" text="bind:etcdetlcd" enable="true"/>
- <Cell col="4" edittype="none" style="align:left middle;padding:0 0 0 10;" text="bind:etcdetlnm" enable="true"/>
- <Cell col="5" displaytype="none" edittype="none" text="bind:etcitemcnts"/>
- <Cell col="6" displaytype="none" edittype="none" text="bind:etcitemcnts2"/>
- <Cell col="7" displaytype="checkbox" edittype="checkbox" text="bind:useyn" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cfm" taborder="2" text="확인" class="btn4" position="absolute 445 709 501 731" onclick="btn_cfm_onclick"/>
- <Button id="button9" taborder="3" text="취소" class="btn4" position="absolute 504 709 560 731" onclick="button9_onclick"/>
- </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="clscd" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="etcitemcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clscd">G</Col>
- <Col id="etccd">G20</Col>
- <Col id="etcitemcnts">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="etcdetlcdkey" type="STRING" size="256" sumtext="상세코드키"/>
- <Column id="etcdetlcd" type="STRING" size="256" sumtext="상세코드"/>
- <Column id="etccd" type="STRING" size="256" sumtext="코드"/>
- <Column id="etcdetlnm" type="STRING" size="256" sumtext="상세코드명"/>
- <Column id="etcitemcnts" type="STRING" size="256" sumtext="기타1"/>
- <Column id="etcitemcnts2" type="STRING" size="256" sumtext="기타2"/>
- <Column id="etcitemcnts3" type="STRING" size="256" sumtext="기타3"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부 "/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.rdo_srchpkgflag" propid="value" datasetid="ds_send" columnid="etcitemcnts"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPAHA00801_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPAHA00801_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_etclst);
-
- var flag = opener.frmf_getParameter("SPAHA00801_FLAG");
- if(!utlf_isNull(flag))
- {
- group2.rdo_srchpkgflag.value = flag;
- }
- else
- {
- group2.rdo_srchpkgflag.index = 0;
- }
- group2.btn_search.click();
- }
- function group2_rdo_srchpkgflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group2.btn_search.click();
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDetlCodeList();
- }
- function fGetDetlCodeList()
- {
- ds_main_detlcodelst_item.clearData();
- var oParam = {};
- oParam.id = "TRAHB00602";
- oParam.service = "healexambaseapp.EtcCode";
- oParam.method = "reqGetDetlCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_detlcodelst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB00602";
- tranf_submit(oParam);
-
- ds_main_detlcodelst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_detlcodelst_item, "sel:N");
- ds_main_detlcodelst_item.updatecontrol = true;
- }
- function grd_etclst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fSetData();
- }
- function fSetData()
- {
- var receiveref = eval("opener.ds_main_detlcodelst_item");
- var receiveref2 = eval("opener.ds_temp");
-
- opener.dsf_makeValue(receiveref, "aftype", "string", ds_main_detlcodelst_item.getColumn(ds_main_detlcodelst_item.rowposition,"etcitemcnts"), 0);
- opener.dsf_makeValue(receiveref, "etcdetlcd", "string", ds_main_detlcodelst_item.getColumn(ds_main_detlcodelst_item.rowposition,"etcdetlcd"), 0);
- opener.dsf_makeValue(receiveref, "etcdetlnm", "string", ds_main_detlcodelst_item.getColumn(ds_main_detlcodelst_item.rowposition,"etcdetlnm"), 0);
- opener.dsf_makeValue(receiveref2, "okflag", "string", "ok", 0);
-
- this.close();
- }
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- if(frmf_checkOpener())
- {
- var receiveref2 = eval("opener.ds_temp");
- opener.dsf_makeValue(receiveref2, "okflag", "string", "", 0);
- }
- this.close();
- }
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetData();
- }
- ]]></Script>
- </Form>
- </FDL>
|