SMMNG02200_세탁물보유현황.xfdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNG02200" position="absolute 0 0 1185 730" titletext="세탁물보유현황" oninit="SMMNG02200_oninit" onload="SMMNG02200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 580 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="세탁물보유현황" position="absolute 0 0 133 25" id="caption6" class="tit_1"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 64 1175 729" id="grp_biz" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Static text="세탁물보유현황" position="absolute 0 10 121 26" id="caption12" class="tit_2"/>
  18. <Shape position="absolute 0 27 1175 33" linetype="horizontal" id="line1" class="line_10"/>
  19. <Grid position="absolute 0 31 1175 655" id="grd_possstatelist" binddataset="ds_main_possinfo_possstatelist" cellsizebandtype="allband" cellsizingtype="col">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="100"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  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. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="0"/>
  67. </Columns>
  68. <Rows>
  69. <Row size="24" band="head"/>
  70. <Row size="24" band="head"/>
  71. <Row size="24"/>
  72. </Rows>
  73. <Band id="head">
  74. <Cell rowspan="2" style="padding:2 2 2 2;" text="병동명" wordwrap="word" autosizerow="limitmin"/>
  75. <Cell col="1" rowspan="2" style="padding:2 2 2 2;" text="caption1" wordwrap="word" autosizerow="limitmin"/>
  76. <Cell col="2" rowspan="2" style="padding:2 2 2 2;" text="caption2" wordwrap="word" autosizerow="limitmin"/>
  77. <Cell col="3" rowspan="2" style="padding:2 2 2 2;" text="caption3" wordwrap="word" autosizerow="limitmin"/>
  78. <Cell col="4" rowspan="2" style="padding:2 2 2 2;" text="caption4" wordwrap="word" autosizerow="limitmin"/>
  79. <Cell col="5" rowspan="2" style="padding:2 2 2 2;" text="caption5" wordwrap="word" autosizerow="limitmin"/>
  80. <Cell col="6" rowspan="2" style="padding:2 2 2 2;" text="caption6" wordwrap="word" autosizerow="limitmin"/>
  81. <Cell col="7" rowspan="2" style="padding:2 2 2 2;" text="caption7" wordwrap="word" autosizerow="limitmin"/>
  82. <Cell col="8" rowspan="2" style="padding:2 2 2 2;" text="caption8" wordwrap="word" autosizerow="limitmin"/>
  83. <Cell col="9" rowspan="2" style="padding:2 2 2 2;" text="caption9" wordwrap="word" autosizerow="limitmin"/>
  84. <Cell col="10" rowspan="2" style="padding:2 2 2 2;" text="caption10" wordwrap="word" autosizerow="limitmin"/>
  85. <Cell col="11" rowspan="2" style="padding:2 2 2 2;" text="caption11" wordwrap="word" autosizerow="limitmin"/>
  86. <Cell col="12" rowspan="2" style="padding:2 2 2 2;" text="caption12" wordwrap="word" autosizerow="limitmin"/>
  87. <Cell col="13" rowspan="2" style="padding:2 2 2 2;" text="caption13" wordwrap="word" autosizerow="limitmin"/>
  88. <Cell col="14" rowspan="2" style="padding:2 2 2 2;" text="caption14" wordwrap="word" autosizerow="limitmin"/>
  89. <Cell col="15" rowspan="2" style="padding:2 2 2 2;" text="caption15" wordwrap="word" autosizerow="limitmin"/>
  90. <Cell col="16" rowspan="2" style="padding:2 2 2 2;" text="caption16" wordwrap="word" autosizerow="limitmin"/>
  91. <Cell col="17" rowspan="2" style="padding:2 2 2 2;" text="caption17" wordwrap="word" autosizerow="limitmin"/>
  92. <Cell col="18" rowspan="2" style="padding:2 2 2 2;" text="caption18" wordwrap="word" autosizerow="limitmin"/>
  93. <Cell col="19" rowspan="2" style="padding:2 2 2 2;" text="caption19" wordwrap="word" autosizerow="limitmin"/>
  94. <Cell col="20" rowspan="2" style="padding:2 2 2 2;" text="caption20" wordwrap="word" autosizerow="limitmin"/>
  95. <Cell col="21" rowspan="2" style="padding:2 2 2 2;" text="caption21" wordwrap="word" autosizerow="limitmin"/>
  96. <Cell col="22" rowspan="2" style="padding:2 2 2 2;" text="caption22" wordwrap="word" autosizerow="limitmin"/>
  97. <Cell col="23" rowspan="2" style="padding:2 2 2 2;" text="caption23" wordwrap="word" autosizerow="limitmin"/>
  98. <Cell col="24" rowspan="2" style="padding:2 2 2 2;" text="caption24" wordwrap="word" autosizerow="limitmin"/>
  99. <Cell col="25" rowspan="2" style="padding:2 2 2 2;" text="caption25" wordwrap="word" autosizerow="limitmin"/>
  100. <Cell col="26" rowspan="2" style="padding:2 2 2 2;" text="caption26" wordwrap="word" autosizerow="limitmin"/>
  101. <Cell col="27" rowspan="2" style="padding:2 2 2 2;" text="caption27" wordwrap="word" autosizerow="limitmin"/>
  102. <Cell col="28" rowspan="2" style="padding:2 2 2 2;" text="caption28" wordwrap="word" autosizerow="limitmin"/>
  103. <Cell col="29" rowspan="2" style="padding:2 2 2 2;" text="caption29" wordwrap="word" autosizerow="limitmin"/>
  104. <Cell col="30" rowspan="2" style="padding:2 2 2 2;" text="caption30" wordwrap="word" autosizerow="limitmin"/>
  105. <Cell col="31" rowspan="2" style="padding:2 2 2 2;" text="caption31" wordwrap="word" autosizerow="limitmin"/>
  106. <Cell col="32" rowspan="2" style="padding:2 2 2 2;" text="caption32" wordwrap="word" autosizerow="limitmin"/>
  107. <Cell col="33" rowspan="2" style="padding:2 2 2 2;" text="caption33" wordwrap="word" autosizerow="limitmin"/>
  108. <Cell col="34" rowspan="2" style="padding:2 2 2 2;" text="caption34" wordwrap="word" autosizerow="limitmin"/>
  109. <Cell col="35" rowspan="2" style="padding:2 2 2 2;" text="caption35" wordwrap="word" autosizerow="limitmin"/>
  110. <Cell col="36" rowspan="2" style="padding:2 2 2 2;" text="caption36" wordwrap="word" autosizerow="limitmin"/>
  111. <Cell col="37" rowspan="2" style="padding:2 2 2 2;" text="caption37" wordwrap="word" autosizerow="limitmin"/>
  112. <Cell col="38" rowspan="2" style="padding:2 2 2 2;" text="caption38" wordwrap="word" autosizerow="limitmin"/>
  113. <Cell col="39" rowspan="2" style="padding:2 2 2 2;" text="caption39" wordwrap="word" autosizerow="limitmin"/>
  114. <Cell col="40" rowspan="2" style="padding:2 2 2 2;" text="caption40" wordwrap="word" autosizerow="limitmin"/>
  115. <Cell col="41" rowspan="2" style="padding:2 2 2 2;" text="비고" wordwrap="word" autosizerow="limitmin"/>
  116. <Cell col="42" rowspan="2" style="padding:2 2 2 2;" text="관리자" wordwrap="word" autosizerow="limitmin"/>
  117. <Cell col="43" rowspan="2" text="관리자ID"/>
  118. </Band>
  119. <Band id="body">
  120. <Cell style="align:left middle;" text="bind:depthngnm"/>
  121. <Cell col="1" style="align:left;" text="bind:a001"/>
  122. <Cell col="2" style="align:left;" text="bind:a002"/>
  123. <Cell col="3" style="align:left;" text="bind:a003"/>
  124. <Cell col="4" style="align:left;" text="bind:a004"/>
  125. <Cell col="5" style="align:left;" text="bind:a005"/>
  126. <Cell col="6" style="align:left;" text="bind:a006"/>
  127. <Cell col="7" style="align:left;" text="bind:a007"/>
  128. <Cell col="8" style="align:left;" text="bind:a008"/>
  129. <Cell col="9" style="align:left;" text="bind:a009"/>
  130. <Cell col="10" style="align:left;" text="bind:a010"/>
  131. <Cell col="11" style="align:left;" text="bind:a011"/>
  132. <Cell col="12" style="align:left;" text="bind:a012"/>
  133. <Cell col="13" style="align:left;" text="bind:a013"/>
  134. <Cell col="14" style="align:left;" text="bind:a014"/>
  135. <Cell col="15" style="align:left;" text="bind:a015"/>
  136. <Cell col="16" style="align:left;" text="bind:a016"/>
  137. <Cell col="17" style="align:left;" text="bind:a017"/>
  138. <Cell col="18" style="align:left;" text="bind:a018"/>
  139. <Cell col="19" style="align:left;" text="bind:a019"/>
  140. <Cell col="20" style="align:left;" text="bind:a020"/>
  141. <Cell col="21" style="align:left;" text="bind:a021"/>
  142. <Cell col="22" style="align:left;" text="bind:a022"/>
  143. <Cell col="23" style="align:left;" text="bind:a023"/>
  144. <Cell col="24" style="align:left;" text="bind:a024"/>
  145. <Cell col="25" style="align:left;" text="bind:a025"/>
  146. <Cell col="26" style="align:left;" text="bind:a026"/>
  147. <Cell col="27" style="align:left;" text="bind:a027"/>
  148. <Cell col="28" style="align:left;" text="bind:a028"/>
  149. <Cell col="29" style="align:left;" text="bind:a029"/>
  150. <Cell col="30" style="align:left;" text="bind:a030"/>
  151. <Cell col="31" style="align:left;" text="bind:a031"/>
  152. <Cell col="32" style="align:left;" text="bind:a032"/>
  153. <Cell col="33" style="align:left;" text="bind:a033"/>
  154. <Cell col="34" style="align:left;" text="bind:a034"/>
  155. <Cell col="35" style="align:left;" text="bind:a035"/>
  156. <Cell col="36" style="align:left;" text="bind:a036"/>
  157. <Cell col="37" style="align:left;" text="bind:a037"/>
  158. <Cell col="38" style="align:left;" text="bind:a038"/>
  159. <Cell col="39" style="align:left;" text="bind:a039"/>
  160. <Cell col="40" style="align:left;" text="bind:a040"/>
  161. <Cell col="41" style="align:left top;padding:4 2 2 2;" text="bind:remark1" wordwrap="word"/>
  162. <Cell col="42" style="align:left;" text="bind:fstrgstrnm"/>
  163. <Cell col="43" text="bind:fstrgstrid"/>
  164. </Band>
  165. </Format>
  166. </Formats>
  167. </Grid>
  168. <Radio position="absolute 220 5 610 20" id="rdo_gubuncd" enable="false" visible="false" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  169. <Dataset id="innerdataset">
  170. <ColumnInfo>
  171. <Column id="codecolumn"/>
  172. <Column id="datacolumn"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row>
  176. <Col id="codecolumn">01</Col>
  177. <Col id="datacolumn">물품마스터</Col>
  178. </Row>
  179. <Row>
  180. <Col id="codecolumn">02</Col>
  181. <Col id="datacolumn">창고마스터</Col>
  182. </Row>
  183. </Rows>
  184. </Dataset>
  185. </Radio>
  186. </Layout>
  187. </Layouts>
  188. </Div>
  189. <Shape position="absolute 0 24 1175 59" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
  190. <Static text="년월:" position="absolute 300 34 367 51" id="cap_csrreqdeptcd" class="search_name"/>
  191. <Button position="absolute 999 31 1055 53" id="btn_search" class="btn1" taborder="2" text="조회" onclick="btn_search_onclick"/>
  192. <Calendar position="absolute 355 34 423 53" id="ipt_possyymm" class="input_default" mask="yyyy-mm" editformat="yyyy-MM" dateformat="yyyy-MM" value="null" autoselect="true"/>
  193. <Edit readonly="true" position="absolute 100 34 275 53" align="align:center middle;" id="opt_instcdnm" class="output" style="align:center middle;"/>
  194. <Static text="기관코드 :" position="absolute 10 34 96 51" id="cap_instcd" class="search_name"/>
  195. <Shape position="absolute 990 29 996 54" linetype="vertical" id="line2" class="line_4"/>
  196. <Static text="부서구분:" position="absolute 440 34 525 51" id="caption1" class="search_name"/>
  197. <Button position="absolute 1114 31 1170 53" id="btn_prt" class="btn6" text="출력" onclick="btn_prt_onclick"/>
  198. <Button position="absolute 1057 31 1113 53" id="button3" class="btn7" text="엑셀" onclick="button3_onclick"/>
  199. <Combo position="absolute 525 34 620 53" id="cmb_csrreqdeptcd" class="combo_essential" innerdataset="@ds_init_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="cmb_csrreqdeptcd_onitemchanged"/>
  200. </Layout>
  201. </Layouts>
  202. <Objects>
  203. <Dataset id="ds_main_possinfo_possstatelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="depthngnm" type="STRING" size="256"/>
  206. <Column id="remark1" type="STRING" size="256"/>
  207. <Column id="fstrgstrid" type="STRING" size="256"/>
  208. <Column id="a001" type="STRING" size="256"/>
  209. <Column id="a002" type="STRING" size="256"/>
  210. <Column id="a003" type="STRING" size="256"/>
  211. <Column id="a004" type="STRING" size="256"/>
  212. <Column id="a005" type="STRING" size="256"/>
  213. <Column id="a006" type="STRING" size="256"/>
  214. <Column id="a007" type="STRING" size="256"/>
  215. <Column id="a008" type="STRING" size="256"/>
  216. <Column id="a009" type="STRING" size="256"/>
  217. <Column id="a010" type="STRING" size="256"/>
  218. <Column id="a011" type="STRING" size="256"/>
  219. <Column id="a012" type="STRING" size="256"/>
  220. <Column id="a013" type="STRING" size="256"/>
  221. <Column id="a014" type="STRING" size="256"/>
  222. <Column id="a015" type="STRING" size="256"/>
  223. <Column id="a016" type="STRING" size="256"/>
  224. <Column id="a017" type="STRING" size="256"/>
  225. <Column id="a018" type="STRING" size="256"/>
  226. <Column id="a019" type="STRING" size="256"/>
  227. <Column id="a020" type="STRING" size="256"/>
  228. <Column id="a021" type="STRING" size="256"/>
  229. <Column id="a022" type="STRING" size="256"/>
  230. <Column id="a023" type="STRING" size="256"/>
  231. <Column id="a024" type="STRING" size="256"/>
  232. <Column id="a025" type="STRING" size="256"/>
  233. <Column id="a026" type="STRING" size="256"/>
  234. <Column id="a027" type="STRING" size="256"/>
  235. <Column id="a028" type="STRING" size="256"/>
  236. <Column id="a029" type="STRING" size="256"/>
  237. <Column id="a030" type="STRING" size="256"/>
  238. <Column id="a031" type="STRING" size="256"/>
  239. <Column id="a032" type="STRING" size="256"/>
  240. <Column id="a033" type="STRING" size="256"/>
  241. <Column id="a034" type="STRING" size="256"/>
  242. <Column id="a035" type="STRING" size="256"/>
  243. <Column id="a036" type="STRING" size="256"/>
  244. <Column id="a037" type="STRING" size="256"/>
  245. <Column id="a038" type="STRING" size="256"/>
  246. <Column id="a039" type="STRING" size="256"/>
  247. <Column id="a040" type="STRING" size="256"/>
  248. <Column id="possyymm" type="STRING" size="256"/>
  249. </ColumnInfo>
  250. <Rows>
  251. <Row>
  252. <Col id="depthngnm"/>
  253. <Col id="remark1"/>
  254. <Col id="fstrgstrid"/>
  255. <Col id="a001"/>
  256. <Col id="a002"/>
  257. <Col id="a003"/>
  258. <Col id="a004"/>
  259. <Col id="a005"/>
  260. <Col id="a006"/>
  261. <Col id="a007"/>
  262. <Col id="a008"/>
  263. <Col id="a009"/>
  264. <Col id="a010"/>
  265. <Col id="a011"/>
  266. <Col id="a012"/>
  267. <Col id="a013"/>
  268. <Col id="a014"/>
  269. <Col id="a015"/>
  270. <Col id="a016"/>
  271. <Col id="a017"/>
  272. <Col id="a018"/>
  273. <Col id="a019"/>
  274. <Col id="a020"/>
  275. <Col id="a021"/>
  276. <Col id="a022"/>
  277. <Col id="a023"/>
  278. <Col id="a024"/>
  279. <Col id="a025"/>
  280. <Col id="a026"/>
  281. <Col id="a027"/>
  282. <Col id="a028"/>
  283. <Col id="a029"/>
  284. <Col id="a030"/>
  285. <Col id="a031"/>
  286. <Col id="a032"/>
  287. <Col id="a033"/>
  288. <Col id="a034"/>
  289. <Col id="a035"/>
  290. <Col id="a036"/>
  291. <Col id="a037"/>
  292. <Col id="a038"/>
  293. <Col id="a039"/>
  294. <Col id="a040"/>
  295. <Col id="possyymm"/>
  296. </Row>
  297. </Rows>
  298. </Dataset>
  299. <Dataset id="ds_main_possinfo_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  300. <Dataset id="ds_main_possrexlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="depthngnm" type="STRING" size="256"/>
  303. <Column id="depthngcd" type="STRING" size="256"/>
  304. <Column id="possyymm" type="STRING" size="256"/>
  305. <Column id="goodscd" type="STRING" size="256"/>
  306. <Column id="cdnm" type="STRING" size="256"/>
  307. <Column id="posscnt" type="STRING" size="256"/>
  308. <Column id="remark1" type="STRING" size="256"/>
  309. <Column id="fstrgstrid" type="STRING" size="256"/>
  310. <Column id="fstrgstrnm" type="STRING" size="256"/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row>
  314. <Col id="depthngnm"/>
  315. <Col id="depthngcd"/>
  316. <Col id="possyymm"/>
  317. <Col id="goodscd"/>
  318. <Col id="cdnm"/>
  319. <Col id="posscnt"/>
  320. <Col id="remark1"/>
  321. <Col id="fstrgstrid"/>
  322. <Col id="fstrgstrnm"/>
  323. </Row>
  324. </Rows>
  325. </Dataset>
  326. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  327. <ColumnInfo>
  328. <Column id="possyymm" type="STRING" size="256"/>
  329. <Column id="deptcd" type="STRING" size="256"/>
  330. <Column id="csreqdeptcd" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row>
  334. <Col id="possyymm"/>
  335. <Col id="deptcd"/>
  336. <Col id="csreqdeptcd"/>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. <Dataset id="ds_main_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  341. <Dataset id="ds_main_possmenucnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  342. <ColumnInfo>
  343. <Column id="cnt" type="STRING" size="256"/>
  344. </ColumnInfo>
  345. <Rows>
  346. <Row/>
  347. </Rows>
  348. </Dataset>
  349. <Dataset id="ds_main_possmenulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  350. <ColumnInfo>
  351. <Column id="cdnm" type="STRING" size="256"/>
  352. <Column id="goodscd" type="STRING" size="256"/>
  353. </ColumnInfo>
  354. <Rows>
  355. <Row/>
  356. </Rows>
  357. </Dataset>
  358. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  359. <ColumnInfo>
  360. <Column id="csrreqdeptcd" type="STRING" size="256"/>
  361. </ColumnInfo>
  362. <Rows>
  363. <Row/>
  364. </Rows>
  365. </Dataset>
  366. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  367. <ColumnInfo>
  368. <Column id="possyymm" type="STRING" size="256"/>
  369. <Column id="csreqdeptcd" type="STRING" size="256"/>
  370. <Column id="instcdnm" type="STRING" size="256"/>
  371. <Column id="gubuncd" type="STRING" size="256"/>
  372. <Column id="instcd" type="STRING" size="256"/>
  373. <Column id="possyn" type="STRING" size="256"/>
  374. </ColumnInfo>
  375. <Rows>
  376. <Row>
  377. <Col id="gubuncd">01</Col>
  378. <Col id="possyn">Y</Col>
  379. </Row>
  380. </Rows>
  381. </Dataset>
  382. <Dataset id="ds_send_report_possrexlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  383. <Dataset id="ds_init_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  384. </Objects>
  385. <Bind>
  386. <BindItem id="item0" compid="grp_biz.rdo_gubuncd" propid="value" datasetid="ds_send" columnid="gubuncd"/>
  387. <BindItem id="item1" compid="ipt_possyymm" propid="value" datasetid="ds_main_cond" columnid="possyymm"/>
  388. <BindItem id="item2" compid="opt_instcdnm" propid="value" datasetid="ds_send" columnid="instcdnm"/>
  389. <BindItem id="item3" compid="cmb_csrreqdeptcd" propid="value" datasetid="ds_main" columnid="csrreqdeptcd"/>
  390. </Bind>
  391. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  392. * System Name :
  393. * Job Name :
  394. * Creator :
  395. * Make Date : 2017-07-11
  396. * Description :
  397. *---------------------------------------------------------------------------------------
  398. * Modify Date Modifier Modify Description
  399. *---------------------------------------------------------------------------------------
  400. * 2017-07-11 Live Converter TF->XP
  401. *
  402. *---------------------------------------------------------------------------------------
  403. ****************************************************************************************/
  404. include "com_commonxp::comm_main.xjs";
  405. function SMMNG02200_oninit(obj:Form, e:InitEventInfo)
  406. {
  407. frmf_initForm(obj);
  408. }
  409. function SMMNG02200_onload(obj:Form, e:LoadEventInfo)
  410. {
  411. fInitialize();
  412. }
  413. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  414. function fInitialize()
  415. {
  416. ds_send.setColumn(0, "instcdnm" , sysf_getUserInfo("dutplceinstnm")); //기관명
  417. ds_main_cond.setColumn(0, "possyymm", utlf_getCurrentDate().substr(0,6)); //년월
  418. ds_main.setColumn(0, "csrreqdeptcd" , 'all'); //기본값 전체부서
  419. dsf_makeValue(ds_send,"instcd" , "string", sysf_getUserInfo("dutplceinstcd")); //기관코드
  420. ds_send.setColumn(0, "gubuncd" , ds_send.getColumn(0, "gubuncd")); //마스터코드구분 01:물품마스터02:창고마스터
  421. ds_send.setColumn(0, "possyn" , ds_send.getColumn(0, "possyn" )); //보유현황사용유무
  422. // 부서구분 조회
  423. var oParam = {};
  424. oParam.id = "TRMNG00401";
  425. oParam.service = "csrapp.CsrMngt";
  426. oParam.method = "reqGetDeptFlagList";
  427. oParam.inds = "req=ds_send";
  428. oParam.outds = "ds_init_csrreqdeptlist=csrreqdeptlist";
  429. oParam.async = false;
  430. tranf_submit(oParam);
  431. frmf_addComboItem("cmb_csrreqdeptcd", "전체", "all", "above");
  432. var oParam = {};
  433. oParam.id = "TRMNG02202";
  434. oParam.service = "csrapp.CsrDryMngt";
  435. oParam.method = "reqGetPossCnt";
  436. oParam.inds = "req=ds_send";
  437. oParam.outds = "ds_main_possmenucnt=posscnt";
  438. oParam.async = false;
  439. tranf_submit(oParam);
  440. var oParam = {};
  441. oParam.id = "TRMNG02203";
  442. oParam.service = "csrapp.CsrDryMngt";
  443. oParam.method = "reqGetPossMenuList";
  444. oParam.inds = "req=ds_send";
  445. oParam.outds = "ds_main_possmenulist=possmenulist";
  446. oParam.async = false;
  447. tranf_submit(oParam);
  448. fSearch();
  449. }
  450. function fSearch() {
  451. ds_send.setColumn(0, "possyymm", ds_main_cond.getColumn(0, "possyymm").substr(0, 6));
  452. ds_send.setColumn(0, "csreqdeptcd", ds_main.getColumn(0, "csrreqdeptcd"));
  453. ds_send.setColumn(0, "gubuncd", ds_send.getColumn(0, "gubuncd")); //마스터코드구분 01:물품마스터02:창고마스터
  454. var oParam = {};
  455. oParam.id = "TRMNG02201";
  456. oParam.service = "csrapp.CsrDryMngt";
  457. oParam.method = "reqGetPossStateList";
  458. oParam.inds = "req=ds_send";
  459. oParam.outds = "ds_main_possinfo_possstatelist=possstatelist";
  460. oParam.async = false;
  461. tranf_submit(oParam);
  462. fColLqidtys();
  463. }
  464. function fColLqidtys() {
  465. var cnt = ds_main_possmenucnt.getColumn(0, "cnt");
  466. if(Number(cnt) > 0 ){
  467. var hngnm;
  468. var valuechk;
  469. for(var i = 0 ; i <= eval(cnt - 1) ; i++) {
  470. hngnm = ds_main_possmenulist.getColumn(i, "cdnm");
  471. valuechk = ds_main_possmenulist.getColumn(i, "goodscd");
  472. var coltmp = Number(grp_biz.grd_possstatelist.getBindCellIndex("body",valuechk.toLowerCase())); //같은이름의컬럼의 번호를 가져온다
  473. //grp_biz.grd_possstatelist.setRealColSize(coltmp, 50, false);
  474. grp_biz.grd_possstatelist.setFormatColProperty(coltmp,"size",50);
  475. //grd_possstatelist.colhidden(coltmp) = false; //조회된 컬럼 갯수만큼 그리드의 필드를 보여줌
  476. //grd_possstatelist.colwidth(coltmp) = 50; // 컬럼사이즈 fix
  477. //그리드의 타이틀필드값에 상세내역의 타이틀을 세팅
  478. grp_biz.grd_possstatelist.setCellProperty("Head",coltmp,"text",hngnm);
  479. //grd_possstatelist.valuematrix(0, coltmp) = hngnm;
  480. //grd_possstatelist.valuematrix(1, coltmp) = hngnm;
  481. }
  482. }
  483. }
  484. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  485. {
  486. fSearch();
  487. }
  488. function btn_prt_onclick(obj:Button, e:ClickEventInfo)
  489. {
  490. fPrintRex();
  491. }
  492. function button3_onclick(obj:Button, e:ClickEventInfo)
  493. {
  494. grdf_exportExcel(grp_biz.grd_possstatelist, "보유현황", "SheetName" , true, "" , "" , true);
  495. }
  496. function cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  497. {
  498. fSearch();
  499. }
  500. function fPrintRex() {
  501. var oParam = {};
  502. oParam.id = "TRMNG02204";
  503. oParam.service = "csrapp.CsrDryMngt";
  504. oParam.method = "reqGetPossRexList";
  505. oParam.inds = "req=ds_send";
  506. oParam.outds = "ds_main_possrexlist=possrexlist";
  507. oParam.async = false;
  508. tranf_submit(oParam);
  509. dsf_createDs("ds_send_report_possrexlist");
  510. ds_send_report_possrexlist.copyData(ds_main_possrexlist);
  511. //미리보기출력
  512. var objDOM = rptf_createDOM();
  513. rptf_setNodeListToDOM(objDOM, "root/main/possrexlist/possrexlist", ds_send_report_possrexlist); // 데이터셋 1
  514. var objParam = new Object();
  515. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  516. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  517. rptf_exeReportPreview30(["RPMNG02200"],[objParam], option);
  518. }
  519. ]]></Script>
  520. </Form>
  521. </FDL>