SPMRD01000_CA등록번호조회.xfdl 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRD01000" position="absolute 0 0 450 540" titletext="CA 등록번호 조회" oninit="SPMRD01000_oninit" onload="SPMRD01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 0 25 448 60" id="roundrect1" type="roundrectangle"/>
  8. <Button position="absolute 384 33 440 55" id="bnt_srch" class="btn1" text="조회" onclick="bnt_srch_onclick"/>
  9. <Shape position="absolute 372 33 378 55" linetype="vertical" id="line13" class="line_4"/>
  10. <Shape position="absolute 0 65 448 71" linetype="horizontal" id="line1" class="line_10"/>
  11. <Static text="미 입력된 CA 등록번호" position="absolute 0 70 448 95" align="align:center middle;" id="caption19" class="cell_1" style="align:center middle;"/>
  12. <Edit position="absolute 125 34 225 53" id="ipt_fromnum" class="input_essential" autoselect="true"/>
  13. <Grid position="absolute 0 97 448 503" id="grd_uncncrnolist" binddataset="ds_grd_uncncrnolist">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="24"/>
  18. <Column size="297"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. </Rows>
  26. <Band id="head">
  27. <Cell/>
  28. <Cell col="1" text="CA 등록번호"/>
  29. <Cell col="2" text="cncrhistno"/>
  30. <Cell col="3" text="seqno"/>
  31. </Band>
  32. <Band id="body">
  33. <Cell celltype="head" expr="expr:currow + 1"/>
  34. <Cell col="1" text="bind:cncrno"/>
  35. <Cell col="2" text="bind:cncrhistno"/>
  36. <Cell col="3" text="bind:seqno"/>
  37. </Band>
  38. </Format>
  39. </Formats>
  40. </Grid>
  41. <Static text="CA 등록번호 조회" position="absolute 0 0 138 25" id="caption6" class="tit_1"/>
  42. <Static text="~" position="absolute 230 34 250 54" id="caption1"/>
  43. <Edit position="absolute 248 34 348 53" id="ipt_tonum" class="input_essential" autoselect="true"/>
  44. <Static text="조회할 번호 :" position="absolute 5 35 115 52" id="caption8" class="search_name"/>
  45. <Button position="absolute 390 505 446 527" id="btn_excel" class="btn6" text="엑셀" onclick="btn_excel_onclick"/>
  46. </Layout>
  47. </Layouts>
  48. <Objects>
  49. <Dataset id="ds_main_uncncrnoinfo_uncncrnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  50. <ColumnInfo>
  51. <Column id="cncrno" type="STRING" size="256"/>
  52. <Column id="cncrhistno" type="STRING" size="256"/>
  53. <Column id="seqno" type="STRING" size="256"/>
  54. </ColumnInfo>
  55. <Rows>
  56. <Row>
  57. <Col id="cncrno"/>
  58. <Col id="cncrhistno"/>
  59. <Col id="seqno"/>
  60. </Row>
  61. </Rows>
  62. </Dataset>
  63. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  64. <ColumnInfo>
  65. <Column id="fromnum" type="STRING" size="256"/>
  66. <Column id="tonum" type="STRING" size="256"/>
  67. </ColumnInfo>
  68. <Rows>
  69. <Row>
  70. <Col id="fromnum"/>
  71. <Col id="tonum"/>
  72. </Row>
  73. </Rows>
  74. </Dataset>
  75. </Objects>
  76. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  77. * System Name :
  78. * Job Name :
  79. * Creator :
  80. * Make Date : 2015-11-13
  81. * Description :
  82. *---------------------------------------------------------------------------------------
  83. * Modify Date Modifier Modify Description
  84. *---------------------------------------------------------------------------------------
  85. * 2015-11-13 Live Converter TF->XP
  86. *
  87. *---------------------------------------------------------------------------------------
  88. ****************************************************************************************/
  89. include "com_commonxp::comm_main.xjs";
  90. var arErrorCode = new HashArray();
  91. function SPMRD01000_oninit(obj:Form, e:InitEventInfo)
  92. {
  93. frmf_initForm(obj); //폼 초기화
  94. }
  95. function SPMRD01000_onload(obj:Form, e:LoadEventInfo)
  96. {
  97. }
  98. function bnt_srch_onclick(obj:Button, e:ClickEventInfo)
  99. {
  100. var fromnum = utlf_transNullToEmpty(ds_cond.getColumn(0, "fromnum"));
  101. var tonum = utlf_transNullToEmpty(ds_cond.getColumn(0, "tonum"));
  102. if(fromnum.length >= 1){
  103. if(fromnum.length < 8){
  104. sysf_messageBox("조회할 번호 8자리를","C001");
  105. ipt_fromnum.setFocus();
  106. return;
  107. }else if(tonum.length < 8){
  108. sysf_messageBox("조회할 번호 8자리를","C001");
  109. ipt_tonum.setFocus();
  110. return;
  111. }
  112. }
  113. var oParam = {};
  114. oParam.id = "TRMRD00108";
  115. oParam.service = "dschanalyapp.CncrPatMngt";
  116. oParam.method = "reqGetUnCncrNoInfo";
  117. oParam.inds = "req=ds_cond";
  118. oParam.outds = "ds_main_uncncrnoinfo_uncncrnolist=uncncrnolist";
  119. oParam.async = false;
  120. tranf_submit(oParam);
  121. }
  122. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  123. {
  124. grdf_exportExcel(grd_uncncrnolist, "미입력된암등록번호" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  125. }
  126. ]]></Script>
  127. </Form>
  128. </FDL>