SMAEQ01800_핵종실사용량조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEQ01800" position="absolute 0 0 1202 757" titletext="Untitle" oninit="SMAEQ01800_oninit" onload="SMAEQ01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="핵종실사용량조회" class="tit_1" position="absolute 0 0 183 23"/>
  8. <Shape id="line2" class="line_10" position="absolute 0 82 1195 88"/>
  9. <Grid id="grd_list" taborder="1" binddataset="ds_main_daysumrept_daysumreptlist" useinputpanel="false" position="absolute 0 87 1195 752" cellsizingtype="col" selecttype="cell">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="150"/>
  14. <Column size="80"/>
  15. <Column size="80"/>
  16. <Column size="50"/>
  17. <Column size="50"/>
  18. <Column size="50"/>
  19. <Column size="50"/>
  20. <Column size="50"/>
  21. <Column size="50"/>
  22. <Column size="50"/>
  23. <Column size="50"/>
  24. <Column size="50"/>
  25. <Column size="50"/>
  26. <Column size="50"/>
  27. <Column size="50"/>
  28. <Column size="50"/>
  29. <Column size="50"/>
  30. <Column size="50"/>
  31. <Column size="50"/>
  32. <Column size="50"/>
  33. <Column size="50"/>
  34. <Column size="50"/>
  35. <Column size="50"/>
  36. <Column size="50"/>
  37. <Column size="50"/>
  38. <Column size="50"/>
  39. <Column size="50"/>
  40. <Column size="50"/>
  41. <Column size="50"/>
  42. <Column size="50"/>
  43. <Column size="50"/>
  44. <Column size="50"/>
  45. <Column size="50"/>
  46. <Column size="50"/>
  47. <Column size="50"/>
  48. </Columns>
  49. <Rows>
  50. <Row size="24" band="head"/>
  51. <Row size="24"/>
  52. </Rows>
  53. <Band id="head">
  54. <Cell text="품명"/>
  55. <Cell col="1" text="규격"/>
  56. <Cell col="2" text="구분"/>
  57. <Cell col="3" text="1"/>
  58. <Cell col="4" text="2"/>
  59. <Cell col="5" text="3"/>
  60. <Cell col="6" text="4"/>
  61. <Cell col="7" text="5"/>
  62. <Cell col="8" text="6"/>
  63. <Cell col="9" text="7"/>
  64. <Cell col="10" text="8"/>
  65. <Cell col="11" text="9"/>
  66. <Cell col="12" text="10"/>
  67. <Cell col="13" text="11"/>
  68. <Cell col="14" text="12"/>
  69. <Cell col="15" text="13"/>
  70. <Cell col="16" text="14"/>
  71. <Cell col="17" text="15"/>
  72. <Cell col="18" text="16"/>
  73. <Cell col="19" text="17"/>
  74. <Cell col="20" text="18"/>
  75. <Cell col="21" text="19"/>
  76. <Cell col="22" text="20"/>
  77. <Cell col="23" text="21"/>
  78. <Cell col="24" text="22"/>
  79. <Cell col="25" text="23"/>
  80. <Cell col="26" text="24"/>
  81. <Cell col="27" text="25"/>
  82. <Cell col="28" text="26"/>
  83. <Cell col="29" text="27"/>
  84. <Cell col="30" text="28"/>
  85. <Cell col="31" text="29"/>
  86. <Cell col="32" text="30"/>
  87. <Cell col="33" text="31"/>
  88. <Cell col="34" text="합계"/>
  89. </Band>
  90. <Band id="body">
  91. <Cell style="align:left middle;" text="bind:itemnm"/>
  92. <Cell col="1" text="bind:specnm"/>
  93. <Cell col="2" text="bind:ioflag"/>
  94. <Cell col="3" displaytype="number" text="bind:d01"/>
  95. <Cell col="4" displaytype="number" text="bind:d02"/>
  96. <Cell col="5" displaytype="number" text="bind:d03"/>
  97. <Cell col="6" displaytype="number" text="bind:d04"/>
  98. <Cell col="7" displaytype="number" text="bind:d05"/>
  99. <Cell col="8" displaytype="number" text="bind:d06"/>
  100. <Cell col="9" displaytype="number" text="bind:d07"/>
  101. <Cell col="10" displaytype="number" text="bind:d08"/>
  102. <Cell col="11" displaytype="number" text="bind:d09"/>
  103. <Cell col="12" displaytype="number" text="bind:d10"/>
  104. <Cell col="13" displaytype="number" text="bind:d11"/>
  105. <Cell col="14" displaytype="number" text="bind:d12"/>
  106. <Cell col="15" displaytype="number" text="bind:d13"/>
  107. <Cell col="16" displaytype="number" text="bind:d14"/>
  108. <Cell col="17" displaytype="number" text="bind:d15"/>
  109. <Cell col="18" displaytype="number" text="bind:d16"/>
  110. <Cell col="19" displaytype="number" text="bind:d17"/>
  111. <Cell col="20" displaytype="number" text="bind:d18"/>
  112. <Cell col="21" displaytype="number" text="bind:d19"/>
  113. <Cell col="22" displaytype="number" text="bind:d20"/>
  114. <Cell col="23" displaytype="number" text="bind:d21"/>
  115. <Cell col="24" displaytype="number" text="bind:d22"/>
  116. <Cell col="25" displaytype="number" text="bind:d23"/>
  117. <Cell col="26" displaytype="number" text="bind:d24"/>
  118. <Cell col="27" displaytype="number" text="bind:d25"/>
  119. <Cell col="28" displaytype="number" text="bind:d26"/>
  120. <Cell col="29" displaytype="number" text="bind:d27"/>
  121. <Cell col="30" displaytype="number" text="bind:d28"/>
  122. <Cell col="31" displaytype="number" text="bind:d29"/>
  123. <Cell col="32" displaytype="number" text="bind:d30"/>
  124. <Cell col="33" displaytype="number" text="bind:d31"/>
  125. <Cell col="34" displaytype="number" text="bind:d32"/>
  126. </Band>
  127. </Format>
  128. </Formats>
  129. </Grid>
  130. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 63 1195 82" onclick="btn_excsave_onclick"/>
  131. <Div id="group2" taborder="3" class="div_SA" position="absolute 0 24 1195 59">
  132. <Layouts>
  133. <Layout>
  134. <Shape id="line1" linetype="vertical" position="absolute 1112 9 1118 24" anchor="default"/>
  135. <Calendar id="input3" taborder="1" class="input_default" position="absolute 91 7 181 26" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="group2_input3_onchanged" autoselect="true"/>
  136. <Static id="caption11" text="기준월 :" class="search_name" position="absolute 10 8 96 25" anchor="default"/>
  137. <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1125 5 1181 27" anchor="default" onclick="group2_btn_sea_onclick"/>
  138. </Layout>
  139. </Layouts>
  140. </Div>
  141. </Layout>
  142. </Layouts>
  143. <Objects>
  144. <Dataset id="ds_main_daysumrept_daysumreptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  145. <ColumnInfo>
  146. <Column id="itemnm" type="STRING"/>
  147. <Column id="specnm" type="STRING"/>
  148. <Column id="ioflag" type="STRING"/>
  149. <Column id="d01" type="STRING"/>
  150. <Column id="d02" type="STRING"/>
  151. <Column id="d03" type="STRING"/>
  152. <Column id="d04" type="STRING"/>
  153. <Column id="d05" type="STRING"/>
  154. <Column id="d06" type="STRING"/>
  155. <Column id="d07" type="STRING"/>
  156. <Column id="d08" type="STRING"/>
  157. <Column id="d09" type="STRING"/>
  158. <Column id="d10" type="STRING"/>
  159. <Column id="d11" type="STRING"/>
  160. <Column id="d12" type="STRING"/>
  161. <Column id="d13" type="STRING"/>
  162. <Column id="d14" type="STRING"/>
  163. <Column id="d15" type="STRING"/>
  164. <Column id="d16" type="STRING"/>
  165. <Column id="d17" type="STRING"/>
  166. <Column id="d18" type="STRING"/>
  167. <Column id="d19" type="STRING"/>
  168. <Column id="d20" type="STRING"/>
  169. <Column id="d21" type="STRING"/>
  170. <Column id="d22" type="STRING"/>
  171. <Column id="d23" type="STRING"/>
  172. <Column id="d24" type="STRING"/>
  173. <Column id="d25" type="STRING"/>
  174. <Column id="d26" type="STRING"/>
  175. <Column id="d27" type="STRING"/>
  176. <Column id="d28" type="STRING"/>
  177. <Column id="d29" type="STRING"/>
  178. <Column id="d30" type="STRING"/>
  179. <Column id="d31" type="STRING"/>
  180. <Column id="d32" type="STRING"/>
  181. </ColumnInfo>
  182. </Dataset>
  183. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  184. <ColumnInfo>
  185. <Column id="srchym" type="STRING" size="256"/>
  186. <Column id="srchflag" type="STRING" size="256"/>
  187. <Column id="srchbdioflag" type="STRING" size="256"/>
  188. <Column id="suppdeptcd" type="STRING" size="256"/>
  189. </ColumnInfo>
  190. <Rows>
  191. <Row/>
  192. </Rows>
  193. </Dataset>
  194. </Objects>
  195. <Bind>
  196. <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_send" columnid="srchym"/>
  197. </Bind>
  198. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  199. * System Name :
  200. * Job Name :
  201. * Creator :
  202. * Make Date : 2015-11-13
  203. * Description :
  204. *---------------------------------------------------------------------------------------
  205. * Modify Date Modifier Modify Description
  206. *---------------------------------------------------------------------------------------
  207. * 2015-11-13 Live Converter TF->XP
  208. *
  209. *---------------------------------------------------------------------------------------
  210. ****************************************************************************************/
  211. include "com_commonxp::comm_main.xjs";
  212. include "ast_examcurexp::AEZ0001.xjs";
  213. var vSuppdeptcd;
  214. function SMAEQ01800_oninit(obj:Form, e:InitEventInfo)
  215. {
  216. frmf_initForm(obj);
  217. }
  218. function SMAEQ01800_onload(obj:Form, e:LoadEventInfo)
  219. {
  220. grdf_initGrid(grd_list);
  221. lf_aezfSetSuppDeptcd();
  222. vSuppdeptcd = frmf_getPrestDeptCd();
  223. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  224. ds_send.setColumn(0, "srchflag", "U");
  225. ds_send.setColumn(0, "srchbdioflag", "I");
  226. ds_send.setColumn(0, "srchym", (new Date()).getDateFormat("YYYYMM"));
  227. }
  228. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  229. {
  230. var oParam = {};
  231. oParam.id = "TRAEQ01001";
  232. oParam.service = "examcurebaseapp.NuclBase";
  233. oParam.method = "reqGetDaySumRept";
  234. oParam.inds = "req=ds_send";
  235. oParam.outds = "ds_main_daysumrept_daysumreptlist=daysumreptlist";
  236. oParam.async = false;
  237. //oParam.callback = "cf_TRAEQ01001";
  238. tranf_submit(oParam);
  239. }
  240. function group2_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
  241. {
  242. var date = obj.value;
  243. ds_send.setColumn(0, "srchym", String(date).substr(0,6));
  244. }
  245. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  246. {
  247. grdf_exportExcel(grd_list, "", "");
  248. }
  249. ]]></Script>
  250. </Form>
  251. </FDL>