SMAEQ01900_핵종구매일계표.xfdl 13 KB

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