SPPIR30220_부제기사유코드.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIR30220" position="absolute 0 0 530 331" titletext="부제기 사유코드" oninit="SPPIR30220_oninit" onload="SPPIR30220_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 299 519 326" id="group1" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 461 3 517 25" id="btn_cancel" class="btn4" text="닫기" anchor="default" onclick="group1_btn_cancel_onclick"/>
  11. <Shape position="absolute 0 -2 518 4" linetype="horizontal" id="line88" class="line_6" anchor="default"/>
  12. <Button position="absolute 404 3 460 25" id="button2" class="btn4" text="저장" anchor="default" onclick="group1_button2_onclick"/>
  13. </Layout>
  14. </Layouts>
  15. </Div>
  16. <Div position="absolute 1 0 527 302" id="group3" scrollbars="autoboth">
  17. <Layouts>
  18. <Layout>
  19. <Grid position="absolute 1 85 518 298" id="grd_pirmabdm" binddataset="ds_main_list01_gridpirmabdm" anchor="default" autofittype="col" cellsizingtype="col">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="26"/>
  24. <Column size="84"/>
  25. <Column size="319"/>
  26. <Column size="74"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. </Columns>
  36. <Rows>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell/>
  42. <Cell col="1" text="사유코드"/>
  43. <Cell col="2" text="부제기 TEXT"/>
  44. <Cell col="3" text="입력자"/>
  45. <Cell col="4" text="부제기구분"/>
  46. <Cell col="5" text="적용시작일자"/>
  47. <Cell col="6" text="기관코드"/>
  48. <Cell col="7" text="적용종료일자"/>
  49. <Cell col="8" text="최초등록일시"/>
  50. <Cell col="9" text="최종수정자ID"/>
  51. <Cell col="10" text="최종수정일시"/>
  52. <Cell col="11"/>
  53. </Band>
  54. <Band id="body">
  55. <Cell celltype="head"/>
  56. <Cell col="1" displaytype="text" edittype="text" text="bind:abdresncd"/>
  57. <Cell col="2" displaytype="text" edittype="text" text="bind:abdresntext"/>
  58. <Cell col="3" text="bind:fstrgstrid"/>
  59. <Cell col="4" text="bind:abdflag"/>
  60. <Cell col="5" text="bind:appfromdd"/>
  61. <Cell col="6" text="bind:instcd"/>
  62. <Cell col="7" text="bind:apptodd"/>
  63. <Cell col="8" text="bind:fstrgstdt"/>
  64. <Cell col="9" text="bind:lastupdtrid"/>
  65. <Cell col="10" text="bind:lastupdtdt"/>
  66. <Cell col="11" text="bind:useyn"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. <Div position="absolute 0 24 518 58" align="align:center top;" id="group2" class="div_SA" anchor="default">
  72. <Layouts>
  73. <Layout>
  74. <Shape position="absolute 432 6 438 28" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  75. <Button position="absolute 450 6 506 28" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group3_group2_btn_search_onclick"/>
  76. <Static text="부제기구분 :" position="absolute 9 9 108 26" id="caption11" class="search_name" anchor="default"/>
  77. <Radio position="absolute 103 5 333 28" id="radio3" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  78. <Dataset id="innerdataset">
  79. <ColumnInfo>
  80. <Column id="codecolumn"/>
  81. <Column id="datacolumn"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row>
  85. <Col id="codecolumn">RT</Col>
  86. <Col id="datacolumn">이의신청 부제기</Col>
  87. </Row>
  88. <Row>
  89. <Col id="codecolumn">AP</Col>
  90. <Col id="datacolumn">반송 부제기</Col>
  91. </Row>
  92. </Rows>
  93. </Dataset>
  94. </Radio>
  95. </Layout>
  96. </Layouts>
  97. </Div>
  98. <Static text="부제기 사유" position="absolute 1 64 112 82" id="caption8" class="tit_2" anchor="default"/>
  99. <Shape position="absolute 1 81 518 85" linetype="horizontal" id="line5" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  100. <Button position="absolute 465 61 518 80" id="btn_addRow" class="btn2" text="행추가" anchor="default" onclick="group3_btn_addRow_onclick"/>
  101. <Button position="absolute 409 61 462 80" id="btn_delRow" class="btn2" visible="false" text="행삭제" anchor="default" onclick="group3_btn_delRow_onclick"/>
  102. </Layout>
  103. </Layouts>
  104. </Div>
  105. <Static id="caption6" text="부제기 사유코드" class="tit_1" position="absolute 1 0 201 23"/>
  106. </Layout>
  107. </Layouts>
  108. <Objects>
  109. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  110. <ColumnInfo>
  111. <Column id="abdflag" type="STRING" size="256"/>
  112. </ColumnInfo>
  113. <Rows>
  114. <Row>
  115. <Col id="abdflag">RT</Col>
  116. </Row>
  117. </Rows>
  118. </Dataset>
  119. <Dataset id="ds_main_list01_gridpirmabdm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  120. <ColumnInfo>
  121. <Column id="abdresncd" type="STRING" size="256" sumtext="사유코드"/>
  122. <Column id="abdresntext" type="STRING" size="256" sumtext="부제기TEXT"/>
  123. <Column id="fstrgstrid" type="STRING" size="256" sumtext="입력자"/>
  124. <Column id="abdflag" type="STRING" size="256" sumtext="부제기구분"/>
  125. <Column id="appfromdd" type="STRING" size="256" sumtext="적용시작일자"/>
  126. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  127. <Column id="apptodd" type="STRING" size="256" sumtext="적용종료일자"/>
  128. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  129. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  130. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  131. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  132. </ColumnInfo>
  133. </Dataset>
  134. </Objects>
  135. <Bind>
  136. <BindItem id="item0" compid="group3.group2.radio3" propid="value" datasetid="ds_send" columnid="abdflag"/>
  137. </Bind>
  138. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  139. * System Name :
  140. * Job Name :
  141. * Creator :
  142. * Make Date : 2016-05-24
  143. * Description :
  144. *---------------------------------------------------------------------------------------
  145. * Modify Date Modifier Modify Description
  146. *---------------------------------------------------------------------------------------
  147. * 2016-05-24 Live Converter TF->XP
  148. *
  149. *---------------------------------------------------------------------------------------
  150. ****************************************************************************************/
  151. include "com_commonxp::comm_main.xjs";
  152. include "pam_pamcomnxp::PAM001.xjs";
  153. include "pam_pamcomnxp::PAM.xjs";
  154. function SPPIR30220_oninit(obj:Form, e:InitEventInfo)
  155. {
  156. frmf_initForm(obj);
  157. }
  158. function SPPIR30220_onload(obj:Form, e:LoadEventInfo)
  159. {
  160. grdf_initGrid(group3.grd_pirmabdm);
  161. grdf_setRowTypeIcon(group3.grd_pirmabdm, 0);
  162. }
  163. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  164. {
  165. var oParam = {};
  166. oParam.id = "TRPIR30220";
  167. oParam.service = "cutmngtapp.CutMngt";
  168. oParam.method = "reqGetPirmAbdm";
  169. oParam.inds = "req=ds_send";
  170. oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
  171. oParam.async = false;
  172. //oParam.callback = "cf_TRPIR30220";
  173. tranf_submit(oParam);
  174. }
  175. function group3_btn_delRow_onclick(obj:Button, e:ClickEventInfo)
  176. {
  177. fDelRow();
  178. }
  179. function group3_btn_addRow_onclick(obj:Button, e:ClickEventInfo)
  180. {
  181. fAddRow();
  182. }
  183. function group1_button2_onclick(obj:Button, e:ClickEventInfo)
  184. {
  185. var oParam = {};
  186. oParam.id = "TXPIR30220";
  187. oParam.service = "cutmngtapp.CutMngt";
  188. oParam.method = "reqExePirmAbdm";
  189. oParam.inds = "req=ds_main_list01_gridpirmabdm:U";
  190. oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
  191. oParam.async = false;
  192. //oParam.callback = "cf_TXPIR30220";
  193. tranf_submit(oParam);
  194. var oParam = {};
  195. oParam.id = "TRPIR30220";
  196. oParam.service = "cutmngtapp.CutMngt";
  197. oParam.method = "reqGetPirmAbdm";
  198. oParam.inds = "req=ds_send";
  199. oParam.outds = "ds_main_list01_gridpirmabdm=gridpirmabdm";
  200. oParam.async = false;
  201. //oParam.callback = "cf_TRPIR30220";
  202. tranf_submit(oParam);
  203. }
  204. function fDelRow()
  205. {
  206. var cur_row = ds_main_list01_gridpirmabdm.rowposition;
  207. if(ds_main_list01_gridpirmabdm.getColumn(cur_row, "useyn") == "Y")
  208. {
  209. alert("이미 사용된 부제기 코드는 삭제할 수 없습니다");
  210. return;
  211. }
  212. if (sysf_messageBox("선택된 부제기사유 자료를", "Q001") != 6)
  213. {
  214. return;
  215. }
  216. if (cur_row > 0)
  217. {
  218. ds_main_list01_gridpirmabdm.deleteRow(cur_row);
  219. }
  220. }
  221. function fAddRow()
  222. {
  223. var abdflag = ds_send.getColumn(0, "abdflag");
  224. var curr_row = ds_main_list01_gridpirmabdm.addRow();
  225. ds_main_list01_gridpirmabdm.setColumn(curr_row, "abdflag", abdflag);
  226. return true;
  227. }
  228. function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  229. {
  230. this.close();
  231. }
  232. ]]></Script>
  233. </Form>
  234. </FDL>