123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRD01000" position="absolute 0 0 450 540" titletext="CA 등록번호 조회" oninit="SPMRD01000_oninit" onload="SPMRD01000_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 25 448 60" id="roundrect1" type="roundrectangle"/>
- <Button position="absolute 384 33 440 55" id="bnt_srch" class="btn1" text="조회" onclick="bnt_srch_onclick"/>
- <Shape position="absolute 372 33 378 55" linetype="vertical" id="line13" class="line_4"/>
- <Shape position="absolute 0 65 448 71" linetype="horizontal" id="line1" class="line_10"/>
- <Static text="미 입력된 CA 등록번호" position="absolute 0 70 448 95" align="align:center middle;" id="caption19" class="cell_1" style="align:center middle;"/>
- <Edit position="absolute 125 34 225 53" id="ipt_fromnum" class="input_essential" autoselect="true"/>
- <Grid position="absolute 0 97 448 503" id="grd_uncncrnolist" binddataset="ds_grd_uncncrnolist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="297"/>
- <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="CA 등록번호"/>
- <Cell col="2" text="cncrhistno"/>
- <Cell col="3" text="seqno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:cncrno"/>
- <Cell col="2" text="bind:cncrhistno"/>
- <Cell col="3" text="bind:seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="CA 등록번호 조회" position="absolute 0 0 138 25" id="caption6" class="tit_1"/>
- <Static text="~" position="absolute 230 34 250 54" id="caption1"/>
- <Edit position="absolute 248 34 348 53" id="ipt_tonum" class="input_essential" autoselect="true"/>
- <Static text="조회할 번호 :" position="absolute 5 35 115 52" id="caption8" class="search_name"/>
- <Button position="absolute 390 505 446 527" id="btn_excel" class="btn6" text="엑셀" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_uncncrnoinfo_uncncrnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cncrno" type="STRING" size="256"/>
- <Column id="cncrhistno" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cncrno"/>
- <Col id="cncrhistno"/>
- <Col id="seqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromnum" type="STRING" size="256"/>
- <Column id="tonum" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromnum"/>
- <Col id="tonum"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <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";
- var arErrorCode = new HashArray();
- function SPMRD01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- function SPMRD01000_onload(obj:Form, e:LoadEventInfo)
- {
-
- }
- function bnt_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromnum = utlf_transNullToEmpty(ds_cond.getColumn(0, "fromnum"));
- var tonum = utlf_transNullToEmpty(ds_cond.getColumn(0, "tonum"));
- if(fromnum.length >= 1){
- if(fromnum.length < 8){
- sysf_messageBox("조회할 번호 8자리를","C001");
- ipt_fromnum.setFocus();
- return;
- }else if(tonum.length < 8){
- sysf_messageBox("조회할 번호 8자리를","C001");
- ipt_tonum.setFocus();
- return;
- }
- }
- var oParam = {};
- oParam.id = "TRMRD00108";
- oParam.service = "dschanalyapp.CncrPatMngt";
- oParam.method = "reqGetUnCncrNoInfo";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_main_uncncrnoinfo_uncncrnolist=uncncrnolist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_uncncrnolist, "미입력된암등록번호" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- ]]></Script>
- </Form>
- </FDL>
|