SMAEQ01000_일계표(핵의학).xfdl 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEQ01000" position="absolute 0 0 1203 774" titletext="일계표" oninit="SMAEQ01000_oninit" onload="SMAEQ01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="일계표" class="tit_1" position="absolute 0 0 138 23"/>
  8. <Static id="caption2" text="관리 현황" class="tit_2" position="absolute 805 507 889 528"/>
  9. <Static id="caption26" text="재고량" class="cell_1" position="absolute 1020 499 1104 522" anchor="top right"/>
  10. <Edit id="input1" taborder="1" position="absolute 1105 501 1189 520" anchor="top right"/>
  11. <Grid id="grd_mngtlist" taborder="2" binddataset="ds_grd_mngtlist" useinputpanel="false" position="absolute 805 524 1195 744" anchor="all">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="140"/>
  16. <Column size="100"/>
  17. <Column size="65"/>
  18. <Column size="65"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell text="거래처"/>
  35. <Cell col="1" text="항목"/>
  36. <Cell col="2" text="규격"/>
  37. <Cell col="3" text="수량"/>
  38. <Cell col="4" text="사유"/>
  39. <Cell col="5"/>
  40. <Cell col="6"/>
  41. <Cell col="7"/>
  42. <Cell col="8"/>
  43. <Cell col="9"/>
  44. <Cell col="10"/>
  45. <Cell col="11"/>
  46. <Cell col="12"/>
  47. </Band>
  48. <Band id="body">
  49. <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
  50. <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
  51. <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
  52. <Cell col="3" text="bind:qty" edittype="text" displaytype="text"/>
  53. <Cell col="4" text="bind:suplcustcd"/>
  54. <Cell col="5" text="bind:lossresncd"/>
  55. <Cell col="6" text="bind:iodd"/>
  56. <Cell col="7" text="bind:ioflag"/>
  57. <Cell col="8" text="bind:bdioflag"/>
  58. <Cell col="9" text="bind:itemflag"/>
  59. <Cell col="10" text="bind:goodcd"/>
  60. <Cell col="11" text="bind:rem"/>
  61. <Cell col="12" text="bind:suppdeptcd"/>
  62. </Band>
  63. </Format>
  64. </Formats>
  65. </Grid>
  66. <Grid id="grd_delivelist" taborder="3" binddataset="ds_main_detail_delivelist" useinputpanel="false" position="absolute 400 524 795 744" anchor="left top bottom">
  67. <Formats>
  68. <Format id="default">
  69. <Columns>
  70. <Column size="140"/>
  71. <Column size="100"/>
  72. <Column size="65"/>
  73. <Column size="65"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. </Columns>
  84. <Rows>
  85. <Row size="24" band="head"/>
  86. <Row size="24"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell text="거래처"/>
  90. <Cell col="1" text="항목"/>
  91. <Cell col="2" text="규격"/>
  92. <Cell col="3" text="수량"/>
  93. <Cell col="4"/>
  94. <Cell col="5"/>
  95. <Cell col="6"/>
  96. <Cell col="7"/>
  97. <Cell col="8"/>
  98. <Cell col="9"/>
  99. <Cell col="10"/>
  100. <Cell col="11"/>
  101. <Cell col="12"/>
  102. </Band>
  103. <Band id="body">
  104. <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
  105. <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
  106. <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
  107. <Cell col="3" text="bind:qty" edittype="none" displaytype="none"/>
  108. <Cell col="4" text="bind:suplcustcd"/>
  109. <Cell col="5" text="bind:lossresncd"/>
  110. <Cell col="6" text="bind:iodd"/>
  111. <Cell col="7" text="bind:ioflag"/>
  112. <Cell col="8" text="bind:bdioflag"/>
  113. <Cell col="9" text="bind:itemflag"/>
  114. <Cell col="10" text="bind:goodcd"/>
  115. <Cell col="11" text="bind:rem"/>
  116. <Cell col="12" text="bind:suppdeptcd"/>
  117. </Band>
  118. </Format>
  119. </Formats>
  120. </Grid>
  121. <Static id="caption4" text="사용 현황" class="tit_2" position="absolute 400 507 484 528"/>
  122. <Grid id="grd_wlnlist" taborder="4" binddataset="ds_main_detail_wlnlist" useinputpanel="false" position="absolute 0 524 390 744" anchor="left top bottom">
  123. <Formats>
  124. <Format id="default">
  125. <Columns>
  126. <Column size="140"/>
  127. <Column size="100"/>
  128. <Column size="65"/>
  129. <Column size="65"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="24" band="head"/>
  142. <Row size="24"/>
  143. </Rows>
  144. <Band id="head">
  145. <Cell text="거래처"/>
  146. <Cell col="1" text="항목"/>
  147. <Cell col="2" text="규격"/>
  148. <Cell col="3" text="수량"/>
  149. <Cell col="4"/>
  150. <Cell col="5"/>
  151. <Cell col="6"/>
  152. <Cell col="7"/>
  153. <Cell col="8"/>
  154. <Cell col="9"/>
  155. <Cell col="10"/>
  156. <Cell col="11"/>
  157. <Cell col="12"/>
  158. </Band>
  159. <Band id="body">
  160. <Cell text="bind:suplcustnm" edittype="none" displaytype="none"/>
  161. <Cell col="1" text="bind:goodnm" edittype="none" displaytype="none"/>
  162. <Cell col="2" text="bind:specnm" edittype="none" displaytype="none"/>
  163. <Cell col="3" text="bind:qty" edittype="none" displaytype="none"/>
  164. <Cell col="4" text="bind:suplcustcd"/>
  165. <Cell col="5" text="bind:lossresncd"/>
  166. <Cell col="6" text="bind:iodd"/>
  167. <Cell col="7" text="bind:ioflag"/>
  168. <Cell col="8" text="bind:bdioflag"/>
  169. <Cell col="9" text="bind:itemflag"/>
  170. <Cell col="10" text="bind:goodcd"/>
  171. <Cell col="11" text="bind:rem"/>
  172. <Cell col="12" text="bind:suppdeptcd"/>
  173. </Band>
  174. </Format>
  175. </Formats>
  176. </Grid>
  177. <Static id="caption1" text="입고현황" class="tit_2" position="absolute 0 507 84 528"/>
  178. <Button id="btnSave" taborder="5" text="저장" class="btn4" position="absolute 1139 746 1195 768" anchor="right bottom" onclick="btnSave_onclick"/>
  179. <Grid id="grd_list" taborder="6" binddataset="ds_main_daysumrept_daysumreptlist" useinputpanel="false" position="absolute 0 89 1195 494" anchor="left top right" oncellclick="grd_list_oncellclick">
  180. <Formats>
  181. <Format id="default">
  182. <Columns>
  183. <Column size="130"/>
  184. <Column size="80"/>
  185. <Column size="80"/>
  186. <Column size="50"/>
  187. <Column size="50"/>
  188. <Column size="50"/>
  189. <Column size="50"/>
  190. <Column size="50"/>
  191. <Column size="50"/>
  192. <Column size="50"/>
  193. <Column size="50"/>
  194. <Column size="50"/>
  195. <Column size="50"/>
  196. <Column size="50"/>
  197. <Column size="50"/>
  198. <Column size="50"/>
  199. <Column size="50"/>
  200. <Column size="50"/>
  201. <Column size="50"/>
  202. <Column size="50"/>
  203. <Column size="50"/>
  204. <Column size="50"/>
  205. <Column size="50"/>
  206. <Column size="50"/>
  207. <Column size="50"/>
  208. <Column size="50"/>
  209. <Column size="50"/>
  210. <Column size="50"/>
  211. <Column size="50"/>
  212. <Column size="50"/>
  213. <Column size="50"/>
  214. <Column size="50"/>
  215. <Column size="50"/>
  216. <Column size="50"/>
  217. <Column size="50"/>
  218. <Column size="50"/>
  219. </Columns>
  220. <Rows>
  221. <Row size="24" band="head"/>
  222. <Row size="24"/>
  223. </Rows>
  224. <Band id="head">
  225. <Cell text="품명"/>
  226. <Cell col="1" text="규격"/>
  227. <Cell col="2" text="구분"/>
  228. <Cell col="3" text="이월"/>
  229. <Cell col="4" text="1"/>
  230. <Cell col="5" text="2"/>
  231. <Cell col="6" text="3"/>
  232. <Cell col="7" text="4"/>
  233. <Cell col="8" text="5"/>
  234. <Cell col="9" text="6"/>
  235. <Cell col="10" text="7"/>
  236. <Cell col="11" text="8"/>
  237. <Cell col="12" text="9"/>
  238. <Cell col="13" text="10"/>
  239. <Cell col="14" text="11"/>
  240. <Cell col="15" text="12"/>
  241. <Cell col="16" text="13"/>
  242. <Cell col="17" text="14"/>
  243. <Cell col="18" text="15"/>
  244. <Cell col="19" text="16"/>
  245. <Cell col="20" text="17"/>
  246. <Cell col="21" text="18"/>
  247. <Cell col="22" text="19"/>
  248. <Cell col="23" text="20"/>
  249. <Cell col="24" text="21"/>
  250. <Cell col="25" text="22"/>
  251. <Cell col="26" text="23"/>
  252. <Cell col="27" text="24"/>
  253. <Cell col="28" text="25"/>
  254. <Cell col="29" text="26"/>
  255. <Cell col="30" text="27"/>
  256. <Cell col="31" text="28"/>
  257. <Cell col="32" text="29"/>
  258. <Cell col="33" text="30"/>
  259. <Cell col="34" text="31"/>
  260. <Cell col="35" text="합계"/>
  261. </Band>
  262. <Band id="body">
  263. <Cell celltype="head" text="bind:itemnm"/>
  264. <Cell col="1" celltype="head" text="bind:specnm"/>
  265. <Cell col="2" celltype="head" text="bind:ioflag"/>
  266. <Cell col="3" text="bind:d00"/>
  267. <Cell col="4" text="bind:d01"/>
  268. <Cell col="5" text="bind:d02"/>
  269. <Cell col="6" text="bind:d03"/>
  270. <Cell col="7" text="bind:d04"/>
  271. <Cell col="8" text="bind:d05"/>
  272. <Cell col="9" text="bind:d06"/>
  273. <Cell col="10" text="bind:d07"/>
  274. <Cell col="11" text="bind:d08"/>
  275. <Cell col="12" text="bind:d09"/>
  276. <Cell col="13" text="bind:d10"/>
  277. <Cell col="14" text="bind:d11"/>
  278. <Cell col="15" text="bind:d12"/>
  279. <Cell col="16" text="bind:d13"/>
  280. <Cell col="17" text="bind:d14"/>
  281. <Cell col="18" text="bind:d15"/>
  282. <Cell col="19" text="bind:d16"/>
  283. <Cell col="20" text="bind:d17"/>
  284. <Cell col="21" text="bind:d18"/>
  285. <Cell col="22" text="bind:d19"/>
  286. <Cell col="23" text="bind:d20"/>
  287. <Cell col="24" text="bind:d21"/>
  288. <Cell col="25" text="bind:d22"/>
  289. <Cell col="26" text="bind:d23"/>
  290. <Cell col="27" text="bind:d24"/>
  291. <Cell col="28" text="bind:d25"/>
  292. <Cell col="29" text="bind:d26"/>
  293. <Cell col="30" text="bind:d27"/>
  294. <Cell col="31" text="bind:d28"/>
  295. <Cell col="32" text="bind:d29"/>
  296. <Cell col="33" text="bind:d30"/>
  297. <Cell col="34" text="bind:d31"/>
  298. <Cell col="35" text="bind:d32"/>
  299. </Band>
  300. </Format>
  301. </Formats>
  302. </Grid>
  303. <Shape id="line2" class="line_10" position="absolute 0 84 1195 90" anchor="left top right"/>
  304. <Button id="btn_excsave" taborder="7" text="엑셀저장" class="btn7" position="absolute 1115 65 1195 84" anchor="top right" onclick="btn_excsave_onclick"/>
  305. <Div id="group2" taborder="8" class="div_SA" position="absolute 0 24 1195 59" anchor="left top right">
  306. <Layouts>
  307. <Layout>
  308. <Shape id="line1" linetype="vertical" position="absolute 1112 9 1118 24" anchor="top right"/>
  309. <Calendar id="input3" taborder="1" class="input_default" position="absolute 100 8 190 27" mask="yyyy-mm" anchor="default" onchanged="group2_input3_onchanged" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true"/>
  310. <Static id="caption11" text="기준월 :" class="search_name" position="absolute 10 8 96 25" anchor="default"/>
  311. <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1125 5 1181 27" anchor="top right" onclick="group2_btn_sea_onclick"/>
  312. </Layout>
  313. </Layouts>
  314. </Div>
  315. </Layout>
  316. </Layouts>
  317. <Objects>
  318. <Dataset id="ds_main_daysumrept_daysumreptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="itemcd" type="STRING" size="256" sumtext="물품명"/>
  321. <Column id="itemnm" type="STRING" size="256" sumtext="물품명"/>
  322. <Column id="specnm" type="STRING" size="256" sumtext="물품명"/>
  323. <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
  324. <Column id="d00" type="STRING" size="256" sumtext="이월량"/>
  325. <Column id="d01" type="STRING" size="256" sumtext="기준일"/>
  326. <Column id="d02" type="STRING" size="256" sumtext="기준일"/>
  327. <Column id="d03" type="STRING" size="256" sumtext="기준일"/>
  328. <Column id="d04" type="STRING" size="256" sumtext="기준일"/>
  329. <Column id="d05" type="STRING" size="256" sumtext="기준일"/>
  330. <Column id="d06" type="STRING" size="256" sumtext="기준일"/>
  331. <Column id="d07" type="STRING" size="256" sumtext="기준일"/>
  332. <Column id="d08" type="STRING" size="256" sumtext="기준일"/>
  333. <Column id="d09" type="STRING" size="256" sumtext="기준일"/>
  334. <Column id="d10" type="STRING" size="256" sumtext="기준일"/>
  335. <Column id="d11" type="STRING" size="256" sumtext="기준일"/>
  336. <Column id="d12" type="STRING" size="256" sumtext="기준일"/>
  337. <Column id="d13" type="STRING" size="256" sumtext="기준일"/>
  338. <Column id="d14" type="STRING" size="256" sumtext="기준일"/>
  339. <Column id="d15" type="STRING" size="256" sumtext="기준일"/>
  340. <Column id="d16" type="STRING" size="256" sumtext="기준일"/>
  341. <Column id="d17" type="STRING" size="256" sumtext="기준일"/>
  342. <Column id="d18" type="STRING" size="256" sumtext="기준일"/>
  343. <Column id="d19" type="STRING" size="256" sumtext="기준일"/>
  344. <Column id="d20" type="STRING" size="256" sumtext="기준일"/>
  345. <Column id="d21" type="STRING" size="256" sumtext="기준일"/>
  346. <Column id="d22" type="STRING" size="256" sumtext="기준일"/>
  347. <Column id="d23" type="STRING" size="256" sumtext="기준일"/>
  348. <Column id="d24" type="STRING" size="256" sumtext="기준일"/>
  349. <Column id="d25" type="STRING" size="256" sumtext="기준일"/>
  350. <Column id="d26" type="STRING" size="256" sumtext="기준일"/>
  351. <Column id="d27" type="STRING" size="256" sumtext="기준일"/>
  352. <Column id="d28" type="STRING" size="256" sumtext="기준일"/>
  353. <Column id="d29" type="STRING" size="256" sumtext="기준일"/>
  354. <Column id="d30" type="STRING" size="256" sumtext="기준일"/>
  355. <Column id="d31" type="STRING" size="256" sumtext="기준일"/>
  356. <Column id="d32" type="STRING" size="256" sumtext="월합계"/>
  357. </ColumnInfo>
  358. </Dataset>
  359. <Dataset id="ds_main_detail_wlnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  360. <ColumnInfo>
  361. <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
  362. <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
  363. <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
  364. <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
  365. <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
  366. <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
  367. <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
  368. <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
  369. <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
  370. <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
  371. <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
  372. <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
  373. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  374. </ColumnInfo>
  375. </Dataset>
  376. <Dataset id="ds_main_detail_delivelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
  379. <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
  380. <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
  381. <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
  382. <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
  383. <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
  384. <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
  385. <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
  386. <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
  387. <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
  388. <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
  389. <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
  390. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  391. </ColumnInfo>
  392. </Dataset>
  393. <Dataset id="ds_main_detail_mngtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  394. <ColumnInfo>
  395. <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서"/>
  396. <Column id="iodd" type="STRING" size="256" sumtext="입출고일자"/>
  397. <Column id="ioflag" type="STRING" size="256" sumtext="입출고구분"/>
  398. <Column id="bdioflag" type="STRING" size="256" sumtext="체네/외 구분{체내:I, 체외:O)"/>
  399. <Column id="itemflag" type="STRING" size="256" sumtext="항목구분"/>
  400. <Column id="goodcd" type="STRING" size="256" sumtext="항목코드"/>
  401. <Column id="goodnm" type="STRING" size="256" sumtext="항목명"/>
  402. <Column id="specnm" type="STRING" size="256" sumtext="항목명"/>
  403. <Column id="suplcustcd" type="STRING" size="256" sumtext="공급처코드"/>
  404. <Column id="suplcustnm" type="STRING" size="256" sumtext="공급처명"/>
  405. <Column id="qty" type="STRING" size="256" sumtext="체내-보험 환자수"/>
  406. <Column id="lossresncd" type="STRING" size="256" sumtext="손실사유코드"/>
  407. <Column id="rem" type="STRING" size="256" sumtext="비고"/>
  408. </ColumnInfo>
  409. </Dataset>
  410. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  411. <ColumnInfo>
  412. <Column id="suppdeptcd" type="STRING" size="256"/>
  413. <Column id="srchflag" type="STRING" size="256"/>
  414. <Column id="srchbdioflag" type="STRING" size="256"/>
  415. <Column id="srchym" type="STRING" size="256"/>
  416. <Column id="srchdd" type="STRING" size="256"/>
  417. <Column id="srchitemcd" type="STRING" size="256"/>
  418. </ColumnInfo>
  419. <Rows>
  420. <Row/>
  421. </Rows>
  422. </Dataset>
  423. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  424. <ColumnInfo>
  425. <Column id="qty" type="STRING" size="256"/>
  426. </ColumnInfo>
  427. <Rows>
  428. <Row/>
  429. </Rows>
  430. </Dataset>
  431. </Objects>
  432. <Bind>
  433. <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_send" columnid="srchym"/>
  434. </Bind>
  435. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  436. * System Name :
  437. * Job Name :
  438. * Creator :
  439. * Make Date : 2015-11-13
  440. * Description :
  441. *---------------------------------------------------------------------------------------
  442. * Modify Date Modifier Modify Description
  443. *---------------------------------------------------------------------------------------
  444. * 2015-11-13 Live Converter TF->XP
  445. *
  446. *---------------------------------------------------------------------------------------
  447. ****************************************************************************************/
  448. include "com_commonxp::comm_main.xjs";
  449. include "ast_examcurexp::AEZ0001.xjs";
  450. var vSuppdeptcd;
  451. function SMAEQ01000_oninit(obj:Form, e:InitEventInfo)
  452. {
  453. frmf_initForm(obj);
  454. }
  455. function SMAEQ01000_onload(obj:Form, e:LoadEventInfo)
  456. {
  457. grdf_initGrid(grd_list);
  458. grdf_initGrid(grd_wlnlist);
  459. grdf_initGrid(grd_delivelist);
  460. grdf_initGrid(grd_mngtlist);
  461. lf_aezfSetSuppDeptcd();
  462. vSuppdeptcd = frmf_getPrestDeptCd();
  463. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  464. ds_send.setColumn(0, "srchflag", "A");
  465. ds_send.setColumn(0, "srchbdioflag", "I");
  466. ds_send.setColumn(0, "srchym", (new Date()).getDateFormat("YYYYMM"));
  467. }
  468. function group2_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
  469. {
  470. ds_send.setColumn(0, "srchym", String(obj.value).substr(0,6));
  471. }
  472. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  473. {
  474. var oParam = {};
  475. oParam.id = "TRAEQ01001";
  476. oParam.service = "examcurebaseapp.NuclBase";
  477. oParam.method = "reqGetDaySumRept";
  478. oParam.inds = "req=ds_send";
  479. oParam.outds = "ds_main_daysumrept_daysumreptlist=daysumreptlist";
  480. oParam.async = false;
  481. //oParam.callback = "cf_TRAEQ01001";
  482. tranf_submit(oParam);
  483. }
  484. function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
  485. {
  486. if (e.row > -1)
  487. {
  488. var col = grd_list.getCellProperty("Head", e.col, "text");
  489. //col = col.replace("d", "");
  490. ds_send.setColumn(0, "srchdd", ds_tmp.getColumn(0, "tmpym")+col);
  491. ds_send.setColumn(0, "srchitemcd", ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "itemcd"));
  492. dsf_setFixVal(ds_send, "itemflag:1,ioflag:1");
  493. var oParam = {};
  494. oParam.id = "TRAEQ04001";
  495. oParam.service = "examcurebaseapp.NuclBase";
  496. oParam.method = "reqGetDaySumReptDetail";
  497. oParam.inds = "req=ds_send";
  498. oParam.outds = "ds_main_detail_wlnlist=wlnlist ds_main_detail_delivelist=delivelist ds_main_detail_mngtlist=mngtlist";
  499. oParam.async = false;
  500. //oParam.callback = "cf_TRAEQ04001";
  501. tranf_submit(oParam);
  502. var itemnm = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "itemnm");
  503. var specnm = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "specnm");
  504. var ioflag = ds_main_daysumrept_daysumreptlist.getColumn(ds_main_daysumrept_daysumreptlist.rowposition, "ioflag");
  505. var icol = e.col;
  506. var itemnm1 = ""
  507. var qty = ""
  508. var ioflag1 = ""
  509. for (var i = 0; i < ds_main_daysumrept_daysumreptlist.rowcount; i ++)
  510. {
  511. itemnm1 = ds_main_daysumrept_daysumreptlist.getColumn(i, "itemnm");
  512. ioflag1 = ds_main_daysumrept_daysumreptlist.getColumn(i, "ioflag");
  513. if (itemnm == itemnm1 && ioflag1 == "재고")
  514. {
  515. qty = ds_main_daysumrept_daysumreptlist.getColumn(i, icol);
  516. ds_tmp.setColumn(0, "qty". qty)
  517. }
  518. }
  519. }
  520. }
  521. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  522. {
  523. grdf_exportExcel(grd_list, "", "");
  524. }
  525. function btnSave_onclick(obj:Button, e:ClickEventInfo)
  526. {
  527. var oParam = {};
  528. oParam.id = "TXAEQ00401";
  529. oParam.service = "examcurebaseapp.NuclBase";
  530. oParam.method = "reqExeNuclDaySumRept";
  531. oParam.inds = "wlnlist=ds_main_detail_wlnlist:U delivelist=ds_main_detail_delivelist:U mngtlist=ds_main_detail_mngtlist:U";
  532. oParam.outds = "ds_=item";
  533. oParam.typeStr = "m";
  534. oParam.async = false;
  535. oParam.callback = "cf_TXAEQ00401";
  536. tranf_submit(oParam);
  537. }
  538. function cf_TXAEQ00401(sSvcId, nErrorCode, sErrorMsg)
  539. {
  540. if(nErrorCode < 0) return;
  541. else
  542. {
  543. var oParam = {};
  544. oParam.id = "TRAEQ01001";
  545. oParam.service = "examcurebaseapp.NuclBase";
  546. oParam.method = "reqGetDaySumRept";
  547. oParam.inds = "req=ds_send";
  548. oParam.outds = "ds_main_daysumrept_daysumreptlist=daysumreptlist";
  549. oParam.async = false;
  550. //oParam.callback = "cf_TRAEQ01001";
  551. tranf_submit(oParam);
  552. }
  553. }
  554. ]]></Script>
  555. </Form>
  556. </FDL>