SPADC60300_약품식별약품검색.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>약품식별 약품검색</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <drugidlist>
  11. <sel/>
  12. <phot/>
  13. <char1/>
  14. <char2/>
  15. <longax/>
  16. <shrtax/>
  17. <hngnm/>
  18. <drugcd/>
  19. <comcnts/>
  20. <efcysmm/>
  21. <homodrugflag/>
  22. <samedrug/>
  23. <photoid/>
  24. <useyn/>
  25. <atccode/>
  26. </drugidlist>
  27. <item>
  28. <shapecd/>
  29. </item>
  30. </main>
  31. <send>
  32. <drugidinfo/>
  33. <drugidlist/>
  34. <srchuseyn/>
  35. </send>
  36. <init>
  37. <comboitem>
  38. <drugtype>
  39. <A0044>
  40. <cdid/>
  41. <cdnm/>
  42. </A0044>
  43. </drugtype>
  44. </comboitem>
  45. </init>
  46. <hidden>
  47. <drugidinfo>
  48. <srchflag>1</srchflag>
  49. <char/>
  50. <drugcd/>
  51. <comcnts/>
  52. <hngnm/>
  53. <engnm/>
  54. <srchname/>
  55. <drugtype/>
  56. <shapecd/>
  57. <prodcmpynm/>
  58. <divline1/>
  59. <divline2/>
  60. <color/>
  61. <shape/>
  62. <atccodeyn/>
  63. </drugidinfo>
  64. <receiveshape>
  65. <shape/>
  66. <shapecd/>
  67. </receiveshape>
  68. <useyninfo>
  69. <useyn/>
  70. </useyninfo>
  71. <recieveprodcmpy>/root/hidden/drugidinfo/prodcmpynm</recieveprodcmpy>
  72. </hidden>
  73. <temp>
  74. <tmpdrugtype>2|3</tmpdrugtype>
  75. <etcdrugtype/>
  76. <drugphot/>
  77. <retri>
  78. <restr/>
  79. <retype/>
  80. </retri>
  81. </temp>
  82. </root>
  83. </instance>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  88. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  89. <script type="javascript" src="../../../ast/pharmacyweb/js/SPADC60300.js"/>
  90. <submission id="TRZBC00101"/>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInit();
  94. ]]>
  95. </script>
  96. <submission id="TRADB60301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drugidinfo" replace="instance" resultref="/root/main/drugidlist"/>
  97. <submission id="TRADB60302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchuseyn" replace="instance" resultref="/root/hidden/useyninfo"/>
  98. </model>
  99. </xhtml:head>
  100. <xhtml:body guideline="2,11;1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  101. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">약품식별 약품검색</caption>
  102. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:345px; height:735px; background-color:#fffbf2; border-color:#ffd799; "/>
  103. <line id="line1" class="line_1" style="x1:350px; y1:49px; x2:1190px; y2:49px; "/>
  104. <line id="line2" class="line_3" style="x1:350px; y1:755px; x2:1190px; y2:755px; "/>
  105. <select1 id="radio2" ref="/root/hidden/drugidinfo/srchflag" class="radio_search" appearance="full" cols="2" rows="1" overflow="visible" style="left:225px; top:80px; width:110px; height:20px; border-style:none; ">
  106. <choices>
  107. <item>
  108. <label>포함</label>
  109. <value>1</value>
  110. </item>
  111. <item>
  112. <label>일치</label>
  113. <value>2</value>
  114. </item>
  115. </choices>
  116. </select1>
  117. <line id="line3" class="line_2" style="x1:5px; y1:50px; x2:340px; y2:50px; border-left-style:solid; "/>
  118. <caption id="caption5" class="search_name" style="left:10px; top:55px; width:86px; height:17px; ">문자 :</caption>
  119. <input id="input1" ref="/root/hidden/drugidinfo/char" class="input_search" style="left:115px; top:55px; width:220px; height:19px; ">
  120. <script type="javascript" ev:event="onkeydown">
  121. <![CDATA[
  122. inputEnterKey("btn_sea","DOMActivate");
  123. ]]>
  124. </script>
  125. </input>
  126. <caption id="caption1" class="search_name" style="left:10px; top:105px; width:86px; height:17px; ">원내코드 :</caption>
  127. <caption id="caption2" class="search_name" style="left:10px; top:155px; width:86px; height:17px; ">성분명 :</caption>
  128. <caption id="caption3" class="search_name" style="left:10px; top:175px; width:150px; height:17px; ">상품명(한글/영문) :</caption>
  129. <input id="input2" ref="/root/hidden/drugidinfo/drugcd" class="input_search" style="left:115px; top:105px; width:220px; height:19px; ">
  130. <script type="javascript" ev:event="onkeydown">
  131. <![CDATA[
  132. inputEnterKey("btn_sea","DOMActivate");
  133. /*
  134. setInputNodeCurText();
  135. if(model.getValue("/root/hidden/drugidinfo/drugcd") != ""){
  136. model.setValue("/root/hidden/drugidinfo/atccodeyn", "Y");
  137. }else{
  138. model.setValue("/root/hidden/drugidinfo/atccodeyn", "");
  139. }
  140. chk_atccodeyn.refresh();
  141. if(event.keyCode == "13"){
  142. btn_sea.dispatch("DOMActivate");
  143. }
  144. */
  145. ]]>
  146. </script>
  147. </input>
  148. <input id="input3" ref="/root/hidden/drugidinfo/comcnts" class="input_search" style="left:155px; top:155px; width:180px; height:19px; ">
  149. <script type="javascript" ev:event="onkeydown">
  150. <![CDATA[
  151. inputEnterKey("btn_sea","DOMActivate");
  152. ]]>
  153. </script>
  154. </input>
  155. <input id="input4" ref="/root/hidden/drugidinfo/srchname" class="input_search" style="left:155px; top:175px; width:180px; height:19px; ">
  156. <script type="javascript" ev:event="onkeydown">
  157. <![CDATA[
  158. inputEnterKey("btn_sea","DOMActivate");
  159. ]]>
  160. </script>
  161. </input>
  162. <line id="line5" style="x1:5px; y1:270px; x2:340px; y2:270px; border-color:#ffe4bb; border-left-style:solid; "/>
  163. <caption id="caption6" class="search_name" style="left:10px; top:275px; width:86px; height:17px; ">제형 :</caption>
  164. <select id="chk_atccodeyn" ref="/root/hidden/drugidinfo/atccodeyn" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" style="left:185px; top:129px; width:150px; height:20px; border-style:none; ">
  165. <choices>
  166. <item>
  167. <label>같은 ATC 성분코드포함</label>
  168. <value>Y</value>
  169. </item>
  170. </choices>
  171. </select>
  172. <caption id="caption8" class="search_name" style="left:10px; top:450px; width:86px; height:17px; ">모양 :</caption>
  173. <caption id="caption9" class="search_name" style="left:10px; top:470px; width:86px; height:17px; ">회사 :</caption>
  174. <caption id="caption10" class="search_name" style="left:10px; top:490px; width:86px; height:17px; ">문양 :</caption>
  175. <caption id="caption11" class="search_name" style="left:10px; top:520px; width:86px; height:17px; ">분할선 :</caption>
  176. <caption id="caption13" class="search_name" style="left:10px; top:595px; width:86px; height:17px; ">색깔 :</caption>
  177. <select1 id="combo2" ref="/root/hidden/drugidinfo/shapecd" class="combo_search" appearance="minimal" style="left:115px; top:450px; width:220px; height:19px; ">
  178. <choices>
  179. <item>
  180. <label/>
  181. <value/>
  182. </item>
  183. <item>
  184. <label>원형</label>
  185. <value>1</value>
  186. </item>
  187. <item>
  188. <label>타원형</label>
  189. <value>2</value>
  190. </item>
  191. <item>
  192. <label>삼각형</label>
  193. <value>3</value>
  194. </item>
  195. <item>
  196. <label>사각형</label>
  197. <value>4</value>
  198. </item>
  199. <item>
  200. <label>육각형</label>
  201. <value>5</value>
  202. </item>
  203. <item>
  204. <label>팔각형</label>
  205. <value>6</value>
  206. </item>
  207. <item>
  208. <label>반원형</label>
  209. <value>7</value>
  210. </item>
  211. <item>
  212. <label>마름모형</label>
  213. <value>8</value>
  214. </item>
  215. <item>
  216. <label>장방형</label>
  217. <value>9</value>
  218. </item>
  219. <item>
  220. <label>오각형</label>
  221. <value>10</value>
  222. </item>
  223. <item>
  224. <label>기타</label>
  225. <value>11</value>
  226. </item>
  227. </choices>
  228. </select1>
  229. <input id="ipt_prodcmpynm" ref="/root/hidden/drugidinfo/prodcmpynm" class="input_search" style="left:115px; top:470px; width:195px; height:19px; ">
  230. <script type="javascript" ev:event="onkeydown">
  231. <![CDATA[
  232. inputEnterKey("btn_sea","DOMActivate");
  233. ]]>
  234. </script>
  235. </input>
  236. <input id="ipt_shape" ref="/root/hidden/drugidinfo/shape" class="input_search" style="left:115px; top:490px; width:135px; height:19px; ">
  237. <script type="javascript" ev:event="onkeydown">
  238. <![CDATA[
  239. inputEnterKey("btn_sea","DOMActivate");
  240. ]]>
  241. </script>
  242. </input>
  243. <button id="button61" class="icon_search" style="left:315px; top:470px; width:16px; height:16px; ">
  244. <caption/>
  245. <script type="javascript" ev:event="DOMActivate">
  246. <![CDATA[
  247. modal("SPADB63400",0,50,50,"SPADB63400","/root/hidden/recieveprodcmpy","/root/hidden/receiveref");
  248. ipt_prodcmpynm.refresh();
  249. ]]>
  250. </script>
  251. </button>
  252. <button id="button2" class="icon_search" style="left:315px; top:490px; width:16px; height:16px; ">
  253. <caption/>
  254. <script type="javascript" ev:event="DOMActivate">
  255. <![CDATA[
  256. modal("SPADB62600",0,100,150,"SPADB62600","/root/hidden/receiveshape","/root/hidden/receiveref");
  257. model.setValue("/root/hidden/drugidinfo/shape",model.getValue("/root/hidden/receiveshape/shapecd"));
  258. model.resetInstanceNode("/root/main/hidden/receiveshape");
  259. model.refresh();
  260. ]]>
  261. </script>
  262. </button>
  263. <output id="output2" class="output_search" style="left:255px; top:490px; width:55px; height:19px; "/>
  264. <select1 id="rdo_devline1" ref="/root/hidden/drugidinfo/divline1" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:30px; top:545px; width:280px; height:20px; border-style:none; ">
  265. <choices>
  266. <item>
  267. <label>없음</label>
  268. <value>0</value>
  269. </item>
  270. <item>
  271. <label>- 형</label>
  272. <value>1</value>
  273. </item>
  274. <item>
  275. <label>+ 형</label>
  276. <value>2</value>
  277. </item>
  278. <item>
  279. <label>기타</label>
  280. <value>3</value>
  281. </item>
  282. </choices>
  283. </select1>
  284. <select1 id="radio3" ref="/root/hidden/drugidinfo/divline2" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:30px; top:570px; width:280px; height:20px; border-style:none; ">
  285. <choices>
  286. <item>
  287. <label>없음</label>
  288. <value>0</value>
  289. </item>
  290. <item>
  291. <label>- 형</label>
  292. <value>1</value>
  293. </item>
  294. <item>
  295. <label>+ 형</label>
  296. <value>2</value>
  297. </item>
  298. <item>
  299. <label>기타</label>
  300. <value>3</value>
  301. </item>
  302. </choices>
  303. </select1>
  304. <caption id="caption14" style="left:14px; top:546px; width:15px; height:15px; vertical-align:middle; ">뒤</caption>
  305. <caption id="caption15" style="left:14px; top:570px; width:15px; height:15px; vertical-align:middle; ">앞</caption>
  306. <line id="line6" style="x1:5px; y1:407px; x2:340px; y2:407px; border-color:#ffe4bb; border-left-style:solid; "/>
  307. <line id="line7" style="x1:5px; y1:518px; x2:340px; y2:518px; border-color:#ffe4bb; border-left-style:solid; "/>
  308. <line id="line8" style="x1:5px; y1:593px; x2:340px; y2:593px; border-color:#ffe4bb; border-left-style:solid; "/>
  309. <select id="checkbox2" ref="/root/hidden/drugidinfo/color" class="checkbox_search" overflow="visible" appearance="full" cellspacing="6" cols="6" rows="4" vcellspacing="30" style="left:25px; top:618px; width:305px; height:132px; border-style:none; ">
  310. <choices>
  311. <item>
  312. <label>하양</label>
  313. <value>1</value>
  314. </item>
  315. <item>
  316. <label>주황</label>
  317. <value>2</value>
  318. </item>
  319. <item>
  320. <label>노랑</label>
  321. <value>3</value>
  322. </item>
  323. <item>
  324. <label>분홍</label>
  325. <value>4</value>
  326. </item>
  327. <item>
  328. <label>빨강</label>
  329. <value>5</value>
  330. </item>
  331. <item>
  332. <label>보라</label>
  333. <value>6</value>
  334. </item>
  335. <item>
  336. <label>초록</label>
  337. <value>7</value>
  338. </item>
  339. <item>
  340. <label>파랑</label>
  341. <value>8</value>
  342. </item>
  343. <item>
  344. <label>갈색</label>
  345. <value>9</value>
  346. </item>
  347. <item>
  348. <label>회색</label>
  349. <value>10</value>
  350. </item>
  351. <item>
  352. <label>검정</label>
  353. <value>11</value>
  354. </item>
  355. <item>
  356. <label>연두</label>
  357. <value>12</value>
  358. </item>
  359. <item>
  360. <label>청록</label>
  361. <value>13</value>
  362. </item>
  363. <item>
  364. <label>남색</label>
  365. <value>14</value>
  366. </item>
  367. <item>
  368. <label>자주</label>
  369. <value>15</value>
  370. </item>
  371. <item>
  372. <label>투명</label>
  373. <value>16</value>
  374. </item>
  375. </choices>
  376. </select>
  377. <caption id="caption18" style="left:80px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff6600; "/>
  378. <caption id="caption20" style="left:130px; top:613px; width:40px; height:20px; vertical-align:middle; background-color:#ffff00; "/>
  379. <caption id="caption21" style="left:179px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff99cc; "/>
  380. <caption id="caption22" style="left:228px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff0000; "/>
  381. <caption id="caption16" style="left:31px; top:615px; width:40px; height:20px; vertical-align:middle; background-color:#ffffff; "/>
  382. <caption id="caption17" style="left:275px; top:614px; width:40px; height:20px; vertical-align:middle; background-color:#ff00ff; "/>
  383. <caption id="caption23" style="left:231px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#000000; "/>
  384. <caption id="caption24" style="left:30px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#00ff00; "/>
  385. <caption id="caption25" style="left:80px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#0000ff; "/>
  386. <caption id="caption26" style="left:129px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#993300; "/>
  387. <caption id="caption27" style="left:178px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#c0c0c0; "/>
  388. <caption id="caption28" style="left:128px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#800000; "/>
  389. <caption id="caption29" style="left:79px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#000080; "/>
  390. <caption id="caption30" style="left:30px; top:707px; width:40px; height:20px; vertical-align:middle; background-color:#008080; "/>
  391. <caption id="caption31" style="left:280px; top:661px; width:40px; height:20px; vertical-align:middle; background-color:#ccffcc; "/>
  392. <button id="btn_sea" class="btn1_letter2" style="left:280px; top:25px; width:56px; height:22px; ">
  393. <caption>조회</caption>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. var tmp_atccodeyn = model.getValue("/root/hidden/drugidinfo/atccodeyn");
  397. var tmp_drugcd = model.getValue("/root/hidden/drugidinfo/drugcd");
  398. if(tmp_atccodeyn == "Y" && tmp_drugcd == ""){
  399. messageBox("[원내코드]를","C001");
  400. return;
  401. }else if(tmp_atccodeyn == "Y" && tmp_drugcd != ""){
  402. model.setValue("/root/hidden/drugidinfo/atccodeyn", tmp_atccodeyn);
  403. model.setValue("/root/hidden/drugidinfo/drugcd", tmp_drugcd);
  404. model.refresh();
  405. }
  406. fSrchDrugId();
  407. ]]>
  408. </script>
  409. </button>
  410. <button id="btn_ins" class="btn4_letter2" style="left:355px; top:24px; width:56px; height:22px; ">
  411. <caption>등록</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. fInsOpenerDrugID();
  415. ]]>
  416. </script>
  417. </button>
  418. <datagrid id="grd_drugid" nodeset="/root/main/drugidlist" autoresize="false" backcoloralternate="#f0f0f0" caption="선택^사진정보^문자1^문자2^장축^단축^제품명^코드^성분 및 함량^idcd^caption1^효능 및 효과^동종약^동효약" colsep="^" colwidth="40, 270, 45, 45, 45, 45, 100, 80, 140, 100, 100, 0, 0, 0, 100, 100" dataheight="100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:352px; top:55px; width:835px; height:695px; ">
  419. <col ref="sel" type="checkbox"/>
  420. <col ref="phot" type="output" style="background-stretch:stretch; "/>
  421. <col ref="char1"/>
  422. <col ref="char2"/>
  423. <col ref="longax"/>
  424. <col ref="shrtax"/>
  425. <col ref="hngnm"/>
  426. <col ref="drugcd"/>
  427. <col ref="comcnts"/>
  428. <col ref="idcd" visibility="hidden"/>
  429. <col ref="efcysmm" visibility="hidden"/>
  430. <col ref="homodrugflag" visibility="hidden"/>
  431. <col ref="samedrug" visibility="hidden"/>
  432. <col ref="photoid" visibility="hidden"/>
  433. <col ref="useyn" visibility="hidden"/>
  434. <col ref="atccode" visibility="hidden"/>
  435. <script type="javascript" ev:event="onclick">
  436. <![CDATA[
  437. if(grd_drugid.mouseCol == grd_drugid.colRef("phot")){
  438. model.setValue("/root/temp/drugphot", model.getValue("/root/main/drugidlist["+grd_drugid.row+"]/phot"));
  439. setImageRefInstance("/root/temp/drugphot");
  440. img_drugphot.visible = true;
  441. model.refresh();
  442. }
  443. ]]>
  444. </script>
  445. </datagrid>
  446. <button id="button8" class="btn2_letter4" visibility="hidden" style="left:203px; top:293px; width:64px; height:19px; ">
  447. <caption>전체선택</caption>
  448. <script type="javascript" ev:event="onclick">
  449. <![CDATA[
  450. fDrugTypeChk("A");
  451. ]]>
  452. </script>
  453. </button>
  454. <button id="button1" class="btn2_letter4" visibility="hidden" style="left:271px; top:293px; width:64px; height:19px; ">
  455. <caption>선택지움</caption>
  456. <script type="javascript" ev:event="onclick">
  457. <![CDATA[
  458. fDrugTypeChk("D");
  459. ]]>
  460. </script>
  461. </button>
  462. <select id="chk_drugtype" ref="/root/hidden/drugidinfo/drugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:325px; width:315px; height:75px; border-style:none; ">
  463. <!--<choices>
  464. <itemset nodeset="/root/init/comboitem/drugtype/A0044">
  465. <label ref="cdnm"/>
  466. <value ref="cdid"/>
  467. </itemset>
  468. </choices>
  469. -->
  470. <choices>
  471. <item>
  472. <label>나정</label>
  473. <value>10</value>
  474. </item>
  475. <item>
  476. <label>필름코팅정</label>
  477. <value>11</value>
  478. </item>
  479. <item>
  480. <label>설하정</label>
  481. <value>12</value>
  482. </item>
  483. <item>
  484. <label>붕해현탁정</label>
  485. <value>13</value>
  486. </item>
  487. <item>
  488. <label>당의정</label>
  489. <value>14</value>
  490. </item>
  491. <item>
  492. <label>다층정</label>
  493. <value>15</value>
  494. </item>
  495. <item>
  496. <label>정제</label>
  497. <value>16</value>
  498. </item>
  499. <item>
  500. <label>츄어블정</label>
  501. <value>17</value>
  502. </item>
  503. <item>
  504. <label>서방정</label>
  505. <value>18</value>
  506. </item>
  507. <item>
  508. <label>장용정</label>
  509. <value>19</value>
  510. </item>
  511. </choices>
  512. </select>
  513. <select id="checkbox1" ref="/root/hidden/drugidinfo/drugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:295px; width:170px; height:20px; border-style:none; ">
  514. <!--<choices>
  515. <itemset nodeset="/root/init/comboitem/drugtype/A0044">
  516. <label ref="cdnm"/>
  517. <value ref="cdid"/>
  518. </itemset>
  519. </choices>
  520. -->
  521. <choices>
  522. <item>
  523. <label>정제류</label>
  524. <value>1</value>
  525. </item>
  526. </choices>
  527. <script type="javascript" ev:event="xforms-select">
  528. <![CDATA[
  529. fDrugTypeChk("A");
  530. ]]>
  531. </script>
  532. <script type="javascript" ev:event="xforms-deselect">
  533. <![CDATA[
  534. fDrugTypeChk("D");
  535. ]]>
  536. </script>
  537. </select>
  538. <select id="checkbox3" ref="/root/temp/tmpdrugtype" class="checkbox_search" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="4" sep="|" style="left:15px; top:415px; width:165px; height:20px; border-style:none; ">
  539. <!--<choices>
  540. <itemset nodeset="/root/init/comboitem/drugtype/A0044">
  541. <label ref="cdnm"/>
  542. <value ref="cdid"/>
  543. </itemset>
  544. </choices>
  545. -->
  546. <choices>
  547. <item>
  548. <label>경질캡슐</label>
  549. <value>2</value>
  550. </item>
  551. <item>
  552. <label>연질캡슐</label>
  553. <value>3</value>
  554. </item>
  555. </choices>
  556. </select>
  557. <select1 id="cmb_etcdrugtype" ref="/root/temp/etcdrugtype" appearance="minimal" style="left:185px; top:415px; width:145px; height:19px; ">
  558. <choices>
  559. <item>
  560. <label>과립제</label>
  561. <value>4</value>
  562. </item>
  563. <item>
  564. <label>겔제</label>
  565. <value>5</value>
  566. </item>
  567. <item>
  568. <label>산제</label>
  569. <value>6</value>
  570. </item>
  571. <item>
  572. <label>내용액</label>
  573. <value>7</value>
  574. </item>
  575. <item>
  576. <label>외용액</label>
  577. <value>8</value>
  578. </item>
  579. <item>
  580. <label>외용연고/크림</label>
  581. <value>9</value>
  582. </item>
  583. <item>
  584. <label>질정</label>
  585. <value>20</value>
  586. </item>
  587. </choices>
  588. <script type="javascript" ev:event="xforms-select">
  589. <![CDATA[
  590. var drugtype = model.getValue("/root/hidden/drugidinfo/drugtype");
  591. if(drugtype != ""){
  592. drugtype += "|" + cmb_etcdrugtype.value;
  593. }else drugtype = cmb_etcdrugtype.value;
  594. model.setValue("/root/hidden/drugidinfo/drugtype",drugtype);
  595. model.refresh();
  596. ]]>
  597. </script>
  598. </select1>
  599. <line id="line4" style="x1:5px; y1:317px; x2:340px; y2:317px; border-color:#ffe4bb; border-left-style:solid; "/>
  600. <line id="line9" style="x1:5px; y1:445px; x2:340px; y2:445px; border-color:#ffe4bb; border-left-style:solid; "/>
  601. <button id="button3" class="btn4_letter2" style="left:417px; top:24px; width:56px; height:22px; ">
  602. <caption>닫기</caption>
  603. <script type="javascript" ev:event="DOMActivate">
  604. <![CDATA[
  605. window.close();
  606. ]]>
  607. </script>
  608. </button>
  609. <img id="img_drugphot" ref="/root/temp/drugphot" visibility="hidden" style="left:410px; top:270px; width:685px; height:255px; background-stretch:stretch; border-color:#0000ff; border-width:2px; border-style:solid; ">
  610. <script type="javascript" ev:event="onclick">
  611. <![CDATA[
  612. model.setValue("/root/temp/drugphot", "");
  613. img_drugphot.visible = false;
  614. model.refresh();
  615. ]]>
  616. </script>
  617. </img>
  618. <input id="input5" ref="/root/temp/retri/restr" class="input_search" style="left:15px; top:245px; width:225px; height:19px; ">
  619. <script type="javascript" ev:event="onkeydown">
  620. <![CDATA[
  621. inputEnterKey("btn_sea","DOMActivate");
  622. ]]>
  623. </script>
  624. </input>
  625. <button id="button4" class="btn1_letter3" style="left:254px; top:243px; width:68px; height:22px; ">
  626. <caption>재조회</caption>
  627. <script type="javascript" ev:event="DOMActivate">
  628. <![CDATA[
  629. var strstr = model.getValue("/root/temp/retri/restr")
  630. strstr = strstr.toUpperCase() ;
  631. var strtype = model.getValue("/root/temp/retri/retype")
  632. if( strstr != "" ) {
  633. }else{
  634. messageBox("최소 1글자 이상","C001");
  635. model.setFocus("inp_restr");
  636. return;
  637. }
  638. var r_cnt = grd_drugid.rows ;
  639. for( var j = 1 ; j < r_cnt ; j++ ) {
  640. var datastr = "" ;
  641. if (strtype == 1) {
  642. datastr = model.getValue("/root/main/drugidlist["+j+"]/char1");
  643. datastr = datastr.toUpperCase() ;
  644. }
  645. if (strtype == 2) {
  646. datastr = model.getValue("/root/main/drugidlist["+j+"]/char2");
  647. datastr = datastr.toUpperCase() ;
  648. }
  649. if (strtype == 3) {
  650. datastr = model.getValue("/root/main/drugidlist["+j+"]/longax");
  651. datastr = datastr.toUpperCase() ;
  652. }
  653. if (strtype == 4) {
  654. datastr = model.getValue("/root/main/drugidlist["+j+"]/shrtax");
  655. datastr = datastr.toUpperCase() ;
  656. }
  657. if (strtype == 5) {
  658. datastr = model.getValue("/root/main/drugidlist["+j+"]/hngnm");
  659. datastr = datastr.toUpperCase() ;
  660. }
  661. if (strtype == 6) {
  662. datastr = model.getValue("/root/main/drugidlist["+j+"]/drugcd");
  663. datastr = datastr.toUpperCase() ;
  664. }
  665. if (strtype == 7) {
  666. datastr = model.getValue("/root/main/drugidlist["+j+"]/comcnts");
  667. datastr = datastr.toUpperCase() ;
  668. }
  669. // alert(j + " " + strstr + " " + datastr) ;
  670. // alert(j + " " + isSearchString(datastr, strstr) ) ;
  671. if ( strstr != "") {
  672. if( isSearchString(datastr, strstr) == false) {
  673. grd_drugid.rowHidden(j) = true;
  674. // alert(j + " 사라지기") ;
  675. }
  676. }
  677. }
  678. model.refresh();
  679. ]]>
  680. </script>
  681. </button>
  682. <select1 id="radio1" ref="/root/temp/retri/retype" appearance="full" cellspacing="30" cols="4" overflow="visible" style="left:15px; top:205px; width:305px; height:35px; border-style:none; ">
  683. <choices>
  684. <item>
  685. <label>문자1</label>
  686. <value>1</value>
  687. </item>
  688. <item>
  689. <label>문자2</label>
  690. <value>2</value>
  691. </item>
  692. <item>
  693. <label>장축</label>
  694. <value>3</value>
  695. </item>
  696. <item>
  697. <label>단축</label>
  698. <value>4</value>
  699. </item>
  700. <item>
  701. <label>제품명</label>
  702. <value>5</value>
  703. </item>
  704. <item>
  705. <label>코드</label>
  706. <value>6</value>
  707. </item>
  708. <item>
  709. <label>성분</label>
  710. <value>7</value>
  711. </item>
  712. </choices>
  713. </select1>
  714. </xhtml:body>
  715. </xhtml:html>