SPPID22800_재청구차액발생사유관리.xfdl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPID23100" position="absolute 0 0 247 221" titletext="급비변경관리" oninit="model1_oninit" onload="SPPID23100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="재청구 차액발생 사유" class="tit_2" position="absolute 0 32 205 52" positiontype="position"/>
  8. <Grid id="grd_P0246" taborder="2" useinputpanel="false" onkeydown="grd_P0246_onkeydown" position="absolute 0 51 243 192" autofittype="col" anchor="all" binddataset="ds_grid_grd_P0246" positiontype="position" oncelldblclick="grd_P0246_oncelldblclick" cellsizingtype="col">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="45"/>
  13. <Column size="158"/>
  14. </Columns>
  15. <Rows>
  16. <Row size="22" band="head"/>
  17. <Row size="20"/>
  18. </Rows>
  19. <Band id="head">
  20. <Cell text="코드"/>
  21. <Cell col="1" text="코드명"/>
  22. </Band>
  23. <Band id="body">
  24. <Cell style="align:center middle;" text="bind:cdid"/>
  25. <Cell col="1" style="align:left middle;" text="bind:cdnm"/>
  26. <Cell col="2"/>
  27. </Band>
  28. </Format>
  29. </Formats>
  30. </Grid>
  31. <Button id="btn_confirm" taborder="3" text="확인" onlbuttonup="btn_confirm_onlbuttonup" class="btn5" position="absolute 153 194 197 214" anchor="right bottom" visible="true" positiontype="position" onclick="btn_confirm_onclick"/>
  32. <Static id="caption00" text="재청구 차액발생 사유" class="tit_1" position="absolute 0 0 177 26"/>
  33. <Button id="Button00" taborder="4" text="닫기" class="btn2" position="absolute 198 194 242 214" anchor="right bottom" onclick="Button00_onclick"/>
  34. </Layout>
  35. </Layouts>
  36. <Objects>
  37. <Dataset id="ds_grid_grd_P0246" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  38. <ColumnInfo>
  39. <Column id="cdid" type="STRING"/>
  40. <Column id="cdnm" type="STRING"/>
  41. </ColumnInfo>
  42. </Dataset>
  43. <Dataset id="ds_init_P0246" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  44. <ColumnInfo>
  45. <Column id="cdid" type="STRING" size="256"/>
  46. <Column id="cdnm" type="STRING" size="256"/>
  47. </ColumnInfo>
  48. </Dataset>
  49. </Objects>
  50. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  51. * System Name :
  52. * Job Name :
  53. * Creator :
  54. * Make Date : 2016-08-10
  55. * Description :
  56. *---------------------------------------------------------------------------------------
  57. * Modify Date Modifier Modify Description
  58. *---------------------------------------------------------------------------------------
  59. * 2016-08-10 Live Converter TF->XP
  60. *
  61. *---------------------------------------------------------------------------------------
  62. ****************************************************************************************/
  63. include "com_commonxp::comm_main.xjs";
  64. // 화면을 초기화한다.
  65. function lf_fInitialize() {
  66. // 공통코드를 조회한다.
  67. appf_getCodeListSubmit([{cdGrpId: "P0246", dsNm: "ds_grid_grd_P0246"}], false, false, "");
  68. //자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  69. if( frmf_checkOpener() ) {
  70. var cdid = "";
  71. var selectCd = "";
  72. if( !utlf_isNull(cdid) ) { // 기존에 선택된 사유
  73. for(i = 0 ; i < ds_grid_grd_P0246.rowcount; i++) {
  74. if( cdid == ds_grid_grd_P0246.getColumn( i, "cdid" ) ) {
  75. ds_grid_grd_P0246.rowposition = i;
  76. i = ds_grid_grd_P0246.rowposition;
  77. }
  78. }
  79. }
  80. }
  81. }
  82. function SPPID23100_onload(obj:Form, e:LoadEventInfo)
  83. {
  84. frmf_initForm(obj); // 화면공통
  85. lf_fInitialize(); // 화면을 초기화한다
  86. //그리드 정렬
  87. grdf_setGridSort(grd_P0246);
  88. }
  89. function grd_P0246_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  90. {
  91. // 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  92. if( frmf_checkOpener() ) {
  93. var objRtnVal = new Object();
  94. objRtnVal.sCdid = ds_grid_grd_P0246.getColumn( e.row, "cdid" );
  95. this.close(objRtnVal);
  96. }
  97. }
  98. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  99. {
  100. // 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  101. if( frmf_checkOpener() ) {
  102. var objRtnVal = new Object();
  103. objRtnVal.sCdid = ds_grid_grd_P0246.getColumn( ds_grid_grd_P0246.rowposition, "cdid" );
  104. this.close(objRtnVal);
  105. }
  106. else {
  107. sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); //없습니다.
  108. }
  109. this.close();
  110. }
  111. function Button00_onclick(obj:Button, e:ClickEventInfo)
  112. {
  113. this.close();
  114. }]]></Script>
  115. </Form>
  116. </FDL>