PPRAC00700_설치장소HELP.xfdl 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="PPRAC00700" position="absolute 0 0 621 562" titletext="설치장소 HELP" oninit="PPRAC00700_oninit" onload="PPRAC00700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 620 559" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 620 40" id="group2" anchor="default" class="div_SA2">
  11. <Layouts>
  12. <Layout>
  13. <Edit position="absolute 320 11 468 30" id="ipt_refcond" class="input_essential" onkeydown="group3_group2_ipt_refcond_onkeydown" anchor="default"/>
  14. <Button position="absolute 549 9 605 31" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick" anchor="default"/>
  15. <Shape position="absolute 531 8 537 33" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  16. <Static text="조회조건 :" position="absolute 235 12 321 29" id="caption2" class="search_name" anchor="default"/>
  17. <Static text="조회조건 :" position="absolute 15 12 101 29" id="caption3" class="search_name" anchor="default"/>
  18. <Radio position="absolute 100 10 233 30" id="rdo_refcond" class="radio_search" columncount="2" innerdataset="@ds_init_refcond" datacolumn="label" codecolumn="value" onitemclick="group3_group2_rdo_refcond_onitemclick" anchor="default"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Static text="설치장소리스트" position="absolute 0 49 145 65" id="caption1" class="tit_2" anchor="default"/>
  23. <Shape position="absolute 0 65 620 71" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  24. <Grid position="absolute 0 70 620 529" id="grd_custlist" class="grd_custlist" binddataset="ds_main_custlist" oncelldblclick="group3_grd_custlist_oncelldblclick" anchor="default" autoenter="select" autofittype="col" cellsizingtype="col">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="25"/>
  29. <Column size="80"/>
  30. <Column size="150"/>
  31. <Column size="0"/>
  32. <Column size="150"/>
  33. <Column size="0"/>
  34. <Column size="90"/>
  35. <Column size="0"/>
  36. <Column size="90"/>
  37. </Columns>
  38. <Rows>
  39. <Row size="24" band="head"/>
  40. <Row size="24"/>
  41. </Rows>
  42. <Band id="head">
  43. <Cell/>
  44. <Cell col="1" text="설치장소코드"/>
  45. <Cell col="2" text="설치장소"/>
  46. <Cell col="3" text="부서코드"/>
  47. <Cell col="4" text="부서명"/>
  48. <Cell col="5" text="관리자(정)ID"/>
  49. <Cell col="6" text="관리자(정)"/>
  50. <Cell col="7" text="관리자(부)ID"/>
  51. <Cell col="8" text="관리자(부)"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" text="expr:currow + 1"/>
  55. <Cell col="1" text="bind:installplcecd"/>
  56. <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:installplcenm"/>
  57. <Cell col="3" style="align:left middle;padding:0 0 0 5;" text="bind:deptcd"/>
  58. <Cell col="4" style="align:left middle;padding:0 0 0 5;" text="bind:deptnm"/>
  59. <Cell col="5" text="bind:mainmnger"/>
  60. <Cell col="6" text="bind:mainmngernm"/>
  61. <Cell col="7" text="bind:submnger"/>
  62. <Cell col="8" text="bind:submngernm"/>
  63. </Band>
  64. </Format>
  65. </Formats>
  66. </Grid>
  67. <Div position="absolute 0 529 620 556" id="group1" scrollbars="autoboth" anchor="default">
  68. <Layouts>
  69. <Layout>
  70. <Button position="absolute 507 5 563 27" id="btn_confirm" class="btn4" text="확인" onclick="group3_group1_btn_confirm_onclick" anchor="default"/>
  71. <Button position="absolute 564 5 620 27" id="btn_cancel" class="btn4" text="취소" onclick="group3_group1_btn_cancel_onclick" anchor="default"/>
  72. <Shape position="absolute 0 0 620 6" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
  73. </Layout>
  74. </Layouts>
  75. </Div>
  76. </Layout>
  77. </Layouts>
  78. </Div>
  79. </Layout>
  80. </Layouts>
  81. <Objects>
  82. <Dataset id="ds_main_custlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  83. <Dataset id="ds_init_refcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  84. <ColumnInfo>
  85. <Column id="label" type="STRING" size="256"/>
  86. <Column id="value" type="STRING" size="256"/>
  87. </ColumnInfo>
  88. <Rows>
  89. <Row>
  90. <Col id="label">부서코드</Col>
  91. <Col id="value">deptcd</Col>
  92. </Row>
  93. <Row>
  94. <Col id="label">부서명</Col>
  95. <Col id="value">deptnm</Col>
  96. </Row>
  97. </Rows>
  98. </Dataset>
  99. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  100. <ColumnInfo>
  101. <Column id="retrnm" type="STRING" size="256"/>
  102. <Column id="refcond" type="STRING" size="256"/>
  103. <Column id="screen_id" type="STRING" size="256"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row/>
  107. </Rows>
  108. </Dataset>
  109. <Dataset id="ds_target_validation_custlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  110. </Objects>
  111. <Bind>
  112. <BindItem id="item0" compid="group3.group2.ipt_refcond" propid="value" datasetid="ds_send" columnid="retrnm"/>
  113. <BindItem id="item1" compid="group3.group2.rdo_refcond" propid="value" datasetid="ds_send" columnid="refcond"/>
  114. </Bind>
  115. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  116. * System Name :
  117. * Job Name :
  118. * Creator :
  119. * Make Date : 2017-06-19
  120. * Description :
  121. *---------------------------------------------------------------------------------------
  122. * Modify Date Modifier Modify Description
  123. *---------------------------------------------------------------------------------------
  124. * 2017-06-19 Live Converter TF->XP
  125. *
  126. *---------------------------------------------------------------------------------------
  127. ****************************************************************************************/
  128. include "com_commonxp::comm_main.xjs";
  129. include "mis_miscommonxp::MIS.xjs";
  130. function PPRAC00700_oninit(obj:Form, e:InitEventInfo)
  131. {
  132. frmf_initForm(obj);
  133. }
  134. function PPRAC00700_onload(obj:Form, e:LoadEventInfo)
  135. {
  136. fInit();
  137. }
  138. function fInit()
  139. {
  140. group3.group2.rdo_refcond.index = 0;
  141. ds_main_custlist.clearData();
  142. if(ds_target_validation_custlist.rowcount == 0)
  143. {
  144. var ev = new ClickEventInfo;
  145. frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
  146. }
  147. else
  148. {
  149. ds_main_custlist.copyData(ds_target_validation_custlist);
  150. }
  151. misfMsterDetailSet("group3.grd_custlist", null, "TRRAC90701", "N");
  152. group3.group2.ipt_refcond.setFocus();
  153. group3.group2.rdo_refcond.value= 'deptnm';
  154. }
  155. function group3_group2_ipt_refcond_onkeydown(obj:Edit, e:KeyEventInfo)
  156. {
  157. if( e.keycode == 13 ){
  158. group3.group2.ipt_refcond.value = group3.group2.ipt_refcond.text;
  159. var ev = new ClickEventInfo;
  160. frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
  161. }
  162. }
  163. function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  164. {
  165. if( e.columnid == "retrnm"){
  166. if(!utlf_isNull(group3.group2.ipt_refcond.value))
  167. {
  168. var ev = new ClickEventInfo;
  169. frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
  170. }
  171. }
  172. }
  173. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  174. {
  175. ds_send.setColumn(0, "screen_id", "PPRAC00700");
  176. misfMsterDetailRetrieve();
  177. }
  178. function group3_group2_rdo_refcond_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  179. {
  180. group3.group2.ipt_refcond.setFocus();
  181. }
  182. function group3_grd_custlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  183. {
  184. if( e.row > -1 && e.col > -1 )
  185. {
  186. var ev = new ClickEventInfo;
  187. frmf_inputEnterKey("group3.group1.btn_confirm", "onclick", ev);
  188. }
  189. }
  190. function group3_group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  191. {
  192. misfPopUpListReturn(group3.grd_custlist);
  193. }
  194. function group3_group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  195. {
  196. this.close();
  197. }
  198. ]]></Script>
  199. </Form>
  200. </FDL>