SMADT00101_검수보류사유.xfdl 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT00101" position="absolute 0 0 506 331" titletext="조제시참고사항" oninit="SMADT00101_oninit" onload="SMADT00101_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 505 298" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="검수보류사유" position="absolute 0 3 113 20" id="caption1" class="tit_2" anchor="default"/>
  11. <Shape position="absolute 0 19 505 25" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  12. <Grid position="absolute 0 24 505 292" id="grd_reflist" binddataset="ds_main_list" oncelldblclick="grp_biz_grd_reflist_oncelldblclick" anchor="default" autofittype="col">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="25"/>
  17. <Column size="81"/>
  18. <Column size="396"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="24" band="head"/>
  22. <Row size="24"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell/>
  26. <Cell col="1" text="사유코드"/>
  27. <Cell col="2" text="보류사유"/>
  28. </Band>
  29. <Band id="body">
  30. <Cell celltype="head" displaytype="image"/>
  31. <Cell col="1" text="bind:cdid"/>
  32. <Cell col="2" text="bind:cdnm"/>
  33. </Band>
  34. </Format>
  35. </Formats>
  36. </Grid>
  37. </Layout>
  38. </Layouts>
  39. </Div>
  40. <Div position="absolute 0 296 506 323" id="grp_btn" scrollbars="autoboth">
  41. <Layouts>
  42. <Layout>
  43. <Button position="absolute 449 5 505 27" id="btn_cls" class="btn4" text="닫기" onclick="grp_btn_btn_cls_onclick" anchor="default"/>
  44. </Layout>
  45. </Layouts>
  46. </Div>
  47. </Layout>
  48. </Layouts>
  49. <Objects>
  50. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  51. <ColumnInfo>
  52. <Column id="cdid" type="STRING"/>
  53. <Column id="cdnm" type="STRING"/>
  54. </ColumnInfo>
  55. </Dataset>
  56. <Dataset id="ds_A0150list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  57. <ColumnInfo>
  58. <Column id="cdid" type="STRING"/>
  59. <Column id="cdnm" type="STRING"/>
  60. </ColumnInfo>
  61. <Rows>
  62. <Row/>
  63. </Rows>
  64. </Dataset>
  65. </Objects>
  66. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  67. * System Name :
  68. * Job Name :
  69. * Creator :
  70. * Make Date : 2015-11-13
  71. * Description :
  72. *---------------------------------------------------------------------------------------
  73. * Modify Date Modifier Modify Description
  74. *---------------------------------------------------------------------------------------
  75. * 2015-11-13 Live Converter TF->XP
  76. *
  77. *---------------------------------------------------------------------------------------
  78. ****************************************************************************************/
  79. //=======================================================================================
  80. // Lib Include
  81. //---------------------------------------------------------------------------------------
  82. include "com_commonxp::comm_main.xjs"
  83. include "com_basiccodexp::ZBC001.xjs";
  84. //=======================================================================================
  85. // Event
  86. //---------------------------------------------------------------------------------------
  87. /****************************************************************************************
  88. * Components :
  89. * Components ID : SMADT00101
  90. * Event : oninit
  91. * Argument : 01.obj : Object Event has occurred
  92. * : 02.e : Event Object
  93. * Description : oninit
  94. ****************************************************************************************/
  95. function SMADT00101_oninit(obj:Form, e:InitEventInfo)
  96. {
  97. frmf_initForm(obj); // 폼 초기화
  98. }
  99. /****************************************************************************************
  100. * Components :
  101. * Components ID : SMADT00101
  102. * Event : onload
  103. * Argument : 01.obj : Object Event has occurred
  104. * : 02.e : Event Object
  105. * Description : onload 이벤트
  106. ****************************************************************************************/
  107. function SMADT00101_onload(obj:Form, e:LoadEventInfo)
  108. {
  109. // dsf_createDs("ds_A0150list", [{col: "cdid", type:"string", size:256}, {col: "cdnm", type:"string", size:256}]);
  110. // ds_A0150list.addRow();
  111. //
  112. grdf_setRowTypeIcon(grp_biz.grd_reflist, 0); // 그리드 상태 표시
  113. var arrParam = new Array();
  114. arrParam = [{dsNm: "ds_A0150list", cdGrpId: "A0150", showValue: false}];
  115. appf_getCodeList(arrParam, true, false, "");
  116. ds_main_list.copyData(ds_A0150list);
  117. }
  118. /****************************************************************************************
  119. * Components :
  120. * Components ID : grp_biz_grd_reflist
  121. * Event : oncelldblclick
  122. * Argument : 01.obj : Object Event has occurred
  123. * : 02.e : Event Object
  124. * Description : 그리드 더블클릭
  125. ****************************************************************************************/
  126. function grp_biz_grd_reflist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  127. {
  128. if (frmf_checkOpener()) {
  129. opener.ds_temp.setColumn(0,"reteresn", ds_main_list.getColumn(e.row,"cdid"));
  130. this.close();
  131. } else {
  132. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  133. }
  134. }
  135. /****************************************************************************************
  136. * Components :
  137. * Components ID : grp_btn_btn_cls
  138. * Event : onclick
  139. * Argument : 01.obj : Object Event has occurred
  140. * : 02.e : Event Object
  141. * Description : '닫기'
  142. ****************************************************************************************/
  143. function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  144. {
  145. this.close();
  146. }
  147. ]]></Script>
  148. </Form>
  149. </FDL>