SMADT50100_고가고주의고위험재고관리.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT50100" position="absolute 0 0 1182 778" titletext="고가/고주의/고위험 약품관리" onload="SMADT50100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1181 773" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 100 394 300 418" id="roundrect2" type="roundrectangle" anchor="default"/>
  11. <Static position="absolute 158 399 173 414" id="caption39" class="color_7" anchor="default"/>
  12. <Static text="범 례" position="absolute 105 397 150 415" align="align:center middle;" id="caption47" class="cell_2" anchor="default"/>
  13. <Static text="처방내역" position="absolute 0 402 108 423" id="caption4" class="tit_2" anchor="default"/>
  14. <Static text="반환의뢰" position="absolute 175 399 244 413" align="align:center middle;" id="caption55" anchor="default"/>
  15. <Static text="교환약" position="absolute 255 399 300 413" align="align:center middle;" id="caption10" anchor="default"/>
  16. <Static position="absolute 235 399 250 414" align="align:center middle;" id="caption30" class="color_9" anchor="default"/>
  17. <Button position="absolute 1100 396 1180 418" id="button4" class="btn7" text="엑셀저장" anchor="top right" onclick="group3_button4_onclick"/>
  18. <Grid position="absolute 0 423 1180 748" id="grd_prcplist" class="datagrid2" binddataset="ds_main_prcplist_item" anchor="all" cellsizingtype="both" extendsizetype="row">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="25" band="left"/>
  23. <Column size="30"/>
  24. <Column size="56"/>
  25. <Column size="50"/>
  26. <Column size="81"/>
  27. <Column size="53"/>
  28. <Column size="56"/>
  29. <Column size="33"/>
  30. <Column size="34"/>
  31. <Column size="34"/>
  32. <Column size="44"/>
  33. <Column size="30"/>
  34. <Column size="28"/>
  35. <Column size="100"/>
  36. <Column size="90"/>
  37. <Column size="90"/>
  38. <Column size="90"/>
  39. <Column size="80"/>
  40. <Column size="84"/>
  41. <Column size="74"/>
  42. </Columns>
  43. <Rows>
  44. <Row size="30" band="head"/>
  45. <Row size="24"/>
  46. </Rows>
  47. <Band id="head">
  48. <Cell/>
  49. <Cell col="1" text="I/O" wordwrap="char"/>
  50. <Cell col="2" text="등록번호" wordwrap="char"/>
  51. <Cell col="3" text="환자명" wordwrap="char"/>
  52. <Cell col="4" text="진료과" wordwrap="char"/>
  53. <Cell col="5" text="병실" wordwrap="char"/>
  54. <Cell col="6" text="투약번호" wordwrap="char"/>
  55. <Cell col="7" text="수량" wordwrap="char"/>
  56. <Cell col="8" text="횟수" wordwrap="char"/>
  57. <Cell col="9" text="일수" wordwrap="char"/>
  58. <Cell col="10" text="불출량" wordwrap="char"/>
  59. <Cell col="11" text="단위" wordwrap="char"/>
  60. <Cell col="12" text="조제보류" wordwrap="char"/>
  61. <Cell col="13" text="반환확인일시" wordwrap="char"/>
  62. <Cell col="14" text="집계부서" wordwrap="char"/>
  63. <Cell col="15" text="시행부서" wordwrap="char"/>
  64. <Cell col="16" text="발행부서" wordwrap="char"/>
  65. <Cell col="17" text="마감일시" wordwrap="char"/>
  66. <Cell col="18" text="출력일시" wordwrap="char"/>
  67. <Cell col="19" text="실시일자" wordwrap="char"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell celltype="head" text="expr:currow+1"/>
  71. <Cell col="1" text="bind:ioflag"/>
  72. <Cell col="2" text="bind:pid"/>
  73. <Cell col="3" text="bind:hngnm"/>
  74. <Cell col="4" style="align:left top;padding:2 2 0 2;" text="bind:orddeptcdnm" wordwrap="char"/>
  75. <Cell col="5" text="bind:roomcd"/>
  76. <Cell col="6" text="bind:drugno" mask="expr:utlf_isNull(drugno)?'':'######'"/>
  77. <Cell col="7" text="bind:prcpqty"/>
  78. <Cell col="8" text="bind:prcptims"/>
  79. <Cell col="9" text="bind:prcpdayno"/>
  80. <Cell col="10" text="bind:sumqty"/>
  81. <Cell col="11" text="bind:cntsunit"/>
  82. <Cell col="12" displaytype="checkbox" edittype="checkbox" text="bind:nodrug" enable="false"/>
  83. <Cell col="13" displaytype="expr:utlf_isNull(rtndt)?'normal':'date'" text="bind:rtndt" mask="expr:utlf_isNull(rtndt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  84. <Cell col="14" style="align:left top;padding:2 2 0 2;" text="bind:sumdeptcdnm" wordwrap="char"/>
  85. <Cell col="15" style="align:left top;padding:2 2 0 2;" text="bind:execdeptcdnm" wordwrap="char"/>
  86. <Cell col="16" style="align:left top;padding:2 2 0 2;" text="bind:issdeptcdnm" wordwrap="char"/>
  87. <Cell col="17" displaytype="expr:utlf_isNull(sumdt)?'normal':'date'" style="align:left;" text="bind:sumdt" mask="expr:utlf_isNull(sumdt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  88. <Cell col="18" displaytype="expr:utlf_isNull(prntdt)?'normal':'date'" style="align:left;" text="bind:prntdt" mask="expr:utlf_isNull(prntdt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  89. <Cell col="19" displaytype="expr:utlf_isNull(execdd)?'normal':'date'" style="align:left;" text="bind:execdd" mask="expr:utlf_isNull(execdd)?'':'yyyy-MM-dd HH:mm:ss'"/>
  90. </Band>
  91. </Format>
  92. </Formats>
  93. </Grid>
  94. <Div position="absolute 0 0 1180 40" id="group2" class="div_SA" anchor="left top right">
  95. <Layouts>
  96. <Layout>
  97. <Static text="재고일자 :" position="absolute 10 13 98 30" id="caption2" class="search_name" anchor="default"/>
  98. <Button position="absolute 1110 10 1166 32" id="btn_sea" class="btn1" text="조회" onclick="group3_group2_btn_sea_onclick" anchor="top right"/>
  99. <Calendar position="absolute 92 11 200 30" id="input3" class="input_search" anchor="default" autoselect="true"/>
  100. <Static text="구분 :" position="absolute 210 13 296 30" id="caption3" class="search_name" anchor="default"/>
  101. <CheckBox position="absolute 388 11 453 31" id="chk_warn" text="고주의" onchanged="group3_group2_chk_warn_onchanged" anchor="default"/>
  102. <CheckBox position="absolute 333 11 383 31" id="chk_expn" text="고가" onclick="group3_group2_chk_expn_onclick" onchanged="group3_group2_chk_expn_onchanged" anchor="default"/>
  103. <Combo position="absolute 655 11 755 30" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_group2_combo1_onitemchanged" anchor="default">
  104. <Dataset id="innerdataset">
  105. <ColumnInfo>
  106. <Column id="codecolumn"/>
  107. <Column id="datacolumn"/>
  108. </ColumnInfo>
  109. <Rows>
  110. <Row>
  111. <Col id="codecolumn">
  112. </Col>
  113. <Col id="datacolumn">
  114. </Col>
  115. </Row>
  116. <Row>
  117. <Col id="codecolumn">O</Col>
  118. <Col id="datacolumn">외래</Col>
  119. </Row>
  120. <Row>
  121. <Col id="codecolumn">I</Col>
  122. <Col id="datacolumn">병동</Col>
  123. </Row>
  124. <Row>
  125. <Col id="codecolumn">A</Col>
  126. <Col id="datacolumn">병동+외래</Col>
  127. </Row>
  128. </Rows>
  129. </Dataset>
  130. </Combo>
  131. <Static text="추가옵션 :" position="absolute 565 13 651 30" id="caption5" class="search_name" anchor="default"/>
  132. <CheckBox position="absolute 270 11 320 31" id="checkbox5" text="전체" onchanged="group3_group2_checkbox5_onchanged" anchor="default"/>
  133. <CheckBox position="absolute 458 11 523 31" id="chk_dngr" text="고위험" onchanged="group3_group2_chk_dngr_onchanged" anchor="default"/>
  134. <Shape id="line13" linetype="vertical" position="absolute 1093 8 1099 34" anchor="top right"/>
  135. </Layout>
  136. </Layouts>
  137. </Div>
  138. <Button position="absolute 1088 43 1180 65" id="btn_save" class="btn4" text="일재고마감" onclick="group3_btn_save_onclick" anchor="top right"/>
  139. <Button position="absolute 1005 43 1085 65" id="btn_excel" class="btn7" text="엑셀저장" onclick="group3_btn_excel_onclick" anchor="top right"/>
  140. <Button position="absolute 107 43 163 65" id="btn_print" class="btn6" text="출력" anchor="default" onclick="group3_btn_print_onclick" visible="false"/>
  141. <Button position="absolute 0 43 104 65" id="button3" class="btn3" taborder="18" visible="true" text="재고시간관리" onclick="group3_button3_onclick" anchor="default"/>
  142. <Static text="* 불출량 (마감, 집계, 교환약 불출수량/약국미불출과 특수조제 조제보류는 제외/마감이후 의사반환도 포함)" position="absolute 167 46 816 66" id="caption1" anchor="default" style="color:red;font:Dotum,9,bold;"/>
  143. <Button position="absolute 950 43 976 65" id="button5" class="icon_top" text="" onclick="group3_button5_onclick" anchor="top right"/>
  144. <Button position="absolute 976 43 1002 65" id="button6" class="icon_bottom" text="" onclick="group3_button6_onclick" anchor="top right"/>
  145. <Shape id="line01" class="line_1" position="absolute 0 66 1180 70" anchor="left top right"/>
  146. <Shape id="line00" class="line_1" position="absolute 0 65 1180 69" anchor="left top right"/>
  147. <Shape id="line02" class="line_1" position="absolute 0 67 1180 71" anchor="left top right"/>
  148. <Shape id="line03" class="line_1" position="absolute 0 419 1180 423" anchor="left top right"/>
  149. <Shape id="line04" class="line_1" position="absolute 0 418 1180 422" anchor="left top right"/>
  150. <Shape id="line05" class="line_1" position="absolute 0 420 1180 424" anchor="left top right"/>
  151. <Grid position="absolute 0 70 1180 390" id="grd_druglist" binddataset="ds_main_srchcond_druglist" oncellclick="group3_grd_druglist_oncellclick" anchor="left top right" cellsizingtype="both" extendsizetype="row" autoenter="select">
  152. <Formats>
  153. <Format id="default">
  154. <Columns>
  155. <Column size="25" band="left"/>
  156. <Column size="92"/>
  157. <Column size="175"/>
  158. <Column size="34"/>
  159. <Column size="70"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="70"/>
  163. <Column size="0"/>
  164. <Column size="0"/>
  165. <Column size="70"/>
  166. <Column size="0"/>
  167. <Column size="0"/>
  168. <Column size="70"/>
  169. <Column size="0"/>
  170. <Column size="0"/>
  171. <Column size="70"/>
  172. <Column size="0"/>
  173. <Column size="0"/>
  174. <Column size="73"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="70"/>
  178. <Column size="70"/>
  179. <Column size="70"/>
  180. <Column size="70"/>
  181. <Column size="100"/>
  182. <Column size="68"/>
  183. <Column size="130"/>
  184. </Columns>
  185. <Rows>
  186. <Row size="24" band="head"/>
  187. <Row size="24" band="head"/>
  188. <Row size="24"/>
  189. </Rows>
  190. <Band id="head">
  191. <Cell rowspan="2" taborder="undefined"/>
  192. <Cell col="1" rowspan="2" text="약품코드" taborder="undefined"/>
  193. <Cell col="2" rowspan="2" text="약품명" taborder="undefined"/>
  194. <Cell col="3" rowspan="2" text="단위" taborder="undefined"/>
  195. <Cell col="4" colspan="3" text="전일재고" taborder="undefined"/>
  196. <Cell col="7" colspan="3" text="입고량" taborder="undefined"/>
  197. <Cell col="10" colspan="3" text="불출량" taborder="undefined"/>
  198. <Cell col="13" colspan="3" text="반환확인량" taborder="undefined"/>
  199. <Cell col="16" colspan="3" text="전산재고" taborder="undefined"/>
  200. <Cell col="19" colspan="3" text="실재고" taborder="undefined"/>
  201. <Cell col="22" rowspan="2" text="고가내일" taborder="undefined"/>
  202. <Cell col="23" rowspan="2" text="교환내일" taborder="undefined"/>
  203. <Cell col="24" rowspan="2" text="차용" taborder="undefined"/>
  204. <Cell col="25" rowspan="2" text="보정량" taborder="undefined"/>
  205. <Cell col="26" rowspan="2" text="비고" taborder="undefined"/>
  206. <Cell col="27" rowspan="2" text="최종수정자" taborder="undefined"/>
  207. <Cell col="28" rowspan="2" text="최종수정일시" taborder="undefined"/>
  208. <Cell row="1" col="4" text="총재고"/>
  209. <Cell row="1" col="5" text="병동"/>
  210. <Cell row="1" col="6" text="외래"/>
  211. <Cell row="1" col="7" text="총입고"/>
  212. <Cell row="1" col="8" text="병동"/>
  213. <Cell row="1" col="9" text="외래"/>
  214. <Cell row="1" col="10" text="총불출"/>
  215. <Cell row="1" col="11" text="병동"/>
  216. <Cell row="1" col="12" text="외래"/>
  217. <Cell row="1" col="13" text="총반환"/>
  218. <Cell row="1" col="14" text="병동"/>
  219. <Cell row="1" col="15" text="외래"/>
  220. <Cell row="1" col="16" text="총전산재고"/>
  221. <Cell row="1" col="17" text="병동"/>
  222. <Cell row="1" col="18" text="외래"/>
  223. <Cell row="1" col="19" text="총실재고"/>
  224. <Cell row="1" col="20" text="병동"/>
  225. <Cell row="1" col="21" text="외래"/>
  226. </Band>
  227. <Band id="body">
  228. <Cell celltype="head"/>
  229. <Cell col="1" style="align:left top;padding:2 2 0 2;" text="bind:drugcd" wordwrap="char"/>
  230. <Cell col="2" style="align:left top;padding:2 2 0 2;" text="bind:hngnm" wordwrap="char"/>
  231. <Cell col="3" text="bind:cntsunit"/>
  232. <Cell col="4" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:bftotstocqty" mask="expr:utlf_isNull(bftotstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  233. <Cell col="5" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:bfinstocqty" mask="expr:utlf_isNull(bfinstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  234. <Cell col="6" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:bfoutstocqty" mask="expr:utlf_isNull(bfoutstocqty)?'':'#,#0.0#'" editautoselect="false"/>
  235. <Cell col="7" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:totwinqty" mask="expr:utlf_isNull(totwinqty)?'':'#,##0.0#'" editautoselect="false"/>
  236. <Cell col="8" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:inwinqty" mask="expr:utlf_isNull(inwinqty)?'':'#,##0.0#'" editautoselect="false"/>
  237. <Cell col="9" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:outwinqty" mask="expr:utlf_isNull(outwinqty)?'':'#,##0.0#'" editautoselect="false"/>
  238. <Cell col="10" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:totsumqty" mask="expr:utlf_isNull(totsumqty)?'':'#,##0.0#'" editautoselect="false"/>
  239. <Cell col="11" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:insumqty" mask="expr:utlf_isNull(insumqty)?'':'#,##0.0#'" editautoselect="false"/>
  240. <Cell col="12" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:outsumqty" mask="expr:utlf_isNull(outsumqty)?'':'#,##0.0#'" editautoselect="false"/>
  241. <Cell col="13" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:totrtnqty" mask="expr:utlf_isNull(totrtnqty)?'':'#,##0.0#'" editautoselect="false"/>
  242. <Cell col="14" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:inrtnqty" mask="expr:utlf_isNull(inrtnqty)?'':'#,##0.0#'" editautoselect="false"/>
  243. <Cell col="15" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:outrtnqty" mask="expr:utlf_isNull(outrtnqty)?'':'#,##0.0#'" editautoselect="false"/>
  244. <Cell col="16" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:totstocqty" mask="expr:utlf_isNull(totstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  245. <Cell col="17" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:instocqty" mask="expr:utlf_isNull(instocqty)?'':'#,##0.0#'" editautoselect="false"/>
  246. <Cell col="18" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:outstocqty" mask="expr:utlf_isNull(outstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  247. <Cell col="19" displaytype="normal" edittype="masknumber" style="align:right middle;padding:0 2 0 2;" text="bind:realtotstocqty" mask="expr:utlf_isNull(realtotstocqty)?'':'#,##0.0#'" editautoselect="true"/>
  248. <Cell col="20" displaytype="normal" edittype="masknumber" style="align:right middle;padding:0 2 0 2;" text="bind:realinstocqty" mask="expr:utlf_isNull(realinstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  249. <Cell col="21" displaytype="normal" edittype="masknumber" style="align:right middle;padding:0 2 0 2;" text="bind:realoutstocqty" mask="expr:utlf_isNull(realoutstocqty)?'':'#,##0.0#'" editautoselect="false"/>
  250. <Cell col="22" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" text="bind:nextsumqty" mask="expr:utlf_isNull(nextsumqty)?'':'#,##0.0#'" editautoselect="false"/>
  251. <Cell col="23" displaytype="normal" edittype="none" style="align:right middle;padding:0 2 0 2;" mask="expr:utlf_isNull()?'':'#,##0.0#'" editautoselect="false"/>
  252. <Cell col="24" displaytype="normal" edittype="masknumber" style="align:right middle;padding:0 2 0 2;" text="bind:loanqty" mask="expr:utlf_isNull(loanqty)?'':'#,##0.0#'" editautoselect="true"/>
  253. <Cell col="25" edittype="masknumber" style="align:right middle;padding:0 2 0 2;" text="bind:corrqty" mask="expr:utlf_isNull(corrqty)?'':'#,##0.0#'" editautoselect="true"/>
  254. <Cell col="26" displaytype="text" edittype="text" style="align:left top;padding:2 2 0 2;" text="bind:cmt" wordwrap="char" editautoselect="true"/>
  255. <Cell col="27" text="bind:lastupdtrid"/>
  256. <Cell col="28" displaytype="expr:utlf_isNull(lastupdtdt)?'normal':'date'" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt)?'':'yyyy-MM-dd HH:mm:ss'"/>
  257. </Band>
  258. </Format>
  259. </Formats>
  260. </Grid>
  261. <Div position="absolute 465 210 700 346" id="group4" class="div_SA2" visible="false" anchor="default">
  262. <Layouts>
  263. <Layout>
  264. <Calendar position="absolute 124 11 224 30" id="input1" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  265. <Static text="시작재고일자 :" position="absolute 11 13 124 30" id="caption6" class="tit_2" anchor="default"/>
  266. <Static text="총재고량 :" position="absolute 11 36 127 53" id="caption7" class="tit_2" anchor="default"/>
  267. <MaskEdit position="absolute 123 34 223 53" id="input2" mask="(-1)#,###" anchor="default"/>
  268. <Button position="absolute 107 104 163 126" id="button1" class="btn4" text="저장" anchor="default"/>
  269. <Button position="absolute 167 104 223 126" id="button2" class="btn4" text="닫기" onclick="group3_group4_button2_onclick" anchor="default"/>
  270. <MaskEdit position="absolute 123 57 223 76" id="input4" mask="(-1)#,###" anchor="default"/>
  271. <Static text="병동재고량 :" position="absolute 11 59 119 76" id="caption8" class="tit_2" anchor="default"/>
  272. <Static text="외래재고량 :" position="absolute 11 82 119 99" id="caption9" class="tit_2" anchor="default"/>
  273. <MaskEdit position="absolute 123 80 223 99" id="input5" mask="(-1)#,###" anchor="default"/>
  274. </Layout>
  275. </Layouts>
  276. </Div>
  277. </Layout>
  278. </Layouts>
  279. </Div>
  280. <Static id="caption19" text="고가/고주의/고위험 약품관리" class="tit_1" position="absolute 0 0 220 25"/>
  281. </Layout>
  282. </Layouts>
  283. <Objects>
  284. <Dataset id="ds_main_prcplist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="ioflag" type="STRING"/>
  287. <Column id="pid" type="STRING"/>
  288. <Column id="hngnm" type="STRING"/>
  289. <Column id="orddeptcdnm" type="STRING"/>
  290. <Column id="roomcd" type="STRING"/>
  291. <Column id="drugno" type="STRING"/>
  292. <Column id="prcpqty" type="STRING"/>
  293. <Column id="prcptims" type="STRING"/>
  294. <Column id="prcpdayno" type="STRING"/>
  295. <Column id="sumqty" type="STRING"/>
  296. <Column id="cntsunit" type="STRING"/>
  297. <Column id="nodrug" type="STRING"/>
  298. <Column id="rtndt" type="STRING"/>
  299. <Column id="sumdeptcdnm" type="STRING"/>
  300. <Column id="execdeptcdnm" type="STRING"/>
  301. <Column id="issdeptcdnm" type="STRING"/>
  302. <Column id="sumdt" type="STRING"/>
  303. <Column id="prntdt" type="STRING"/>
  304. <Column id="execdd" type="STRING"/>
  305. </ColumnInfo>
  306. </Dataset>
  307. <Dataset id="ds_main_srchcond_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  308. <ColumnInfo>
  309. <Column id="drugcd" type="STRING"/>
  310. <Column id="hngnm" type="STRING"/>
  311. <Column id="cntsunit" type="STRING"/>
  312. <Column id="bftotstocqty" type="STRING"/>
  313. <Column id="bfinstocqty" type="STRING"/>
  314. <Column id="bfoutstocqty" type="STRING"/>
  315. <Column id="totwinqty" type="STRING"/>
  316. <Column id="inwinqty" type="STRING"/>
  317. <Column id="outwinqty" type="STRING"/>
  318. <Column id="totsumqty" type="STRING"/>
  319. <Column id="insumqty" type="STRING"/>
  320. <Column id="outsumqty" type="STRING"/>
  321. <Column id="totrtnqty" type="STRING"/>
  322. <Column id="inrtnqty" type="STRING"/>
  323. <Column id="outrtnqty" type="STRING"/>
  324. <Column id="totstocqty" type="STRING"/>
  325. <Column id="instocqty" type="STRING"/>
  326. <Column id="outstocqty" type="STRING"/>
  327. <Column id="realtotstocqty" type="STRING"/>
  328. <Column id="realinstocqty" type="STRING"/>
  329. <Column id="realoutstocqty" type="STRING"/>
  330. <Column id="nextsumqty" type="STRING"/>
  331. <Column id="loanqty" type="STRING"/>
  332. <Column id="corrqty" type="STRING"/>
  333. <Column id="cmt" type="STRING"/>
  334. <Column id="lastupdtrid" type="STRING"/>
  335. <Column id="lastupdtdt" type="STRING"/>
  336. </ColumnInfo>
  337. </Dataset>
  338. <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  339. <ColumnInfo>
  340. <Column id="enddd" type="STRING" size="256"/>
  341. <Column id="viewopt" type="STRING" size="256"/>
  342. <Column id="ynall" type="STRING" size="256"/>
  343. <Column id="initstocdd" type="STRING" size="256"/>
  344. <Column id="initstocqty" type="STRING" size="256"/>
  345. <Column id="expnyn" type="STRING" size="256"/>
  346. <Column id="warnyn" type="STRING" size="256"/>
  347. <Column id="dngryn" type="STRING" size="256"/>
  348. <Column id="drugcd" type="STRING" size="256"/>
  349. </ColumnInfo>
  350. <Rows>
  351. <Row/>
  352. </Rows>
  353. </Dataset>
  354. <Dataset id="ds_init_sumtmflaglist_flaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  355. <Dataset id="ds_send_data_stocdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  356. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  357. </Objects>
  358. <Bind>
  359. <BindItem id="item0" compid="group3.group2.input3" propid="value" datasetid="ds_send_srchdata" columnid="enddd"/>
  360. <BindItem id="item1" compid="group3.group2.checkbox5" propid="value" datasetid="ds_send_srchdata" columnid="ynall"/>
  361. <BindItem id="item2" compid="group3.group2.chk_expn" propid="value" datasetid="ds_send_srchdata" columnid="expnyn"/>
  362. <BindItem id="item3" compid="group3.group2.chk_warn" propid="value" datasetid="ds_send_srchdata" columnid="warnyn"/>
  363. <BindItem id="item4" compid="group3.group2.chk_dngr" propid="value" datasetid="ds_send_srchdata" columnid="dngryn"/>
  364. <BindItem id="item5" compid="group3.group2.combo1" propid="value" datasetid="ds_send_srchdata" columnid="viewopt"/>
  365. <BindItem id="item6" compid="group3.group4.input1" propid="value" datasetid="ds_send_srchdata" columnid="initstocdd"/>
  366. <BindItem id="item7" compid="group3.group4.input2" propid="value" datasetid="ds_send_srchdata" columnid="initstocqty"/>
  367. <BindItem id="item8" compid="group3.group4.input4" propid="value" datasetid="ds_send_srchdata" columnid="initstocqty"/>
  368. <BindItem id="item9" compid="group3.group4.input5" propid="value" datasetid="ds_send_srchdata" columnid="initstocqty"/>
  369. </Bind>
  370. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  371. * System Name :
  372. * Job Name :
  373. * Creator :
  374. * Make Date : 2015-11-13
  375. * Description :
  376. *---------------------------------------------------------------------------------------
  377. * Modify Date Modifier Modify Description
  378. *---------------------------------------------------------------------------------------
  379. * 2015-11-13 Live Converter TF->XP
  380. *
  381. *---------------------------------------------------------------------------------------
  382. ****************************************************************************************/
  383. //=======================================================================================
  384. // Lib Include
  385. //---------------------------------------------------------------------------------------
  386. include "com_commonxp::comm_main.xjs"
  387. include "ast_commonxp::AST.xjs"
  388. include "ast_pharmacystocxp::SMADT50100.xjs"
  389. var arErrorCode = new HashArray();
  390. function SMADT50100_onload(obj:Form, e:LoadEventInfo)
  391. {
  392. frmf_initForm(obj); // 폼 초기화
  393. ds_send_srchdata.setColumn(0,"enddd", utlf_getCurrentDate()) ;
  394. grdf_setRowTypeIcon(group3.grd_druglist, 0); // 그리드 상태 표시
  395. }
  396. function fStocChk(param) {
  397. if( param == "IS") {
  398. group3.group4.visible = true;
  399. }
  400. }
  401. function group3_group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  402. {
  403. if( group3.group2.chk_expn.value == "" && group3.group2.chk_warn.value == "" && group3.group2.chk_dngr.value == "") {
  404. sysf_messageBox("구분을 하나이상 선택하세요" , "Z001");
  405. return;
  406. }
  407. //model.removeNodeset("/root/main/srchcond/druglist");
  408. //model.removeNodeset("/root/main/prcplist/item");
  409. ds_main_srchcond_druglist.clearData();
  410. ds_main_prcplist_item.clearData();
  411. //submit("TRADT50101");
  412. var oParam = {};
  413. oParam.id = "TRADT50101";
  414. oParam.service = "pharmacystocapp.WarnMngt";
  415. oParam.method = "reqGetWarnStocList";
  416. oParam.inds = "req=ds_send_srchdata";
  417. oParam.outds = "ds_main_srchcond_druglist=druglist";
  418. oParam.async = false;
  419. oParam.callback = "cf_TRADT50101";
  420. tranf_submit(oParam);
  421. fCalcQty();
  422. //combo1.dispatch("xforms-value-changed");
  423. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "realtotstocqty"), "data", "background-color") = "#fcd2c1";
  424. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "realinstocqty"), "data", "background-color") = "#fcd2c1";
  425. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "realoutstocqty"), "data", "background-color") = "#fcd2c1";
  426. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "loanqty"), "data", "background-color") = "#fcd2c1";
  427. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "corrqty"), "data", "background-color") = "#fcd2c1";
  428. group3.grd_druglist.colStyle(group3.grd_druglist.getBindCellIndex("body", "cmt"), "data", "background-color") = "#fcd2c1";
  429. }
  430. function cf_TRADT50101(sSvcId, nErrorCode, sErrorMsg) {
  431. if(nErrorCode < 0) return;
  432. }
  433. function group3_group2_chk_warn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  434. {
  435. if(group3.group2.chk_warn.value == "" ) {
  436. //model.setValue("/root/send/srchdata/ynall", "");
  437. ds_send_srchdata.setColumn(0,"ynall", "") ;
  438. }
  439. //model.refresh();
  440. }
  441. function group3_group2_chk_expn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  442. {
  443. if(group3.group2.chk_expn.value == "" ) {
  444. //model.setValue("/root/send/srchdata/ynall", "");
  445. ds_send_srchdata_ynall.setColumn(0,"ynall", "") ;
  446. }
  447. //model.refresh();
  448. }
  449. function group3_group2_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  450. {
  451. //var opt = model.getValue("/root/send/srchdata/viewopt");
  452. var opt = ds_send_srchdata.getColumn(0,"viewopt");
  453. if(opt == "I") {
  454. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inbrngfwrdqty")) = false;
  455. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inwinqty")) = false;
  456. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "insumqty")) = false;
  457. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "instocqty")) = false;
  458. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inrtnqty")) = false;
  459. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "realinstocqty")) = false;
  460. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outbrngfwrdqty")) = true;
  461. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outwinqty")) = true;
  462. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outsumqty")) = true;
  463. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outstocqty")) = true;
  464. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outrtnqty")) = true;
  465. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "realoutstocqty")) = true;
  466. } else if (opt == "O") {
  467. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inbrngfwrdqty")) = true;
  468. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inwinqty")) = true;
  469. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "insumqty")) = true;
  470. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "instocqty")) = true;
  471. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "inrtnqty")) = true;
  472. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "realinstocqty")) = true;
  473. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outbrngfwrdqty")) = false;
  474. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outwinqty")) = false;
  475. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body", "outsumqty")) = false;
  476. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outstocqty")) = false;
  477. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outrtnqty")) = false;
  478. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","realoutstocqty")) = false;
  479. } else if (opt == "A") {
  480. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inbrngfwrdqty")) = false;
  481. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inwinqty")) = false;
  482. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","insumqty")) = false;
  483. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","instocqty")) = false;
  484. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inrtnqty")) = false;
  485. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","realinstocqty")) = false;
  486. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outbrngfwrdqty")) = false;
  487. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outwinqty")) = false;
  488. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outsumqty")) = false;
  489. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outstocqty")) = false;
  490. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outrtnqty")) = false;
  491. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","realoutstocqty")) = false;
  492. } else {
  493. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inbrngfwrdqty")) = true;
  494. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inwinqty")) = true;
  495. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","insumqty")) = true;
  496. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","instocqty")) = true;
  497. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","inrtnqty")) = true;
  498. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","realinstocqty")) = true;
  499. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outbrngfwrdqty")) = true;
  500. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outwinqty")) = true;
  501. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outsumqty")) = true;
  502. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outstocqty")) = true;
  503. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","outrtnqty")) = true;
  504. group3.grd_druglist.colhidden(grd_druglist.getBindCellIndex("body","realoutstocqty")) = true;
  505. }
  506. }
  507. function group3_group2_checkbox5_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  508. {
  509. if(group3.group2.checkbox5.value == "") {
  510. //model.setValue("/root/send/srchdata/expnyn", "");
  511. //model.setValue("/root/send/srchdata/warnyn", "");
  512. //model.setValue("/root/send/srchdata/dngryn", "");
  513. ds_send_srchdata.setColumn(0,"expnyn", "") ;
  514. ds_send_srchdata.setColumn(0,"warnyn", "") ;
  515. ds_send_srchdata.setColumn(0,"dngryn", "") ;
  516. }else {
  517. //model.setValue("/root/send/srchdata/expnyn", "Y");
  518. //model.setValue("/root/send/srchdata/warnyn", "Y");
  519. //model.setValue("/root/send/srchdata/dngryn", "Y");
  520. ds_send_srchdata.setColumn(0,"expnyn", "Y") ;
  521. ds_send_srchdata.setColumn(0,"warnyn", "Y") ;
  522. ds_send_srchdata.setColumn(0,"dngryn", "Y") ;
  523. }
  524. //model.refresh();
  525. }
  526. function group3_group2_chk_dngr_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  527. {
  528. if(group3.group2.chk_dngr.value == "" ) {
  529. //model.setValue("/root/send/srchdata/ynall", "");
  530. ds_send_srchdata.setColumn(0,"ynall", "") ;
  531. }
  532. //model.refresh();
  533. }
  534. function group3_grd_druglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  535. {
  536. if( e.col != obj.getBindCellIndex("body", "realtotstocqty") && e.col != obj.getBindCellIndex("body", "realinstocqty")
  537. && e.col != obj.getBindCellIndex("body", "realoutstocqty") && e.col != obj.getBindCellIndex("body", "loanqty")
  538. && e.col != obj.getBindCellIndex("body", "corrqty") && e.col != obj.getBindCellIndex("body", "cmt") && e.row > -1) {
  539. var rowid = e.row;
  540. ds_send_srchdata.setColumn(0,"drugcd", ds_main_srchcond_druglist.getColumn(rowid,"drugcd")) ;
  541. var oParam = {};
  542. oParam.id = "TRADT50102";
  543. oParam.service = "pharmacystocapp.WarnMngt";
  544. oParam.method = "reqGetWarnPrcpList";
  545. oParam.inds = "req=ds_send_srchdata";
  546. oParam.outds = "ds_main_prcplist_item=prcplist";
  547. oParam.async = false;
  548. oParam.callback = "cf_TRADT50102";
  549. tranf_submit(oParam);
  550. }
  551. }
  552. function cf_TRADT50102(sSvcId, nErrorCode, sErrorMsg) {
  553. if(nErrorCode < 0) return;
  554. dsf_setTypeFormat(ds_main_prcplist_item, "prcpqty:FLOAT^prcptims:FLOAT^sumqty:FLOAT");
  555. }
  556. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  557. {
  558. dsf_deleteDs("ds_send_data_stocdata");
  559. dsf_createDsRow("ds_send_data_stocdata", [
  560. {col:"drugcd" , type:"STRING" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"drugcd")}
  561. , {col:"totstocqty" , type:"BIGDECIMAL" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"realtotstocqty")}
  562. , {col:"instocqty" , type:"BIGDECIMAL" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"realinstocqty")}
  563. , {col:"outstocqty" , type:"BIGDECIMAL" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"realoutstocqty")}
  564. , {col:"loanqty" , type:"BIGDECIMAL" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"loanqty")}
  565. , {col:"corrqty" , type:"BIGDECIMAL" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"corrqty")}
  566. , {col:"cmt" , type:"STRING" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"cmt")}
  567. , {col:"lastupdtrid" , type:"STRING" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"lastupdtrid")}
  568. , {col:"lastupdtdt" , type:"STRING" , size:256, val:ds_main_srchcond_druglist.getColumn(0,"lastupdtdt")}
  569. ]);
  570. var oParam = {};
  571. oParam.id = "TXADT50101";
  572. oParam.service = "pharmacystocapp.WarnMngt";
  573. oParam.method = "reqExeWarnStocEnd";
  574. oParam.inds = "req=ds_send_srchdata data=ds_send_data_stocdata";
  575. oParam.outds = "ds_temp=count";
  576. oParam.async = false;
  577. //oParam.callback = "cf_TXADT50101";
  578. tranf_submit(oParam);
  579. var e = new ClickEventInfo;
  580. frmf_inputEnterKey("group3.group2.btn_sea", "onclick", e);
  581. }
  582. function group3_button3_onclick(obj:Button, e:ClickEventInfo)
  583. {
  584. frmf_modal("SPADT64100","SPADT64100","","","","","","","","","","","M");
  585. if(frmf_getParameter("SPADT64100_param") == "Y") {
  586. //////////아래 소스 의미없이 카피된듯함. 이화면에서 사용하지 않는 컴포넌트와 데이터셋을 사용
  587. // //if(submit("TRADT10206")) {
  588. // var oParam = {};
  589. // oParam.id = "TRADT10206";
  590. // oParam.service = "pharmacyprescriptionapp.DrugPrint";
  591. // oParam.method = "reqGetSumtmFlagList";
  592. // oParam.inds = "req=ds_";
  593. // oParam.outds = "ds_init_sumtmflaglist_flaglist=flaglist";
  594. // oParam.async = false;
  595. // oParam.callback = "cf_TRADT10206";
  596. //
  597. // tranf_submit(oParam);
  598. //
  599. // if(arErrorCode.pop("TRADT10206") > -1) {
  600. // var idx = cmb_sumtmflag.value;
  601. // //var fromddflag = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/fromddflag");
  602. // //var fromtm = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/fromtm");
  603. // //var toddflag = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/toddflag");
  604. // //var totm = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/totm");
  605. // //model.setValue("/root/hidden/srchinfo/fromddflag", fromddflag);
  606. // //model.setValue("/root/hidden/srchinfo/fromtm", fromtm);
  607. // //model.setValue("/root/hidden/srchinfo/toddflag", toddflag);
  608. // //model.setValue("/root/hidden/srchinfo/totm", totm);
  609. // //model.refresh();
  610. // var fromddflag = ds_init_sumtmflaglist_flaglist.getColumn("flagcd=='"+idx+"'","fromddflag")
  611. // var fromtm = ds_init_sumtmflaglist_flaglist.getColumn("flagcd=='"+idx+"'","fromtm")
  612. // var toddflag = ds_init_sumtmflaglist_flaglist.getColumn("flagcd=='"+idx+"'","toddflag")
  613. // var totm = ds_init_sumtmflaglist_flaglist.getColumn("flagcd=='"+idx+"'","totm")
  614. // ds_hidden_srchinfo.setColumn(0,"fromddflag", fromddflag) ;
  615. // ds_hidden_srchinfo.setColumn(0,"fromtm", fromtm) ;
  616. // ds_hidden_srchinfo.setColumn(0,"toddflag", toddflag) ;
  617. // ds_hidden_srchinfo.setColumn(0,"totm", totm) ;
  618. // }
  619. }
  620. }
  621. function cf_TRADT10206(sSvcId, nErrorCode, sErrorMsg) {
  622. arErrorCode.push(sSvcId, nErrorCode);
  623. }
  624. function group3_group4_button2_onclick(obj:Button, e:ClickEventInfo)
  625. {
  626. group3.group4.visible = false;
  627. }
  628. function group3_button5_onclick(obj:Button, e:ClickEventInfo)
  629. {
  630. group3.grd_druglist.position.bottom = 390;
  631. }
  632. function group3_button6_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. group3.grd_druglist.position.bottom = group3.grd_prcplist.position.bottom;
  635. }
  636. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  637. {
  638. if( ds_main_srchcond_druglist.rowcount > 0 ){
  639. grdf_exportExcel(group3.grd_druglist, "집계리스트", "집계리스트", false, "", "user", false);
  640. } else {
  641. sysf_messageBox("조회된 데이터가 ", "I004");
  642. }
  643. }
  644. function group3_button4_onclick(obj:Button, e:ClickEventInfo)
  645. {
  646. if( ds_main_prcplist_item.rowcount > 0 ){
  647. grdf_exportExcel(group3.grd_prcplist, "집계리스트", "집계리스트", false, "", "user", false);
  648. } else {
  649. sysf_messageBox("조회된 데이터가 ", "I004");
  650. }
  651. }
  652. function group3_btn_print_onclick(obj:Button, e:ClickEventInfo)
  653. {
  654. }
  655. ]]></Script>
  656. </Form>
  657. </FDL>