SMADT12009_통합마약마감확인.xfdl 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT12009" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1196 800" titletext="통합마약마감확인" onload="SMADT12009_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line03" class="line_10" position="absolute 0 441 1195 447" anchor="left right bottom"/>
  8. <Static id="caption6" text=" 통합마약 마감데이타 확인" class="tit_1" position="absolute 0 0 200 25" onclick="caption6_onclick"/>
  9. <Static id="caption00" text="정상 마감데이타 List" class="tit_2" position="absolute 0 73 172 94"/>
  10. <Div id="grp_srch" taborder="29" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  11. <Layouts>
  12. <Layout width="776" height="31"/>
  13. </Layouts>
  14. </Div>
  15. <Grid id="grd_successList" taborder="25" binddataset="ds_successList" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" position="absolute 0 94 1195 417" anchor="all" oncelldblclick="grd_daypatlist_oncelldblclick" scrollpixel="all">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="25" band="left"/>
  20. <Column size="60"/>
  21. <Column size="338"/>
  22. <Column size="66"/>
  23. <Column size="80"/>
  24. <Column size="59"/>
  25. <Column size="180"/>
  26. <Column size="49"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="106"/>
  30. <Column size="80"/>
  31. <Column size="80"/>
  32. <Column size="80"/>
  33. <Column size="51"/>
  34. <Column size="80"/>
  35. <Column size="115"/>
  36. <Column size="125"/>
  37. <Column size="65"/>
  38. <Column size="79"/>
  39. <Column size="113"/>
  40. <Column size="103"/>
  41. <Column size="80"/>
  42. <Column size="80"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. <Column size="103"/>
  46. <Column size="80"/>
  47. <Column size="80"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. <Column size="80"/>
  51. <Column size="160"/>
  52. <Column size="160"/>
  53. <Column size="80"/>
  54. <Column size="80"/>
  55. <Column size="95"/>
  56. <Column size="80"/>
  57. <Column size="137"/>
  58. <Column size="57"/>
  59. <Column size="56"/>
  60. <Column size="54"/>
  61. <Column size="300"/>
  62. <Column size="350"/>
  63. <Column size="70"/>
  64. <Column size="70"/>
  65. <Column size="70"/>
  66. <Column size="70"/>
  67. <Column size="70"/>
  68. <Column size="70"/>
  69. <Column size="70"/>
  70. <Column size="70"/>
  71. <Column size="70"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="80"/>
  76. <Column size="80"/>
  77. <Column size="80"/>
  78. <Column size="80"/>
  79. <Column size="60"/>
  80. <Column size="0"/>
  81. <Column size="80"/>
  82. <Column size="80"/>
  83. </Columns>
  84. <Rows>
  85. <Row size="32" band="head"/>
  86. <Row size="24"/>
  87. </Rows>
  88. <Band id="head">
  89. <Cell/>
  90. <Cell col="1" displaytype="normal" text="기관코드" wordwrap="char"/>
  91. <Cell col="2" displaytype="normal" text="보고자식별ID" wordwrap="char"/>
  92. <Cell col="3" displaytype="normal" text="취급일자" wordwrap="char"/>
  93. <Cell col="4" displaytype="normal" text="마약류취급자식별번호" wordwrap="char"/>
  94. <Cell col="5" displaytype="normal" text="보고구분코드" wordwrap="char"/>
  95. <Cell col="6" displaytype="normal" text="참조사용자보고식별번호" wordwrap="char"/>
  96. <Cell col="7" displaytype="normal" text="보고유형코드" wordwrap="char"/>
  97. <Cell col="8" displaytype="normal" text="비고" wordwrap="char"/>
  98. <Cell col="9" displaytype="normal" text="보고자명" wordwrap="char"/>
  99. <Cell col="10" displaytype="normal" text="보고자업체명" wordwrap="char"/>
  100. <Cell col="11" displaytype="normal" text="담당자명" wordwrap="char"/>
  101. <Cell col="12" displaytype="normal" text="담당자전화번호" wordwrap="char"/>
  102. <Cell col="13" displaytype="normal" text="담당자휴대폰번호" wordwrap="char"/>
  103. <Cell col="14" displaytype="normal" text="수불상세보고수" wordwrap="char"/>
  104. <Cell col="15" displaytype="normal" text="조제투약환자구분코드" wordwrap="char"/>
  105. <Cell col="16" displaytype="normal" text="조제투약환자식별번호유형코드_ND_97" wordwrap="char"/>
  106. <Cell col="17" displaytype="normal" text="조제투약환자식별번호" wordwrap="char"/>
  107. <Cell col="18" displaytype="normal" text="조제투약환자명" wordwrap="char"/>
  108. <Cell col="19" displaytype="normal" text="조제투약처방요양기관기호" wordwrap="char"/>
  109. <Cell col="20" displaytype="normal" text="조제투약처방기관명" wordwrap="char"/>
  110. <Cell col="21" displaytype="normal" text="조제투약처방의면허종별코드_M14" wordwrap="char"/>
  111. <Cell col="22" displaytype="normal" text="조제투약처방의면허번호" wordwrap="char"/>
  112. <Cell col="23" displaytype="normal" text="조제투약처방의명" wordwrap="char"/>
  113. <Cell col="24" displaytype="normal" text="조제투약처방전발급번호" wordwrap="char"/>
  114. <Cell col="25" displaytype="normal" text="조제투약질병분류기호" wordwrap="char"/>
  115. <Cell col="26" displaytype="normal" text="조제투약동물종류구분코드_ND_107" wordwrap="char"/>
  116. <Cell col="27" displaytype="normal" text="조제투약동물수" wordwrap="char"/>
  117. <Cell col="28" displaytype="normal" text="조제투약동물종류명" wordwrap="char"/>
  118. <Cell col="29" displaytype="normal" text="조제투약동물질병명" wordwrap="char"/>
  119. <Cell col="30" displaytype="normal" text="첨부파일건수" wordwrap="char"/>
  120. <Cell col="31" displaytype="normal" text="등록자ID" wordwrap="char"/>
  121. <Cell col="32" displaytype="normal" text="사용자보고식별번호" wordwrap="char"/>
  122. <Cell col="33" displaytype="normal" text="사용자보고라인식별번호" wordwrap="char"/>
  123. <Cell col="34" displaytype="normal" text="저장소번호" wordwrap="char"/>
  124. <Cell col="35" displaytype="normal" text="이동유형코드" wordwrap="char"/>
  125. <Cell col="36" displaytype="normal" text="제품코드" wordwrap="char"/>
  126. <Cell col="37" displaytype="normal" text="제조번호" wordwrap="char"/>
  127. <Cell col="38" displaytype="normal" text="제조일련번호" wordwrap="char"/>
  128. <Cell col="39" displaytype="normal" text="제품최소유통단위" wordwrap="char"/>
  129. <Cell col="40" displaytype="normal" text="낱개단위수량" wordwrap="char"/>
  130. <Cell col="41" displaytype="normal" text="제품낱개단위" wordwrap="char"/>
  131. <Cell col="42" displaytype="normal" text="제품명" wordwrap="char"/>
  132. <Cell col="43" displaytype="normal" text="제품BarCode_RFID" wordwrap="char"/>
  133. <Cell col="44" displaytype="normal" text="제품최소유통단위수량" wordwrap="char"/>
  134. <Cell col="45" displaytype="normal" text="제품총낱개단위수량" wordwrap="char"/>
  135. <Cell col="46" displaytype="normal" text="제품유효기한일자" wordwrap="char"/>
  136. <Cell col="47" displaytype="normal" text="조제투약총처방량" wordwrap="char"/>
  137. <Cell col="48" displaytype="normal" text="조제투약일회량" wordwrap="char"/>
  138. <Cell col="49" displaytype="normal" text="조제투약일일회수" wordwrap="char"/>
  139. <Cell col="50" displaytype="normal" text="조제투약총일수" wordwrap="char"/>
  140. <Cell col="51" displaytype="normal" text="조제투약후폐기량" wordwrap="char"/>
  141. <Cell col="52" displaytype="normal" text="조제투약후폐기량단위" wordwrap="char"/>
  142. <Cell col="53" displaytype="normal" text="파일생성일시" wordwrap="char"/>
  143. <Cell col="54" displaytype="normal" text="파일생성여부(0,1)" wordwrap="char"/>
  144. <Cell col="55" displaytype="normal" text="파일명" wordwrap="char"/>
  145. <Cell col="56" displaytype="normal" text="처방일련번호" wordwrap="char"/>
  146. <Cell col="57" displaytype="normal" text="투약일자" wordwrap="char"/>
  147. <Cell col="58" displaytype="normal" text="투약번호" wordwrap="char"/>
  148. <Cell col="59" displaytype="normal" text="등록번호" wordwrap="char"/>
  149. <Cell col="60" displaytype="normal" text="중점/일반 구분" wordwrap="char"/>
  150. </Band>
  151. <Band id="body">
  152. <Cell celltype="head" text="expr:currow+1"/>
  153. <Cell col="1" displaytype="text" text="bind:instcd"/>
  154. <Cell col="2" displaytype="text" text="bind:bssh_uid"/>
  155. <Cell col="3" displaytype="text" text="bind:hdr_de"/>
  156. <Cell col="4" displaytype="text" text="bind:bssh_cd"/>
  157. <Cell col="5" displaytype="text" text="bind:rpt_se_cd"/>
  158. <Cell col="6" displaytype="text" text="bind:ref_usr_rpt_id_no"/>
  159. <Cell col="7" displaytype="text" text="bind:rpt_ty_cd"/>
  160. <Cell col="8" displaytype="text" text="bind:rmk"/>
  161. <Cell col="9" displaytype="text" text="bind:rptr_nm"/>
  162. <Cell col="10" displaytype="text" text="bind:rptr_entrps_nm"/>
  163. <Cell col="11" displaytype="text" text="bind:chrg_nm"/>
  164. <Cell col="12" displaytype="text" text="bind:chrg_tel_no"/>
  165. <Cell col="13" displaytype="text" text="bind:chrg_mp_no"/>
  166. <Cell col="14" displaytype="text" text="bind:rnd_dtl_rpt_cnt"/>
  167. <Cell col="15" displaytype="text" text="bind:mdc_pat_se_cd"/>
  168. <Cell col="16" displaytype="text" text="bind:mdc_pat_id_no_ty_cd"/>
  169. <Cell col="17" displaytype="text" text="bind:mdc_pat_id_no"/>
  170. <Cell col="18" displaytype="text" text="bind:mdc_pat_nm"/>
  171. <Cell col="19" displaytype="text" text="bind:mdc_hptl_no"/>
  172. <Cell col="20" displaytype="text" text="bind:mdc_instt_nm"/>
  173. <Cell col="21" displaytype="text" text="bind:mdc_lcns_asort_cd"/>
  174. <Cell col="22" displaytype="text" text="bind:mdc_lcns_no"/>
  175. <Cell col="23" displaytype="text" text="bind:mdc_prsc_doc_nm"/>
  176. <Cell col="24" displaytype="text" text="bind:mdc_prsc_ord_no"/>
  177. <Cell col="25" displaytype="text" text="bind:mdc_diss_code"/>
  178. <Cell col="26" displaytype="text" text="bind:mdc_ani_kind_se_cd"/>
  179. <Cell col="27" displaytype="text" text="bind:mdc_ani_cnt"/>
  180. <Cell col="28" displaytype="text" text="bind:mdc_ani_kind_nm"/>
  181. <Cell col="29" displaytype="text" text="bind:mdc_ani_diss_nm"/>
  182. <Cell col="30" displaytype="text" text="bind:atch_file_co"/>
  183. <Cell col="31" displaytype="text" text="bind:register_id"/>
  184. <Cell col="32" displaytype="text" text="bind:usr_rpt_id_no"/>
  185. <Cell col="33" displaytype="text" text="bind:usr_rpt_ln_id_no"/>
  186. <Cell col="34" displaytype="text" text="bind:storge_no"/>
  187. <Cell col="35" displaytype="text" text="bind:mvmn_ty_cd"/>
  188. <Cell col="36" displaytype="text" text="bind:prduct_cd"/>
  189. <Cell col="37" displaytype="text" text="bind:mnf_no"/>
  190. <Cell col="38" displaytype="text" text="bind:mnf_seq"/>
  191. <Cell col="39" displaytype="text" text="bind:prd_min_distb_unit"/>
  192. <Cell col="40" displaytype="text" text="bind:pce_qy"/>
  193. <Cell col="41" displaytype="text" text="bind:prd_pce_unit"/>
  194. <Cell col="42" displaytype="text" text="bind:prduct_nm"/>
  195. <Cell col="43" displaytype="text" text="bind:prd_sgtin"/>
  196. <Cell col="44" displaytype="text" text="bind:prd_min_distb_qy"/>
  197. <Cell col="45" displaytype="text" text="bind:prd_tot_pce_qy"/>
  198. <Cell col="46" displaytype="text" text="bind:prd_valid_de"/>
  199. <Cell col="47" displaytype="text" text="bind:mdc_sum_qy"/>
  200. <Cell col="48" displaytype="text" text="bind:mdc_once_qy"/>
  201. <Cell col="49" displaytype="text" text="bind:mdc_ade_cnt"/>
  202. <Cell col="50" displaytype="text" text="bind:mdc_tot_dcnt"/>
  203. <Cell col="51" displaytype="text" text="bind:mdc_aft_dsuse_qy"/>
  204. <Cell col="52" displaytype="text" text="bind:mdc_aft_dsuse_unit"/>
  205. <Cell col="53" displaytype="text" text="bind:file_creat_dt"/>
  206. <Cell col="54" displaytype="text" text="bind:file_creat_fg"/>
  207. <Cell col="55" displaytype="text" text="bind:file_name"/>
  208. <Cell col="56" displaytype="text" text="bind:prcpno"/>
  209. <Cell col="57" displaytype="text" text="bind:drugdd"/>
  210. <Cell col="58" displaytype="text" text="bind:drugno"/>
  211. <Cell col="59" displaytype="text" text="bind:pid"/>
  212. <Cell col="60" displaytype="text" text="bind:prtm_se_nm"/>
  213. </Band>
  214. </Format>
  215. </Formats>
  216. </Grid>
  217. <Button id="btn_search" taborder="51" text="데이터확인 재조회" class="btn1" position="absolute 1044 34 1184 56" anchor="top right" onclick="btn_search_onclick"/>
  218. <Shape id="line02" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  219. <Static id="caption01" text="오류 마감데이타 List" class="tit_2" position="absolute 0 425 172 446" anchor="left bottom"/>
  220. <Button id="btn_trans" taborder="52" text="전송" class="btn4" position="absolute 1141 67 1195 89" anchor="top right" onclick="btn_trans_onclick" visible="false"/>
  221. <Button id="btn_save" taborder="53" text="저장" class="btn4" position="absolute 1141 419 1195 441" anchor="top right" onclick="btn_save_onclick"/>
  222. <Static id="Static00" text="마감일자 :" class="search_name" position="absolute 15 39 94 51" style="font:Dotum,9,bold;"/>
  223. <Calendar id="Calendar00" taborder="54" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 92 35 184 55" enable="false"/>
  224. <Static id="Static01" text="type :" class="search_name" position="absolute 214 39 261 51" style="font:Dotum,9,bold;"/>
  225. <Radio id="Rad_type" taborder="55" columncount="0" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="grp_srch_Radio00_onitemclick" position="absolute 268 37 379 53" style="font:Dotum,9,bold;" enable="false">
  226. <Dataset id="innerdataset">
  227. <ColumnInfo>
  228. <Column id="codecolumn" size="256"/>
  229. <Column id="datacolumn" size="256"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="codecolumn">중점</Col>
  234. <Col id="datacolumn">중점</Col>
  235. </Row>
  236. <Row>
  237. <Col id="codecolumn">일반</Col>
  238. <Col id="datacolumn">일반</Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. </Radio>
  243. <Static id="Static02" text="구분 :" class="search_name" position="absolute 398 39 445 51" style="font:Dotum,9,bold;"/>
  244. <Radio id="radio2" taborder="56" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="grp_srch_radio2_onitemclick" class="radio_search" position="absolute 449 35 733 55" style="font:Dotum,9,bold; :disabled {textpadding:0 10 0 3;}" enable="false">
  245. <Dataset id="innerdataset">
  246. <ColumnInfo>
  247. <Column id="codecolumn" size="256"/>
  248. <Column id="datacolumn" size="256"/>
  249. </ColumnInfo>
  250. <Rows>
  251. <Row>
  252. <Col id="codecolumn">T</Col>
  253. <Col id="datacolumn">전체</Col>
  254. </Row>
  255. <Row>
  256. <Col id="codecolumn">O</Col>
  257. <Col id="datacolumn">조제신규보고</Col>
  258. </Row>
  259. <Row>
  260. <Col id="codecolumn">R</Col>
  261. <Col id="datacolumn">취소수정보고</Col>
  262. </Row>
  263. </Rows>
  264. </Dataset>
  265. </Radio>
  266. <Grid id="grd_failList" taborder="57" binddataset="ds_failList" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" oncelldblclick="grd_daypatlist_oncelldblclick" position="absolute 0 446 1195 799" anchor="all" scrollpixel="all">
  267. <Formats>
  268. <Format id="default">
  269. <Columns>
  270. <Column size="25" band="left"/>
  271. <Column size="250" band="left"/>
  272. <Column size="60"/>
  273. <Column size="338"/>
  274. <Column size="66"/>
  275. <Column size="80"/>
  276. <Column size="59"/>
  277. <Column size="180"/>
  278. <Column size="49"/>
  279. <Column size="80"/>
  280. <Column size="80"/>
  281. <Column size="106"/>
  282. <Column size="80"/>
  283. <Column size="80"/>
  284. <Column size="80"/>
  285. <Column size="51"/>
  286. <Column size="80"/>
  287. <Column size="115"/>
  288. <Column size="125"/>
  289. <Column size="65"/>
  290. <Column size="79"/>
  291. <Column size="113"/>
  292. <Column size="103"/>
  293. <Column size="80"/>
  294. <Column size="80"/>
  295. <Column size="80"/>
  296. <Column size="80"/>
  297. <Column size="103"/>
  298. <Column size="80"/>
  299. <Column size="80"/>
  300. <Column size="80"/>
  301. <Column size="80"/>
  302. <Column size="80"/>
  303. <Column size="160"/>
  304. <Column size="160"/>
  305. <Column size="80"/>
  306. <Column size="80"/>
  307. <Column size="95"/>
  308. <Column size="80"/>
  309. <Column size="137"/>
  310. <Column size="57"/>
  311. <Column size="56"/>
  312. <Column size="54"/>
  313. <Column size="300"/>
  314. <Column size="350"/>
  315. <Column size="70"/>
  316. <Column size="70"/>
  317. <Column size="70"/>
  318. <Column size="70"/>
  319. <Column size="70"/>
  320. <Column size="70"/>
  321. <Column size="70"/>
  322. <Column size="70"/>
  323. <Column size="70"/>
  324. <Column size="0"/>
  325. <Column size="0"/>
  326. <Column size="0"/>
  327. <Column size="80"/>
  328. <Column size="80"/>
  329. <Column size="80"/>
  330. <Column size="80"/>
  331. <Column size="60"/>
  332. <Column size="0"/>
  333. <Column size="80"/>
  334. <Column size="80"/>
  335. </Columns>
  336. <Rows>
  337. <Row size="32" band="head"/>
  338. <Row size="24"/>
  339. </Rows>
  340. <Band id="head">
  341. <Cell/>
  342. <Cell col="1" text="오류메세지"/>
  343. <Cell col="2" displaytype="normal" text="기관코드" wordwrap="char"/>
  344. <Cell col="3" displaytype="normal" text="보고자식별ID" wordwrap="char"/>
  345. <Cell col="4" displaytype="normal" text="취급일자" wordwrap="char"/>
  346. <Cell col="5" displaytype="normal" text="마약류취급자식별번호" wordwrap="char"/>
  347. <Cell col="6" displaytype="normal" text="보고구분코드" wordwrap="char"/>
  348. <Cell col="7" displaytype="normal" text="참조사용자보고식별번호" wordwrap="char"/>
  349. <Cell col="8" displaytype="normal" text="보고유형코드" wordwrap="char"/>
  350. <Cell col="9" displaytype="normal" text="비고" wordwrap="char"/>
  351. <Cell col="10" displaytype="normal" text="보고자명" wordwrap="char"/>
  352. <Cell col="11" displaytype="normal" text="보고자업체명" wordwrap="char"/>
  353. <Cell col="12" displaytype="normal" text="담당자명" wordwrap="char"/>
  354. <Cell col="13" displaytype="normal" text="담당자전화번호" wordwrap="char"/>
  355. <Cell col="14" displaytype="normal" text="담당자휴대폰번호" wordwrap="char"/>
  356. <Cell col="15" displaytype="normal" text="수불상세보고수" wordwrap="char"/>
  357. <Cell col="16" displaytype="normal" text="조제투약환자구분코드" wordwrap="char"/>
  358. <Cell col="17" displaytype="normal" text="조제투약환자식별번호유형코드_ND_97" wordwrap="char"/>
  359. <Cell col="18" displaytype="normal" text="조제투약환자식별번호" wordwrap="char"/>
  360. <Cell col="19" displaytype="normal" text="조제투약환자명" wordwrap="char"/>
  361. <Cell col="20" displaytype="normal" text="조제투약처방요양기관기호" wordwrap="char"/>
  362. <Cell col="21" displaytype="normal" text="조제투약처방기관명" wordwrap="char"/>
  363. <Cell col="22" displaytype="normal" text="조제투약처방의면허종별코드_M14" wordwrap="char"/>
  364. <Cell col="23" displaytype="normal" text="조제투약처방의면허번호" wordwrap="char"/>
  365. <Cell col="24" displaytype="normal" text="조제투약처방의명" wordwrap="char"/>
  366. <Cell col="25" displaytype="normal" text="조제투약처방전발급번호" wordwrap="char"/>
  367. <Cell col="26" displaytype="normal" text="조제투약질병분류기호" wordwrap="char"/>
  368. <Cell col="27" displaytype="normal" text="조제투약동물종류구분코드_ND_107" wordwrap="char"/>
  369. <Cell col="28" displaytype="normal" text="조제투약동물수" wordwrap="char"/>
  370. <Cell col="29" displaytype="normal" text="조제투약동물종류명" wordwrap="char"/>
  371. <Cell col="30" displaytype="normal" text="조제투약동물질병명" wordwrap="char"/>
  372. <Cell col="31" displaytype="normal" text="첨부파일건수" wordwrap="char"/>
  373. <Cell col="32" displaytype="normal" text="등록자ID" wordwrap="char"/>
  374. <Cell col="33" displaytype="normal" text="사용자보고식별번호" wordwrap="char"/>
  375. <Cell col="34" displaytype="normal" text="사용자보고라인식별번호" wordwrap="char"/>
  376. <Cell col="35" displaytype="normal" text="저장소번호" wordwrap="char"/>
  377. <Cell col="36" displaytype="normal" text="이동유형코드" wordwrap="char"/>
  378. <Cell col="37" displaytype="normal" text="제품코드" wordwrap="char"/>
  379. <Cell col="38" displaytype="normal" text="제조번호" wordwrap="char"/>
  380. <Cell col="39" displaytype="normal" text="제조일련번호" wordwrap="char"/>
  381. <Cell col="40" displaytype="normal" text="제품최소유통단위" wordwrap="char"/>
  382. <Cell col="41" displaytype="normal" text="낱개단위수량" wordwrap="char"/>
  383. <Cell col="42" displaytype="normal" text="제품낱개단위" wordwrap="char"/>
  384. <Cell col="43" displaytype="normal" text="제품명" wordwrap="char"/>
  385. <Cell col="44" displaytype="normal" text="제품BarCode_RFID" wordwrap="char"/>
  386. <Cell col="45" displaytype="normal" text="제품최소유통단위수량" wordwrap="char"/>
  387. <Cell col="46" displaytype="normal" text="제품총낱개단위수량" wordwrap="char"/>
  388. <Cell col="47" displaytype="normal" text="제품유효기한일자" wordwrap="char"/>
  389. <Cell col="48" displaytype="normal" text="조제투약총처방량" wordwrap="char"/>
  390. <Cell col="49" displaytype="normal" text="조제투약일회량" wordwrap="char"/>
  391. <Cell col="50" displaytype="normal" text="조제투약일일회수" wordwrap="char"/>
  392. <Cell col="51" displaytype="normal" text="조제투약총일수" wordwrap="char"/>
  393. <Cell col="52" displaytype="normal" text="조제투약후폐기량" wordwrap="char"/>
  394. <Cell col="53" displaytype="normal" text="조제투약후폐기량단위" wordwrap="char"/>
  395. <Cell col="54" displaytype="normal" text="파일생성일시" wordwrap="char"/>
  396. <Cell col="55" displaytype="normal" text="파일생성여부(0,1)" wordwrap="char"/>
  397. <Cell col="56" displaytype="normal" text="파일명" wordwrap="char"/>
  398. <Cell col="57" displaytype="normal" text="처방일련번호" wordwrap="char"/>
  399. <Cell col="58" displaytype="normal" text="투약일자" wordwrap="char"/>
  400. <Cell col="59" displaytype="normal" text="투약번호" wordwrap="char"/>
  401. <Cell col="60" displaytype="normal" text="등록번호" wordwrap="char"/>
  402. <Cell col="61" displaytype="normal" text="중점/일반 구분" wordwrap="char"/>
  403. </Band>
  404. <Band id="body">
  405. <Cell celltype="head"/>
  406. <Cell col="1" displaytype="text" text="bind:message"/>
  407. <Cell col="2" displaytype="text" text="bind:instcd" editautoselect="true"/>
  408. <Cell col="3" displaytype="text" text="bind:bssh_uid" editautoselect="true"/>
  409. <Cell col="4" displaytype="text" text="bind:hdr_de" editautoselect="true"/>
  410. <Cell col="5" displaytype="text" edittype="text" text="bind:bssh_cd" editautoselect="true"/>
  411. <Cell col="6" displaytype="text" edittype="text" text="bind:rpt_se_cd" editautoselect="true"/>
  412. <Cell col="7" displaytype="text" edittype="text" text="bind:ref_usr_rpt_id_no" editautoselect="true"/>
  413. <Cell col="8" displaytype="text" edittype="text" text="bind:rpt_ty_cd" editautoselect="true"/>
  414. <Cell col="9" displaytype="text" edittype="text" text="bind:rmk" editautoselect="true"/>
  415. <Cell col="10" displaytype="text" edittype="text" text="bind:rptr_nm" editautoselect="true"/>
  416. <Cell col="11" displaytype="text" edittype="text" text="bind:rptr_entrps_nm" editautoselect="true"/>
  417. <Cell col="12" displaytype="text" edittype="text" text="bind:chrg_nm" editautoselect="true"/>
  418. <Cell col="13" displaytype="text" edittype="text" text="bind:chrg_tel_no" editautoselect="true"/>
  419. <Cell col="14" displaytype="text" edittype="text" text="bind:chrg_mp_no" editautoselect="true"/>
  420. <Cell col="15" displaytype="text" edittype="text" text="bind:rnd_dtl_rpt_cnt" editautoselect="true"/>
  421. <Cell col="16" displaytype="text" edittype="text" text="bind:mdc_pat_se_cd" editautoselect="true"/>
  422. <Cell col="17" displaytype="text" edittype="text" text="bind:mdc_pat_id_no_ty_cd" editautoselect="true"/>
  423. <Cell col="18" displaytype="text" edittype="text" text="bind:mdc_pat_id_no" editautoselect="true"/>
  424. <Cell col="19" displaytype="text" edittype="text" text="bind:mdc_pat_nm" editautoselect="true"/>
  425. <Cell col="20" displaytype="text" edittype="text" text="bind:mdc_hptl_no" editautoselect="true"/>
  426. <Cell col="21" displaytype="text" edittype="text" text="bind:mdc_instt_nm" editautoselect="true"/>
  427. <Cell col="22" displaytype="text" edittype="text" text="bind:mdc_lcns_asort_cd" editautoselect="true"/>
  428. <Cell col="23" displaytype="text" edittype="text" text="bind:mdc_lcns_no" editautoselect="true"/>
  429. <Cell col="24" displaytype="text" edittype="text" text="bind:mdc_prsc_doc_nm" editautoselect="true"/>
  430. <Cell col="25" displaytype="text" edittype="text" text="bind:mdc_prsc_ord_no" editautoselect="true"/>
  431. <Cell col="26" displaytype="text" edittype="text" text="bind:mdc_diss_code" editautoselect="true"/>
  432. <Cell col="27" displaytype="text" edittype="text" text="bind:mdc_ani_kind_se_cd" editautoselect="true"/>
  433. <Cell col="28" displaytype="text" edittype="text" text="bind:mdc_ani_cnt" editautoselect="true"/>
  434. <Cell col="29" displaytype="text" edittype="text" text="bind:mdc_ani_kind_nm" editautoselect="true"/>
  435. <Cell col="30" displaytype="text" edittype="text" text="bind:mdc_ani_diss_nm" editautoselect="true"/>
  436. <Cell col="31" displaytype="text" edittype="text" text="bind:atch_file_co" editautoselect="true"/>
  437. <Cell col="32" displaytype="text" text="bind:register_id" editautoselect="true"/>
  438. <Cell col="33" displaytype="text" text="bind:usr_rpt_id_no" editautoselect="true"/>
  439. <Cell col="34" displaytype="text" text="bind:usr_rpt_ln_id_no" editautoselect="true"/>
  440. <Cell col="35" displaytype="text" edittype="text" text="bind:storge_no" editautoselect="true"/>
  441. <Cell col="36" displaytype="text" edittype="text" text="bind:mvmn_ty_cd" editautoselect="true"/>
  442. <Cell col="37" displaytype="text" edittype="text" text="bind:prduct_cd" editautoselect="true"/>
  443. <Cell col="38" displaytype="text" edittype="text" text="bind:mnf_no" editautoselect="true"/>
  444. <Cell col="39" displaytype="text" edittype="text" text="bind:mnf_seq" editautoselect="true"/>
  445. <Cell col="40" displaytype="text" edittype="text" text="bind:prd_min_distb_unit" editautoselect="true"/>
  446. <Cell col="41" displaytype="text" edittype="text" text="bind:pce_qy" editautoselect="true"/>
  447. <Cell col="42" displaytype="text" edittype="text" text="bind:prd_pce_unit" editautoselect="true"/>
  448. <Cell col="43" displaytype="text" text="bind:prduct_nm" editautoselect="true"/>
  449. <Cell col="44" displaytype="text" text="bind:prd_sgtin" editautoselect="true"/>
  450. <Cell col="45" displaytype="text" edittype="text" text="bind:prd_min_distb_qy" editautoselect="true"/>
  451. <Cell col="46" displaytype="text" edittype="text" text="bind:prd_tot_pce_qy" editautoselect="true"/>
  452. <Cell col="47" displaytype="text" edittype="text" text="bind:prd_valid_de" editautoselect="true"/>
  453. <Cell col="48" displaytype="text" edittype="text" text="bind:mdc_sum_qy" editautoselect="true"/>
  454. <Cell col="49" displaytype="text" edittype="text" text="bind:mdc_once_qy" editautoselect="true"/>
  455. <Cell col="50" displaytype="text" edittype="text" text="bind:mdc_ade_cnt" editautoselect="true"/>
  456. <Cell col="51" displaytype="text" edittype="text" text="bind:mdc_tot_dcnt" editautoselect="true"/>
  457. <Cell col="52" displaytype="text" edittype="text" text="bind:mdc_aft_dsuse_qy" editautoselect="true"/>
  458. <Cell col="53" displaytype="text" edittype="text" text="bind:mdc_aft_dsuse_unit" editautoselect="true"/>
  459. <Cell col="54" displaytype="text" edittype="text" text="bind:file_creat_dt" editautoselect="true"/>
  460. <Cell col="55" displaytype="text" edittype="text" text="bind:file_creat_fg" editautoselect="true"/>
  461. <Cell col="56" displaytype="text" edittype="text" text="bind:file_name" editautoselect="true"/>
  462. <Cell col="57" displaytype="text" text="bind:prcpno" editautoselect="true"/>
  463. <Cell col="58" displaytype="text" text="bind:drugdd" editautoselect="true"/>
  464. <Cell col="59" displaytype="text" text="bind:drugno" editautoselect="true"/>
  465. <Cell col="60" displaytype="text" text="bind:pid" editautoselect="true"/>
  466. <Cell col="61" displaytype="text" edittype="text" text="bind:prtm_se_nm" editautoselect="true"/>
  467. </Band>
  468. </Format>
  469. </Formats>
  470. </Grid>
  471. <Button id="btn_excel" taborder="58" text="엑셀저장" position="absolute 1058 419 1138 441" class="btn7" onclick="btn_excel_onclick"/>
  472. </Layout>
  473. </Layouts>
  474. <Bind>
  475. <BindItem id="item0" compid="Calendar00" propid="value" datasetid="ds_senddata" columnid="magamdd"/>
  476. <BindItem id="item2" compid="Rad_type" propid="value" datasetid="ds_senddata" columnid="typeflag"/>
  477. <BindItem id="item1" compid="radio2" propid="value" datasetid="ds_senddata" columnid="magamflag"/>
  478. </Bind>
  479. <Objects>
  480. <Dataset id="ds_successList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  481. <Dataset id="ds_successList">
  482. <ColumnInfo>
  483. <Column id="mdc_diss_code" type="STRING" size="255"/>
  484. <Column id="chrg_tel_no" type="STRING" size="255"/>
  485. <Column id="file_creat_fg" type="STRING" size="255"/>
  486. <Column id="chrg_mp_no" type="STRING" size="255"/>
  487. <Column id="mdc_ade_cnt" type="BIGDECIMAL" size="255"/>
  488. <Column id="rptr_entrps_nm" type="STRING" size="255"/>
  489. <Column id="chrg_nm" type="STRING" size="255"/>
  490. <Column id="pce_qy" type="BIGDECIMAL" size="255"/>
  491. <Column id="mdc_once_qy" type="BIGDECIMAL" size="255"/>
  492. <Column id="mdc_tot_dcnt" type="BIGDECIMAL" size="255"/>
  493. <Column id="mdc_pat_id_no" type="STRING" size="255"/>
  494. <Column id="rpt_se_cd" type="STRING" size="255"/>
  495. <Column id="mdc_ani_kind_nm" type="STRING" size="255"/>
  496. <Column id="register_id" type="STRING" size="255"/>
  497. <Column id="mdc_pat_nm" type="STRING" size="255"/>
  498. <Column id="mnf_seq" type="STRING" size="255"/>
  499. <Column id="mdc_hptl_no" type="STRING" size="255"/>
  500. <Column id="fstrgstrid" type="STRING" size="255"/>
  501. <Column id="ref_usr_rpt_id_no" type="STRING" size="255"/>
  502. <Column id="usr_rpt_id_no" type="STRING" size="255"/>
  503. <Column id="usr_rpt_ln_id_no" type="STRING" size="255"/>
  504. <Column id="prduct_nm" type="STRING" size="255"/>
  505. <Column id="prd_pce_unit" type="STRING" size="255"/>
  506. <Column id="lastupdtdt" type="STRING" size="255"/>
  507. <Column id="mdc_aft_dsuse_qy" type="BIGDECIMAL" size="255"/>
  508. <Column id="prduct_cd" type="STRING" size="255"/>
  509. <Column id="fstrgstdt" type="STRING" size="255"/>
  510. <Column id="mdc_prsc_ord_no" type="STRING" size="255"/>
  511. <Column id="instcd" type="STRING" size="255"/>
  512. <Column id="drugno" type="BIGDECIMAL" size="255"/>
  513. <Column id="prd_min_distb_qy" type="BIGDECIMAL" size="255"/>
  514. <Column id="mdc_pat_se_cd" type="STRING" size="255"/>
  515. <Column id="mdc_lcns_asort_cd" type="STRING" size="255"/>
  516. <Column id="mdc_ani_cnt" type="BIGDECIMAL" size="255"/>
  517. <Column id="mnf_no" type="STRING" size="255"/>
  518. <Column id="mdc_lcns_no" type="STRING" size="255"/>
  519. <Column id="rptr_nm" type="STRING" size="255"/>
  520. <Column id="prd_tot_pce_qy" type="BIGDECIMAL" size="255"/>
  521. <Column id="prcpno" type="BIGDECIMAL" size="255"/>
  522. <Column id="file_name" type="STRING" size="255"/>
  523. <Column id="storge_no" type="STRING" size="255"/>
  524. <Column id="lastupdtrid" type="STRING" size="255"/>
  525. <Column id="bssh_cd" type="STRING" size="255"/>
  526. <Column id="hdr_de" type="STRING" size="255"/>
  527. <Column id="prtm_se_nm" type="STRING" size="255"/>
  528. <Column id="rpt_ty_cd" type="STRING" size="255"/>
  529. <Column id="rmk" type="STRING" size="255"/>
  530. <Column id="prd_sgtin" type="STRING" size="255"/>
  531. <Column id="rnd_dtl_rpt_cnt" type="BIGDECIMAL" size="255"/>
  532. <Column id="drugdd" type="STRING" size="255"/>
  533. <Column id="bssh_uid" type="STRING" size="255"/>
  534. <Column id="prd_valid_de" type="STRING" size="255"/>
  535. <Column id="pid" type="STRING" size="255"/>
  536. <Column id="mdc_ani_kind_se_cd" type="STRING" size="255"/>
  537. <Column id="atch_file_co" type="BIGDECIMAL" size="255"/>
  538. <Column id="mdc_prsc_doc_nm" type="STRING" size="255"/>
  539. <Column id="message" type="STRING" size="255"/>
  540. <Column id="file_creat_dt" type="STRING" size="255"/>
  541. <Column id="mdc_pat_id_no_ty_cd" type="STRING" size="255"/>
  542. <Column id="mdc_ani_diss_nm" type="STRING" size="255"/>
  543. <Column id="mvmn_ty_cd" type="STRING" size="255"/>
  544. <Column id="mdc_sum_qy" type="BIGDECIMAL" size="255"/>
  545. <Column id="mdc_aft_dsuse_unit" type="STRING" size="255"/>
  546. <Column id="prd_min_distb_unit" type="STRING" size="255"/>
  547. <Column id="mdc_instt_nm" type="STRING" size="255"/>
  548. </ColumnInfo>
  549. </Dataset>
  550. <ColumnInfo>
  551. <Column id="mdc_diss_code" type="STRING" size="255"/>
  552. <Column id="chrg_tel_no" type="STRING" size="255"/>
  553. <Column id="file_creat_fg" type="STRING" size="255"/>
  554. <Column id="chrg_mp_no" type="STRING" size="255"/>
  555. <Column id="mdc_ade_cnt" type="BIGDECIMAL" size="255"/>
  556. <Column id="rptr_entrps_nm" type="STRING" size="255"/>
  557. <Column id="chrg_nm" type="STRING" size="255"/>
  558. <Column id="pce_qy" type="BIGDECIMAL" size="255"/>
  559. <Column id="mdc_once_qy" type="BIGDECIMAL" size="255"/>
  560. <Column id="mdc_tot_dcnt" type="BIGDECIMAL" size="255"/>
  561. <Column id="mdc_pat_id_no" type="STRING" size="255"/>
  562. <Column id="rpt_se_cd" type="STRING" size="255"/>
  563. <Column id="mdc_ani_kind_nm" type="STRING" size="255"/>
  564. <Column id="register_id" type="STRING" size="255"/>
  565. <Column id="mdc_pat_nm" type="STRING" size="255"/>
  566. <Column id="mnf_seq" type="STRING" size="255"/>
  567. <Column id="mdc_hptl_no" type="STRING" size="255"/>
  568. <Column id="fstrgstrid" type="STRING" size="255"/>
  569. <Column id="ref_usr_rpt_id_no" type="STRING" size="255"/>
  570. <Column id="usr_rpt_id_no" type="STRING" size="255"/>
  571. <Column id="usr_rpt_ln_id_no" type="STRING" size="255"/>
  572. <Column id="prduct_nm" type="STRING" size="255"/>
  573. <Column id="prd_pce_unit" type="STRING" size="255"/>
  574. <Column id="lastupdtdt" type="STRING" size="255"/>
  575. <Column id="mdc_aft_dsuse_qy" type="BIGDECIMAL" size="255"/>
  576. <Column id="prduct_cd" type="STRING" size="255"/>
  577. <Column id="fstrgstdt" type="STRING" size="255"/>
  578. <Column id="mdc_prsc_ord_no" type="STRING" size="255"/>
  579. <Column id="instcd" type="STRING" size="255"/>
  580. <Column id="drugno" type="BIGDECIMAL" size="255"/>
  581. <Column id="prd_min_distb_qy" type="BIGDECIMAL" size="255"/>
  582. <Column id="mdc_pat_se_cd" type="STRING" size="255"/>
  583. <Column id="mdc_lcns_asort_cd" type="STRING" size="255"/>
  584. <Column id="mdc_ani_cnt" type="BIGDECIMAL" size="255"/>
  585. <Column id="mnf_no" type="STRING" size="255"/>
  586. <Column id="mdc_lcns_no" type="STRING" size="255"/>
  587. <Column id="rptr_nm" type="STRING" size="255"/>
  588. <Column id="prd_tot_pce_qy" type="BIGDECIMAL" size="255"/>
  589. <Column id="prcpno" type="BIGDECIMAL" size="255"/>
  590. <Column id="file_name" type="STRING" size="255"/>
  591. <Column id="storge_no" type="STRING" size="255"/>
  592. <Column id="lastupdtrid" type="STRING" size="255"/>
  593. <Column id="bssh_cd" type="STRING" size="255"/>
  594. <Column id="hdr_de" type="STRING" size="255"/>
  595. <Column id="prtm_se_nm" type="STRING" size="255"/>
  596. <Column id="rpt_ty_cd" type="STRING" size="255"/>
  597. <Column id="rmk" type="STRING" size="255"/>
  598. <Column id="prd_sgtin" type="STRING" size="255"/>
  599. <Column id="rnd_dtl_rpt_cnt" type="BIGDECIMAL" size="255"/>
  600. <Column id="drugdd" type="STRING" size="255"/>
  601. <Column id="bssh_uid" type="STRING" size="255"/>
  602. <Column id="prd_valid_de" type="STRING" size="255"/>
  603. <Column id="pid" type="STRING" size="255"/>
  604. <Column id="mdc_ani_kind_se_cd" type="STRING" size="255"/>
  605. <Column id="atch_file_co" type="BIGDECIMAL" size="255"/>
  606. <Column id="mdc_prsc_doc_nm" type="STRING" size="255"/>
  607. <Column id="message" type="STRING" size="255"/>
  608. <Column id="file_creat_dt" type="STRING" size="255"/>
  609. <Column id="mdc_pat_id_no_ty_cd" type="STRING" size="255"/>
  610. <Column id="mdc_ani_diss_nm" type="STRING" size="255"/>
  611. <Column id="mvmn_ty_cd" type="STRING" size="255"/>
  612. <Column id="mdc_sum_qy" type="BIGDECIMAL" size="255"/>
  613. <Column id="mdc_aft_dsuse_unit" type="STRING" size="255"/>
  614. <Column id="prd_min_distb_unit" type="STRING" size="255"/>
  615. <Column id="mdc_instt_nm" type="STRING" size="255"/>
  616. </ColumnInfo>
  617. </Dataset>
  618. <Dataset id="ds_failList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  619. <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  620. <ColumnInfo>
  621. <Column id="instcd" type="STRING" size="256"/>
  622. <Column id="magamdd" type="STRING" size="256"/>
  623. <Column id="magamflag" type="STRING" size="256"/>
  624. <Column id="userid" type="STRING" size="256"/>
  625. <Column id="ioflag" type="STRING" size="256"/>
  626. <Column id="ref_usr_rpt_id_no" type="STRING" size="256"/>
  627. <Column id="workflag" type="STRING" size="256"/>
  628. <Column id="typeflag" type="STRING" size="256"/>
  629. </ColumnInfo>
  630. <Rows>
  631. <Row/>
  632. </Rows>
  633. </Dataset>
  634. </Objects>
  635. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  636. * System Name :
  637. * Job Name :
  638. * Creator :
  639. * Make Date : 2018-12-24
  640. * Description :
  641. *---------------------------------------------------------------------------------------
  642. * Modify Date Modifier Modify Description
  643. *---------------------------------------------------------------------------------------
  644. * 2018-12-24 Live Converter TF->XP
  645. *
  646. *---------------------------------------------------------------------------------------
  647. ****************************************************************************************/
  648. //=======================================================================================
  649. // Lib Include
  650. //---------------------------------------------------------------------------------------
  651. include "com_commonxp::comm_main.xjs";
  652. //=======================================================================================
  653. // Global Form Variable
  654. //---------------------------------------------------------------------------------------
  655. var arErrorCode = new HashArray();
  656. //=======================================================================================
  657. // Function
  658. //---------------------------------------------------------------------------------------
  659. /*-**************************************************************************************
  660. * Argument : N/A
  661. * Description : 화면 로드시 초기화 함수
  662. ****************************************************************************************/
  663. //=======================================================================================
  664. // Event
  665. //---------------------------------------------------------------------------------------
  666. /****************************************************************************************
  667. * Components : Form
  668. * Description : 화면 처음 초기화시 폼초기화
  669. ****************************************************************************************/
  670. function SMADT12009_onload(obj:Form, e:LoadEventInfo)
  671. {
  672. frmf_initForm(obj); // 폼 초기화
  673. ds_senddata.copyData(arg_ds_senddata);
  674. ds_successList.copyData(arg_ds_successList);
  675. ds_failList.copyData(arg_ds_failList);
  676. grdf_setGridSort(grd_successList);
  677. grdf_setGridSort(grd_failList);
  678. grdf_setRowTypeIcon(grd_failList, 0);
  679. grdf_setToolTipBind(grd_successList);
  680. grdf_setToolTipBind(grd_failList);
  681. }
  682. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  683. {
  684. ds_successList.clearData();
  685. ds_failList.clearData();
  686. var oParam = {};
  687. oParam.id = "TRADT12023";
  688. oParam.service = "pharmacydrugsumapp.NarcManagent";
  689. oParam.method = "reqGetMagamDrugStocDataChk";
  690. oParam.inds = "req=ds_senddata";
  691. oParam.outds = "ds_successList=successlist ds_failList=faillist";
  692. //oParam.callback = "cf_TRADT12023";
  693. oParam.async = false;
  694. tranf_submit(oParam);
  695. }
  696. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  697. {
  698. var dsUpdate = grdf_getGridUpdateData(grd_failList, "update");
  699. grdf_setStatusColumn(dsUpdate, "m");
  700. dsf_createDs("ds_savedata");
  701. ds_savedata.copyData(dsUpdate, true);
  702. var oParam = {};
  703. oParam.id = "TXADT12023";
  704. oParam.service = "pharmacydrugsumapp.NarcManagent";
  705. oParam.method = "reqSetMagamErrData";
  706. oParam.inds = "req=ds_savedata";
  707. oParam.outds = "";
  708. oParam.callback = "cf_TXADT12023";
  709. oParam.async = false;
  710. tranf_submit(oParam);
  711. if(arErrorCode.pop("TXADT12023") > -1) {
  712. btn_search.click();
  713. }
  714. }
  715. function cf_TXADT12023(sSvcId, nErrorCode, sErrorMsg) {
  716. arErrorCode.push(sSvcId, nErrorCode);
  717. }
  718. function btn_trans_onclick(obj:Button, e:ClickEventInfo)
  719. {
  720. }
  721. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  722. {
  723. if( ds_failList.rowcount > 0 ){
  724. grdf_exportExcel(grd_failList, "Excel", "Sheet1", false, "", "user", false);
  725. } else {
  726. sysf_messageBox("조회된 데이터가 ", "I004");
  727. }
  728. }
  729. ]]></Script>
  730. </Form>
  731. </FDL>