SPRSD07101_집계횟수별미마감리스트.xfdl 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRSD07101" position="absolute 0 0 375 427" titletext="집계횟수별 미마감리스트" oninit="SPRSD07101_oninit" onload="SPRSD07101_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 375 427" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="집계횟수별 미마감리스트" position="absolute 0 0 185 25" id="caption1" class="tit_1" anchor="default"/>
  11. <Shape position="absolute 0 70 375 76" id="line1" class="line_10" anchor="default"/>
  12. <Grid position="absolute 0 75 375 375" id="grd_prcpunfinish" anchor="default" binddataset="ds_prcpunfinish" autofittype="col" oncelldblclick="group3_grd_prcpunfinish_oncelldblclick">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="20" band="left"/>
  17. <Column size="80"/>
  18. <Column size="40"/>
  19. <Column size="60"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell/>
  27. <Cell col="1" text="집계일자"/>
  28. <Cell col="2" text="회차"/>
  29. <Cell col="3" text="마감여부"/>
  30. </Band>
  31. <Band id="body">
  32. <Cell celltype="head" expr="expr:currow +1"/>
  33. <Cell col="1" displaytype="date" text="bind:acptdd" calendardisplaynulltype="none"/>
  34. <Cell col="2" text="bind:sumcnt"/>
  35. <Cell col="3" text="bind:deliveendflag"/>
  36. </Band>
  37. </Format>
  38. </Formats>
  39. </Grid>
  40. <Div id="group4" taborder="1" class="div_SA2" position="absolute 0 25 375 61" anchor="default">
  41. <Layouts>
  42. <Layout>
  43. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 276 8 282 30" anchor="default"/>
  44. <Button id="btn_search" taborder="7" text="조회" onclick="group4_btn_search_onclick" class="btn1" position="absolute 295 8 351 30" anchor="default"/>
  45. <Static id="cap_reqdd2" text="집계월 :" class="search_name" position="absolute 22 9 83 26" anchor="default"/>
  46. <Calendar id="ipt_acptmm" taborder="8" autoselect="true" class="input_essential" position="absolute 92 8 189 27" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. <Button id="btn_close" taborder="2" text="닫기" onclick="btn_close_onclick" class="btn4" position="absolute 319 395 375 417" anchor="default"/>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. </Layout>
  55. </Layouts>
  56. <Objects>
  57. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  58. <ColumnInfo>
  59. <Column id="acptmm" type="STRING" size="256"/>
  60. </ColumnInfo>
  61. <Rows>
  62. <Row/>
  63. </Rows>
  64. </Dataset>
  65. <Dataset id="ds_prcpunfinish" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  66. <ColumnInfo>
  67. <Column id="acptdd" type="STRING" size="256"/>
  68. <Column id="sumcnt" type="STRING" size="256"/>
  69. <Column id="deliveendflag" type="STRING" size="256"/>
  70. </ColumnInfo>
  71. </Dataset>
  72. </Objects>
  73. <Bind>
  74. <BindItem id="item0" compid="group3.group4.ipt_acptmm" propid="value" datasetid="ds_send" columnid="acptmm"/>
  75. </Bind>
  76. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  77. * System Name : 경대 의료정보시스템
  78. * Job Name : mis_reqxp -> SPRSD07101
  79. * Creator : yjh
  80. * Make Date : 2018-11-15
  81. * Description :
  82. *---------------------------------------------------------------------------------------
  83. * Modify Date Modifier Modify Description
  84. *---------------------------------------------------------------------------------------
  85. * 2018-11-15 yjh TF->XP
  86. *
  87. *---------------------------------------------------------------------------------------
  88. ****************************************************************************************/
  89. //=======================================================================================
  90. // Lib Include
  91. //---------------------------------------------------------------------------------------
  92. include "com_commonxp::comm_main.xjs";
  93. //=======================================================================================
  94. // Global Form Variable
  95. //---------------------------------------------------------------------------------------
  96. //=======================================================================================
  97. // Function
  98. //---------------------------------------------------------------------------------------
  99. /****************************************************************************************
  100. * Argument : N/A
  101. * Description :
  102. ****************************************************************************************/
  103. //=======================================================================================
  104. // Event
  105. //---------------------------------------------------------------------------------------
  106. /****************************************************************************************
  107. * Components : Form
  108. * Components ID : SPRSD07101
  109. * Event : oninit
  110. * Argument : 01.obj : Object Event has occurred
  111. * : 02.e : Event Object
  112. * Description : 화면 처음 초기화시
  113. ****************************************************************************************/
  114. function SPRSD07101_oninit(obj:Form, e:InitEventInfo)
  115. {
  116. frmf_initForm(obj); //폼 초기화
  117. }
  118. /****************************************************************************************
  119. * Components : Form
  120. * Components ID : SPRSD07101
  121. * Event : onload
  122. * Argument : 01.obj : Object Event has occurred
  123. * : 02.e : Event Object
  124. * Description : 화면 로딩 완료시
  125. ****************************************************************************************/
  126. function SPRSD07101_onload(obj:Form, e:LoadEventInfo)
  127. {
  128. ds_send.setColumn(0, "acptmm", utlf_getCurrentDate().substr(0, 6));
  129. }
  130. /****************************************************************************************
  131. * Components : Dataset
  132. * Components ID : ds_send
  133. * Event : oncolumnchanged
  134. * Argument : 01.obj : Object Event has occurred
  135. * : 02.e : Event Object
  136. * Description : 데이터셋 값 변경시
  137. ****************************************************************************************/
  138. function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  139. {
  140. if( e.columnid == "acptmm" ){
  141. obj.setColumn(e.row, e.columnid, utlf_transNullToEmpty(e.newvalue).substr(0, 6));
  142. }
  143. }
  144. /****************************************************************************************
  145. * Components : Button
  146. * Components ID : btn_close
  147. * Event : onclick
  148. * Argument : 01.obj : Object Event has occurred
  149. * : 02.e : Event Object
  150. * Description : 닫기버튼 클릭시
  151. ****************************************************************************************/
  152. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  153. {
  154. this.close();
  155. }
  156. /****************************************************************************************
  157. * Components : Button
  158. * Components ID : btn_search
  159. * Event : onclick
  160. * Argument : 01.obj : Object Event has occurred
  161. * : 02.e : Event Object
  162. * Description : 조회버튼 클릭시
  163. ****************************************************************************************/
  164. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  165. {
  166. var oParam = {};
  167. oParam.id = "TRRSD07101";
  168. oParam.service = "reqapp.ReqMngt";
  169. oParam.method = "reqGetPrcpUnFinish";
  170. oParam.inds = "req=ds_send";
  171. oParam.outds = "ds_prcpunfinish=prcpunfinish";
  172. oParam.async = false;
  173. //oParam.callback = "cf_TRRSD07101";
  174. tranf_submit(oParam);
  175. }
  176. /****************************************************************************************
  177. * Components : Grid
  178. * Components ID : grd_prcpunfinish
  179. * Event : oncelldblclick
  180. * Argument : 01.obj : Object Event has occurred
  181. * : 02.e : Event Object
  182. * Description : 그리드 셀 더블클릭시
  183. ****************************************************************************************/
  184. function group3_grd_prcpunfinish_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  185. {
  186. //opener.ds_send_SearchTree.setColumn(0, "acptdd", ds_prcpunfinish.getColumn(e.row, "acptdd"));
  187. opener.group5.grp_key.ipt_acptdd.value = ds_prcpunfinish.getColumn(e.row, "acptdd");
  188. opener.group5_grp_key_ipt_acptdd_onchanged();
  189. //opener.ds_send_SearchTree.setColumn(0, "sumcnt", ds_prcpunfinish.getColumn(e.row, "sumcnt"));
  190. opener.group5.grp_key.cmb_sumcnt.value = ds_prcpunfinish.getColumn(e.row, "sumcnt");
  191. opener.group5.grp_detail.btn_searchtree.click();
  192. }
  193. ]]></Script>
  194. </Form>
  195. </FDL>