SMADB01900_약품편람조회.xrw 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <efcylist>
  11. <item>
  12. <efcycd/>
  13. <efcynm/>
  14. <efcylevel/>
  15. </item>
  16. </efcylist>
  17. <photinfo>
  18. <drugphot/>
  19. <phottitle/>
  20. </photinfo>
  21. <hbookdetlinfo>
  22. <efcycd1/>
  23. <efcycd2/>
  24. <efcycd3/>
  25. <efcycd4/>
  26. <efcycd5/>
  27. <todd/>
  28. <instcd/>
  29. <fromdd/>
  30. <comnm/>
  31. <efcysmm/>
  32. <mthdvolsmm/>
  33. <seffcsmm/>
  34. <refcnts/>
  35. <etc/>
  36. <efcynm/>
  37. <hbookseq/>
  38. <drugnm/>
  39. <cost/>
  40. <drugphot/>
  41. </hbookdetlinfo>
  42. <druglist>
  43. <drugcd/>
  44. <drugkindnm/>
  45. <drugnm/>
  46. <efcycd/>
  47. <efcynm/>
  48. <hbookseq/>
  49. <todd/>
  50. <instcd/>
  51. <drugphot/>
  52. <hosinflag/>
  53. <absnyn/>
  54. <powdimpsi/>
  55. <devidebanyn/>
  56. </druglist>
  57. <prntlist>
  58. <drugcd/>
  59. <drugkindnm/>
  60. <drugnm/>
  61. <efcycd/>
  62. <efcynm/>
  63. <hbookseq/>
  64. <todd/>
  65. <instcd/>
  66. <drugphot/>
  67. <hosinflag/>
  68. <absnyn/>
  69. <powdimpsi/>
  70. <devidebanyn/>
  71. </prntlist>
  72. </main>
  73. <send>
  74. <srchinfo1>
  75. <srchefcycd/>
  76. <srchflag/>
  77. <srchcnts/>
  78. <srchcntsflag>1</srchcntsflag>
  79. </srchinfo1>
  80. <srchinfo2>
  81. <srchefcycd/>
  82. <srchcomcd/>
  83. <srchfromdd/>
  84. <srchdrugcd/>
  85. </srchinfo2>
  86. <srchefcyinfo>
  87. <srchefcycd1/>
  88. <srchefcycd2/>
  89. <srchefcycd3/>
  90. <srchefcycd4/>
  91. <srchefcycd5/>
  92. <srchflag>1</srchflag>
  93. <srchcntsflag>1</srchcntsflag>
  94. <srchcnts/>
  95. <srchefcycd/>
  96. <srchefcylevel/>
  97. <srchdrugcd/>
  98. <ishosout/>
  99. </srchefcyinfo>
  100. <srchdetlinfo>
  101. <srchefcycd/>
  102. <srchhbookseq/>
  103. <srchtodd/>
  104. <srchdrugcd/>
  105. <srchflag/>
  106. </srchdetlinfo>
  107. <srchlist>
  108. <gubun/>
  109. </srchlist>
  110. </send>
  111. <init>
  112. <efcysrchinfo>
  113. <efcyinfo1>
  114. </efcyinfo1>
  115. <efcyinfo2/>
  116. <efcyinfo3/>
  117. <efcyinfo4/>
  118. <efcyinfo5/>
  119. </efcysrchinfo>
  120. <efcysrchinfo2>
  121. <efcyinfo1>
  122. </efcyinfo1>
  123. <efcyinfo2/>
  124. <efcyinfo3/>
  125. <efcyinfo4/>
  126. <efcyinfo5/>
  127. </efcysrchinfo2>
  128. <efcyiptinfo>
  129. <efcyinfo1>
  130. </efcyinfo1>
  131. <efcyinfo2/>
  132. <efcyinfo3/>
  133. <efcyinfo4/>
  134. <efcyinfo5/>
  135. </efcyiptinfo>
  136. <efcybaseinfo>
  137. <item>
  138. <efcycd/>
  139. <efcynm/>
  140. </item>
  141. </efcybaseinfo>
  142. </init>
  143. <hidden>
  144. <receivedata>
  145. <srchdrugcd/>
  146. </receivedata>
  147. <hosinflag/>
  148. <absnyn/>
  149. <powdimpsi/>
  150. <devidebanyn/>
  151. </hidden>
  152. <temp>
  153. </temp>
  154. </root>
  155. </instance>
  156. <script type="javascript" ev:event="xforms-ready">
  157. <![CDATA[
  158. //그리드 설정
  159. lst_druglist.rowHeight(0) = 0;
  160. //lst_druglist.rebuildStyle(0,0, 0, 1);
  161. lst_druglist.refresh()
  162. // 효능분류코드 조회
  163. var drugcd = "";
  164. // 이전 검색초기화 소스 주석처리
  165. model.setValue("/root/send/srchefcyinfo/srchefcycd" ,"%");
  166. var success = submit("TRADB01901");
  167. // 사진확대창 hidden
  168. grp_totimg1.visible = false;
  169. grp_totimg2.visible = false;
  170. grp_totimg3.visible = false;
  171. drugcd = model.getValue("/root/hidden/receivedata/srchdrugcd");
  172. if (drugcd != "") { // 약품검색
  173. fSetEfcyCode("S", "%", 1 ); // 조회용 효능분류
  174. model.setValue("/root/send/srchinfo1/srchflag", "1");
  175. model.setValue("/root/send/srchinfo1/srchcnts", drugcd);
  176. model.setValue("/root/send/srchefcyinfo/srchcnts", drugcd);
  177. btn_index.dispatch("onclick");
  178. btn_sea.dispatch("onclick");
  179. btn_index.selected = true;
  180. model.toggle("case2");
  181. model.setValue("/root/hidden/receivedata/srchdrugcd","");
  182. } else {
  183. // 목차탭 클릭
  184. // btn_cnts.selected = true;
  185. // model.toggle("case1");
  186. // btn_base1.selected = true;
  187. fSetEfcyCode("S", "%", 1 ); // 조회용 효능분류
  188. fSetEfcyCode("I", "%", 1 ); // 입력용 효능분류
  189. model.refresh();
  190. // 색인탭 클릭
  191. btn_index.selected = true;
  192. model.toggle("case2");
  193. btn_base2.selected = true;
  194. }
  195. ]]>
  196. </script>
  197. <submission id="TRADB01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchefcyinfo" replace="instance" resultref="/root/main/efcylist"/>
  198. <script type="javascript">
  199. <![CDATA[
  200. var picRow = 0; // 사진인덱스
  201. function fSetEfcyCode( typeflag, efcycd, efcylevel ){
  202. var node = null;
  203. var ipt_node = null;
  204. if (typeflag == "S") { // 조회
  205. node = "/root/init/efcysrchinfo2";
  206. ipt_node = "/root/send/srchefcyinfo/srch";
  207. } else if (typeflag == "I") { // 입력
  208. // node = "/root/init/efcyiptinfo";
  209. node = "/root/init/efcysrchinfo2";
  210. ipt_node = "/root/main/hbookdetlinfo/";
  211. }
  212. model.setValue("/root/send/srchefcyinfo/srchefcycd" ,efcycd);
  213. model.setValue("/root/send/srchefcyinfo/srchefcylevel",efcylevel);
  214. var success = submit("TRADB01905","false");
  215. if (success) {
  216. model.copyNode(node+"/efcyinfo"+efcylevel , "/root/init/efcybaseinfo");
  217. if (efcylevel == 1) {
  218. model.removeNodeset(node+"/efcyinfo2/item");
  219. model.removeNodeset(node+"/efcyinfo3/item");
  220. model.removeNodeset(node+"/efcyinfo4/item");
  221. model.removeNodeset(node+"/efcyinfo5/item");
  222. model.setValue(ipt_node+"efcycd2","");
  223. model.setValue(ipt_node+"efcycd3","");
  224. model.setValue(ipt_node+"efcycd4","");
  225. model.setValue(ipt_node+"efcycd5","");
  226. } else if (efcylevel == 2) {
  227. model.removeNodeset(node+"/efcyinfo3/item");
  228. model.removeNodeset(node+"/efcyinfo4/item");
  229. model.removeNodeset(node+"/efcyinfo5/item");
  230. model.setValue(ipt_node+"efcycd2","");
  231. model.setValue(ipt_node+"efcycd3","");
  232. model.setValue(ipt_node+"efcycd4","");
  233. model.setValue(ipt_node+"efcycd5","");
  234. } else if (efcylevel == 3) {
  235. model.removeNodeset(node+"/efcyinfo4/item");
  236. model.removeNodeset(node+"/efcyinfo5/item");
  237. model.setValue(ipt_node+"efcycd3","");
  238. model.setValue(ipt_node+"efcycd4","");
  239. model.setValue(ipt_node+"efcycd5","");
  240. } else if (efcylevel == 4) {
  241. model.removeNodeset(node+"/efcyinfo5/item");
  242. model.setValue(ipt_node+"efcycd4","");
  243. model.setValue(ipt_node+"efcycd5","");
  244. } else if (efcylevel == 5) {
  245. model.setValue(ipt_node+"efcycd5","");
  246. }
  247. }
  248. }
  249. ]]>
  250. </script>
  251. <submission id="TRADB01904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/druglist"/>
  252. <submission id="TRADB01903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdetlinfo" replace="instance" resultref="/root/main/hbookdetlinfo"/>
  253. <submission id="TRADB01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchefcyinfo" replace="instance" resultref="/root/main/druglist"/>
  254. <submission id="TRADB01905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchefcyinfo" replace="instance" resultref="/root/init/efcybaseinfo"/>
  255. <submission id="TRADB01906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchefcyinfo" resultref="/root/main/prntlist"/>
  256. </model>
  257. <script type="javascript">
  258. <![CDATA[
  259. function fGetDetail() {
  260. var srchdrugcd = model.getValue("/root/main/druglist["+ lst_druglist.row+"]/drugcd");
  261. var valueArray = srchdrugcd.split(" ");
  262. model.setValue("/root/send/srchinfo2/srchdrugcd", valueArray[valueArray.length - 1]);
  263. fSubmitHBookDetl(3);
  264. }
  265. function fSubmitHBookDetl(grdIndex) {
  266. var srchefcycd = "";
  267. var srchhbookseq = "";
  268. var srchtodd = "";
  269. var srchdrugcd = "";
  270. var insurbpnt = "";
  271. var packunit = "";
  272. var drugcost = "";
  273. var index = 0;
  274. if (grdIndex == 1) {
  275. picRow = grd_druglist1.row;
  276. srchefcycd = model.getValue("/root/main/druglist["+grd_druglist1.row+"]/efcycd");
  277. srchhbookseq = model.getValue("/root/main/druglist["+grd_druglist1.row+"]/hbookseq");
  278. srchtodd = model.getValue("/root/main/druglist["+grd_druglist1.row+"]/todd");
  279. srchdrugcd = model.getValue("/root/main/druglist["+grd_druglist1.row+"]/drugcd");
  280. } else if (grdIndex == 2) {
  281. picRow = grd_druglist2.row;
  282. srchefcycd = model.getValue("/root/main/druglist["+grd_druglist2.row+"]/efcycd");
  283. srchhbookseq = model.getValue("/root/main/druglist["+grd_druglist2.row+"]/hbookseq");
  284. srchtodd = model.getValue("/root/main/druglist["+grd_druglist2.row+"]/todd");
  285. srchdrugcd = model.getValue("/root/main/druglist["+grd_druglist2.row+"]/drugcd");
  286. } else if (grdIndex == 3) {
  287. picRow = lst_druglist.row;
  288. index = lst_druglist.row;
  289. srchefcycd = model.getValue("/root/main/druglist["+index+"]/efcycd");
  290. srchhbookseq = model.getValue("/root/main/druglist["+index+"]/hbookseq");
  291. srchtodd = model.getValue("/root/main/druglist["+index+"]/todd");
  292. srchdrugcd = model.getValue("/root/main/druglist["+index+"]/drugcd");
  293. }
  294. if(srchefcycd != "" ){ // grdIndex == 2 일 경우 null 값 체크
  295. model.setValue("/root/send/srchdetlinfo/srchefcycd" ,srchefcycd);
  296. model.setValue("/root/send/srchdetlinfo/srchhbookseq" ,srchhbookseq);
  297. model.setValue("/root/send/srchdetlinfo/srchtodd" ,srchtodd);
  298. model.setValue("/root/send/srchdetlinfo/srchdrugcd" ,srchdrugcd);
  299. model.setValue("/root/send/srchdetlinfo/srchflag" ,"3");
  300. var success = submit("TRADB01903",false);
  301. // 사진이미지처리
  302. // if (grdIndex == 3) {
  303. // model.setValue("/root/main/photinfo/drugphot",model.getValue("/root/main/hbookdetlinfo/drugphot"));
  304. // } else {
  305. // model.setValue("/root/main/photinfo/drugphot",model.getValue("/root/main/druglist["+picRow+"]/drugphot"));
  306. // }
  307. //model.setValue("/root/main/hbookdetlinfo/drugnm",model.getValue("/root/main/druglist["+grd_druglist2.row+"]/drugnm"));
  308. //model.setValue("/root/main/hbookdetlinfo/comnm",model.getValue("/root/main/druglist["+grd_druglist2.row+"]/comnm"));
  309. model.setValue("/root/main/photinfo/drugphot",model.getValue("/root/main/hbookdetlinfo/drugphot"));
  310. model.setValue("/root/main/photinfo/phottitle","[fig1] " + model.getValue("/root/main/druglist["+picRow+"]/drugcd"));
  311. setImageRefInstance("/root/main/photinfo/drugphot");
  312. //model.setValue("/root/main/hbookdetlinfo/drugnm",model.getValue("/root/main/druglist["+grd_druglist2.row+"]/drugnm"));
  313. //model.setValue("/root/main/hbookdetlinfo/comnm",model.getValue("/root/main/druglist["+grd_druglist2.row+"]/comnm"));
  314. // 조회 후 Grid 상 목록에 대한 원내원외구분, 품절삭제여부, 산체불가여부, 처방분할금지여부 표시 2011.9.30 jmkim
  315. model.setValue("/root/hidden/hosinflag", model.getValue("/root/main/druglist["+picRow+"]/hosinflag"));
  316. model.setValue("/root/hidden/absnyn", model.getValue("/root/main/druglist["+picRow+"]/absnyn"));
  317. model.setValue("/root/hidden/powdimpsi", model.getValue("/root/main/druglist["+picRow+"]/powdimpsi"));
  318. model.setValue("/root/hidden/devidebanyn", model.getValue("/root/main/druglist["+picRow+"]/devidebanyn"));
  319. var efcycd1 = "";
  320. var efcycd2 = "";
  321. var efcycd3 = "";
  322. var efcycd4 = "";
  323. var efcycd5 = "";
  324. efcycd1 = model.getValue("/root/main/hbookdetlinfo/efcycd1");
  325. efcycd2 = model.getValue("/root/main/hbookdetlinfo/efcycd2");
  326. efcycd3 = model.getValue("/root/main/hbookdetlinfo/efcycd3");
  327. efcycd4 = model.getValue("/root/main/hbookdetlinfo/efcycd4");
  328. efcycd5 = model.getValue("/root/main/hbookdetlinfo/efcycd5");
  329. fSetEfcyCode( "I", efcycd1+"%", 2 );
  330. fSetEfcyCode( "I", efcycd2+"%", 3 );
  331. fSetEfcyCode( "I", efcycd3+"%", 4 );
  332. fSetEfcyCode( "I", efcycd4+"%", 5 );
  333. model.setValue("/root/send/srchefcyinfo/srchefcycd1",efcycd1);
  334. model.setValue("/root/send/srchefcyinfo/srchefcycd2",efcycd2);
  335. model.setValue("/root/send/srchefcyinfo/srchefcycd3",efcycd3);
  336. model.setValue("/root/send/srchefcyinfo/srchefcycd4",efcycd4);
  337. model.setValue("/root/send/srchefcyinfo/srchefcycd5",efcycd5);
  338. if (model.getValue("/root/main/hbookdetlinfo/hosoutonly") == "Y") { //원외전용약제 여부
  339. lbl_hosout.visible = true;
  340. } else {
  341. lbl_hosout.visible = false;
  342. }
  343. }
  344. model.refresh();
  345. }
  346. function fSubmitHBookList(grdIndex){
  347. // var srchflag = ""; // 검색구분
  348. // var srchcnts = ""; // 검색내용
  349. //
  350. // if (grdIndex == 1) srchflag = "2"; // 효능검색
  351. // else if (grdIndex == 2) srchflag = "1"; // 내용검색
  352. // srchcnts = model.getValue("/root/send/srchinfo1/srchcnts");
  353. //
  354. // if (grdIndex == 2 && srchcnts.length < 2) {
  355. // messageBox("조회 내용을 두자이상","C001");
  356. // return;
  357. // }
  358. //
  359. // model.setValue("/root/send/srchinfo1/srchflag",srchflag);
  360. // var success = submit("TRADB01902","false");
  361. // 초기화
  362. setInitDisplay();
  363. // var drugphot = "";
  364. var srchefcycd = "";
  365. var srchefcycd1 = model.getValue("/root/send/srchefcyinfo/srchefcycd1");
  366. var srchefcycd2 = model.getValue("/root/send/srchefcyinfo/srchefcycd2");
  367. var srchefcycd3 = model.getValue("/root/send/srchefcyinfo/srchefcycd3");
  368. var srchefcycd4 = model.getValue("/root/send/srchefcyinfo/srchefcycd4");
  369. var srchefcycd5 = model.getValue("/root/send/srchefcyinfo/srchefcycd5");
  370. var srchcntsflag = model.getValue("/root/send/srchefcyinfo/srchcntsflag");
  371. var srchcnts = model.getValue("/root/send/srchefcyinfo/srchcnts");
  372. var srchflag = model.getValue("/root/send/srchefcyinfo/srchflag");
  373. // if(model.getValue("/root/send/srchefcyinfo/srchcnts") == "") {
  374. // srchcnts = model.getValue("/root/send/srchefcyinfo/srchcnts");
  375. // } else {
  376. //
  377. // }
  378. if (srchflag == "1") {
  379. if (srchcntsflag == "") {
  380. messageBox("조회 내용구분을","C002");
  381. return;
  382. }
  383. if (srchcnts == null || srchcnts.length == 0) {
  384. messageBox("조회 내용을","C001");
  385. return;
  386. }
  387. if (srchcnts.length < 2) {
  388. messageBox("조회 내용을 두자이상","C001");
  389. return;
  390. }
  391. } else if (srchflag == "2") {
  392. if(grdIndex == 1) {
  393. srchefcycd = model.getValue("/root/send/srchinfo1/srchefcycd");
  394. } else {
  395. if (srchefcycd5 != "") {
  396. srchefcycd = srchefcycd5;
  397. } else {
  398. if (srchefcycd4 != "") {
  399. srchefcycd = srchefcycd4;
  400. } else {
  401. if (srchefcycd3 != "") {
  402. srchefcycd = srchefcycd3;
  403. } else {
  404. if (srchefcycd2!= "") {
  405. srchefcycd = srchefcycd2;
  406. } else {
  407. if (srchefcycd1 != "") {
  408. srchefcycd = srchefcycd1;
  409. }
  410. }
  411. }
  412. }
  413. }
  414. }
  415. if (srchefcycd == null || srchefcycd == "") {
  416. messageBox("효능코드를","C002");
  417. return;
  418. }
  419. }
  420. model.removeNodeset("/root/main/druglist");
  421. model.setValue("/root/send/srchefcyinfo/srchefcycd", srchefcycd);
  422. // alert(model.getValue("/root/send/srchefcyinfo/srchflag") + "/" + model.getValue("/root/send/srchefcyinfo/srchcntsflag") + "/" + model.getValue("/root/send/srchefcyinfo/srchcnts") + "/" + model.getValue("/root/send/srchefcyinfo/srchefcycd"));
  423. var success = submit("TRADB01902");
  424. if (success) {
  425. // 조회 시 하단 clear
  426. // fResetData();
  427. if (grdIndex == 1) {
  428. grd_druglist1.row = 1;
  429. if (grd_druglist1.rows > 1) grd_druglist1.dispatch("onclick");
  430. } else if (grdIndex == 2) {
  431. grd_druglist2.row = 1;
  432. if (grd_druglist2.rows > 1) grd_druglist2.dispatch("onclick");
  433. }
  434. }
  435. }
  436. function fSubmitHBookList2(grdIndex){
  437. // 초기화
  438. setInitDisplay();
  439. var srchflag = model.getValue("/root/send/srchefcyinfo/srchflag");
  440. if (grdIndex == 1) {
  441. srchflag = "2"; // 목차 -> 효능조회
  442. model.setValue("/root/send/srchefcyinfo/srchflag", "2");
  443. }
  444. else if (grdIndex == 2) srchflag = "1"; // 색인 -> 내용조회
  445. var srchefcycd = model.getValue("/root/send/srchinfo1/srchefcycd");
  446. model.removeNodeset("/root/main/druglist");
  447. model.setValue("/root/send/srchefcyinfo/srchefcycd", srchefcycd);
  448. var success = submit("TRADB01902");
  449. if (success) {
  450. if (grdIndex == 1) {
  451. grd_druglist1.row = 1;
  452. if (grd_druglist1.rows > 1) grd_druglist1.dispatch("onclick");
  453. } else if (grdIndex == 2) {
  454. grd_druglist2.row = 1;
  455. if (grd_druglist2.rows > 1) grd_druglist2.dispatch("onclick");
  456. }
  457. }
  458. }
  459. function setTopIndex(startspell) {
  460. var drugcode = "";
  461. var secondspell = "";
  462. var startIndex = 2;
  463. var s = "drugcd";
  464. var nodeset = lst_druglist.attribute("nodeset");
  465. if (btn_engnm.selected) {
  466. s = "engnm";
  467. startIndex = 0;
  468. }
  469. for (var i = 1; i <= getNodesetCount(nodeset); i++) {
  470. drugcode = model.getValue(nodeset+"["+ i +"]/"+s);
  471. //drugcode = drugcode.replace(/^[^0-9a-zA-Z]*/g, "");
  472. secondspell = drugcode.substring(startIndex,1);
  473. if (secondspell == startspell) {
  474. lst_druglist.row = i;
  475. lst_druglist.topRow = i;
  476. //lst_druglist.focusIndex = i;
  477. //lst_druglist.dispatch("onrowchanged");
  478. //lst_druglist.dispatch("onclick");
  479. fGetDetail();
  480. break;
  481. }
  482. }
  483. }
  484. function setNumericTopIndex() {
  485. var drugcode = "";
  486. var secondspell = "";
  487. var nodeset = lst_druglist.attribute("nodeset");
  488. var s = "drugcd";
  489. if (btn_engnm.selected) {
  490. s = "engnm";
  491. startIndex = 0;
  492. }
  493. for (var i=1; i<= getNodesetCount(nodeset); i++) {
  494. drugcode = model.getValue(nodeset+"["+i+"]/"+s);
  495. //secondspell = drugcode.substring(2,1);
  496. secondspell = drugcode.replace(/^[dD]|[^0-9a-zA-Z]/i, "").substring(0, 1);
  497. if (isNumber(secondspell)) {
  498. lst_druglist.row = i;
  499. lst_druglist.topRow = i;
  500. //lst_druglist.dispatch("onrowchanged");
  501. fGetDetail();
  502. break;
  503. }
  504. }
  505. }
  506. function isNumber(input) {
  507. var chars = "0123456789";
  508. return containsCharsOnly(input,chars);
  509. }
  510. function containsCharsOnly(input,chars) {
  511. for (var inx = 0; inx < input.length; inx++) {
  512. if (chars.indexOf(input.charAt(inx)) == -1)
  513. return false;
  514. }
  515. return true;
  516. }
  517. function setInitDisplay() {
  518. model.removeNodeset("/root/main/druglist");
  519. model.setValue("/root/main/photinfo/drugphot" ,"");
  520. model.setValue("/root/main/photinfo/phottitle" ,"");
  521. model.setValue("/root/main/hbookdetlinfo/todd" ,"");
  522. model.setValue("/root/main/hbookdetlinfo/instcd" ,"");
  523. model.setValue("/root/main/hbookdetlinfo/fromdd" ,"");
  524. model.setValue("/root/main/hbookdetlinfo/comnm" ,"");
  525. model.setValue("/root/main/hbookdetlinfo/efcysmm" ,"");
  526. model.setValue("/root/main/hbookdetlinfo/mthdvolsmm" ,"");
  527. model.setValue("/root/main/hbookdetlinfo/seffcsmm" ,"");
  528. model.setValue("/root/main/hbookdetlinfo/refcnts" ,"");
  529. model.setValue("/root/main/hbookdetlinfo/etc" ,"");
  530. model.setValue("/root/main/hbookdetlinfo/efcynm" ,"");
  531. model.setValue("/root/main/hbookdetlinfo/hbookseq" ,"");
  532. model.setValue("/root/main/hbookdetlinfo/drugnm" ,"");
  533. model.setValue("/root/main/hbookdetlinfo/cost" ,"");
  534. model.setValue("/root/send/srchinfo1/srchflag" ,"1");
  535. model.refresh();
  536. }
  537. function fselSrchFlag(flag){
  538. if(flag == 1){
  539. model.setValue("/root/send/srchefcyinfo/srchflag","1");
  540. model.setValue("/root/send/srchefcyinfo/srchefcycd1", "");
  541. model.setValue("/root/send/srchefcyinfo/srchefcycd2", "");
  542. model.setValue("/root/send/srchefcyinfo/srchefcycd3", "");
  543. model.setValue("/root/send/srchefcyinfo/srchefcycd4", "");
  544. model.setValue("/root/send/srchefcyinfo/srchefcycd5", "");
  545. }else{
  546. model.setValue("/root/send/srchefcyinfo/srchflag","2");
  547. model.setValue("/root/send/srchefcyinfo/srchcntsflag", "");
  548. model.setValue("/root/send/srchefcyinfo/srchcnts","");
  549. }
  550. }
  551. function fChangeTab(iTab) {
  552. var txt = "코드";
  553. if (iTab == 3) {
  554. txt = "코드";
  555. lst_druglist.colHidden(lst_druglist.colRef("drugcd")) = false;
  556. lst_druglist.colHidden(lst_druglist.colRef("engnm")) = true;
  557. model.setValue("/root/send/srchlist/gubun", "code");
  558. } else if (iTab == 4) {
  559. txt = "영문명";
  560. lst_druglist.colHidden(lst_druglist.colRef("drugcd")) = true;
  561. lst_druglist.colHidden(lst_druglist.colRef("engnm")) = false;
  562. model.setValue("/root/send/srchlist/gubun", "ename");
  563. }
  564. lbl_note.text = txt + "을(를) 클릭하면,";
  565. lbl_command.text = txt + "코드의 첫글자를 누르십시오.";
  566. }
  567. ]]>
  568. </script>
  569. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  570. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  571. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  572. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  573. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  574. </xhtml:head>
  575. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  576. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  577. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:146px; height:14px; ">약품편람 조회</caption>
  578. </group>
  579. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  580. <switch id="switch1" style="left:0px; top:25px; width:1195px; height:717px; border-color:#c0a8c8; border-width:1; border-style:solid; ">
  581. <case id="case2" selected="true">
  582. <!-- 모서리 둥근 사각형 2개 추가 2011.9.22 jmkim -->
  583. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:9px; top:245px; width:200px; height:125px; ">// 모서리 둥근 사각형 2개 추가 2011.9.22 jmkim.</shape>
  584. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:9px; top:95px; width:200px; height:95px; "/>
  585. <caption id="caption11" style="left:15px; top:10px; width:165px; height:60px; vertical-align:middle; ">
  586. <![CDATA[내용조회 혹은 효능조회를 선택하고,찾는약품정보를 검색하십시오.]]>
  587. <script type="javascript" ev:event="onclick">
  588. <![CDATA[
  589. ]]>
  590. </script>
  591. </caption>
  592. <caption id="caption6" class="search_name" style="left:12px; top:72px; width:20px; height:17px; "/>
  593. <select1 id="rdo_srchflag1" ref="/root/send/srchefcyinfo/srchflag" appearance="full" overflow="visible" style="left:35px; top:72px; width:80px; height:18px; border-style:none; ">
  594. <choices>
  595. <item>
  596. <label>내용조회</label>
  597. <value>1</value>
  598. </item>
  599. </choices>
  600. <script type="javascript" ev:event="xforms-value-changed">
  601. <![CDATA[
  602. fselSrchFlag(1);
  603. model.refresh();
  604. ]]>
  605. </script>
  606. </select1>
  607. <select1 id="rdo_srchcntsflag" ref="/root/send/srchefcyinfo/srchcntsflag" appearance="full" cellspacing="10" cols="2" vcellspacing="8" overflow="visible" style="left:18px; top:104px; width:182px; height:76px; border-style:none; ">
  608. <choices>
  609. <item>
  610. <label>약품코드</label>
  611. <value>1</value>
  612. </item>
  613. <item>
  614. <label>성분명</label>
  615. <value>2</value>
  616. </item>
  617. <item>
  618. <label>영문상품명</label>
  619. <value>3</value>
  620. </item>
  621. <item>
  622. <label>한글상품명</label>
  623. <value>4</value>
  624. </item>
  625. <item>
  626. <label>전체</label>
  627. <value>5</value>
  628. </item>
  629. </choices>
  630. <script type="javascript" ev:event="xforms-select">
  631. <![CDATA[
  632. fselSrchFlag(1);
  633. model.refresh();
  634. ]]>
  635. </script>
  636. </select1>
  637. <select1 id="radio1" ref="/root/send/srchefcyinfo/srchflag" appearance="full" overflow="visible" style="left:35px; top:222px; width:80px; height:18px; border-style:none; ">
  638. <choices>
  639. <item>
  640. <label>효능조회</label>
  641. <value>2</value>
  642. </item>
  643. </choices>
  644. <script type="javascript" ev:event="xforms-value-changed">
  645. <![CDATA[
  646. fselSrchFlag(2);
  647. model.refresh();
  648. ]]>
  649. </script>
  650. </select1>
  651. <select1 id="cmb_srchefcy1" ref="/root/send/srchefcyinfo/srchefcycd1" appearance="minimal" style="left:23px; top:249px; width:175px; height:19px; ">
  652. <choices>
  653. <itemset nodeset="/root/init/efcysrchinfo2/efcyinfo1/item">
  654. <label ref="efcynm"/>
  655. <value ref="efcycd"/>
  656. </itemset>
  657. </choices>
  658. <script type="javascript" ev:event="xforms-value-changed">
  659. <![CDATA[
  660. fselSrchFlag(2);
  661. var srchefcycd1= model.getValue("/root/send/srchefcyinfo/srchefcycd1");
  662. if(srchefcycd1 != ""){
  663. fSetEfcyCode( "S",srchefcycd1+"%", 2 );
  664. }else{
  665. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo2/item");
  666. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo3/item");
  667. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo4/item");
  668. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo5/item");
  669. }
  670. model.refresh();
  671. ]]>
  672. </script>
  673. </select1>
  674. <select1 id="cmb_srchefcy2" ref="/root/send/srchefcyinfo/srchefcycd2" appearance="minimal" style="left:23px; top:273px; width:175px; height:19px; ">
  675. <choices>
  676. <itemset nodeset="/root/init/efcysrchinfo2/efcyinfo2/item">
  677. <label ref="efcynm"/>
  678. <value ref="efcycd"/>
  679. </itemset>
  680. </choices>
  681. <script type="javascript" ev:event="xforms-value-changed">
  682. <![CDATA[
  683. fselSrchFlag(2);
  684. var srchefcycd2= model.getValue("/root/send/srchefcyinfo/srchefcycd2");
  685. if(srchefcycd2 != ""){
  686. fSetEfcyCode( "S",srchefcycd2+"%", 3 );
  687. }else{
  688. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo3/item");
  689. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo4/item");
  690. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo5/item");
  691. }
  692. model.refresh();
  693. ]]>
  694. </script>
  695. </select1>
  696. <select1 id="cmb_srchefcy3" ref="/root/send/srchefcyinfo/srchefcycd3" appearance="minimal" style="left:23px; top:297px; width:175px; height:19px; ">
  697. <choices>
  698. <itemset nodeset="/root/init/efcysrchinfo2/efcyinfo3/item">
  699. <label ref="efcynm"/>
  700. <value ref="efcycd"/>
  701. </itemset>
  702. </choices>
  703. <script type="javascript" ev:event="xforms-value-changed">
  704. <![CDATA[
  705. fselSrchFlag(2);
  706. var srchefcycd3= model.getValue("/root/send/srchefcyinfo/srchefcycd3");
  707. if(srchefcycd3 != ""){
  708. fSetEfcyCode( "S",srchefcycd3+"%", 4 );
  709. }else{
  710. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo4/item");
  711. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo5/item");
  712. }
  713. model.refresh();
  714. ]]>
  715. </script>
  716. </select1>
  717. <select1 id="cmb_srchefcy4" ref="/root/send/srchefcyinfo/srchefcycd4" appearance="minimal" style="left:23px; top:321px; width:175px; height:19px; ">
  718. <choices>
  719. <itemset nodeset="/root/init/efcysrchinfo2/efcyinfo4/item">
  720. <label ref="efcynm"/>
  721. <value ref="efcycd"/>
  722. </itemset>
  723. </choices>
  724. <script type="javascript" ev:event="xforms-value-changed">
  725. <![CDATA[
  726. fselSrchFlag(2);
  727. var srchefcycd4= model.getValue("/root/send/srchefcyinfo/srchefcycd4");
  728. if(srchefcycd4 != ""){
  729. fSetEfcyCode("S",srchefcycd4+"%", 5);
  730. }else{
  731. model.removeNodeset("/root/init/efcysrchinfo2/efcyinfo5/item");
  732. }
  733. model.refresh();
  734. ]]>
  735. </script>
  736. </select1>
  737. <select1 id="cmb_srchefcy5" ref="/root/send/srchefcyinfo/srchefcycd5" appearance="minimal" style="left:23px; top:345px; width:175px; height:19px; ">
  738. <choices>
  739. <itemset nodeset="/root/init/efcysrchinfo2/efcyinfo5/item">
  740. <label ref="efcynm"/>
  741. <value ref="efcycd"/>
  742. </itemset>
  743. </choices>
  744. <script type="javascript" ev:event="xforms-value-changed">
  745. <![CDATA[
  746. fselSrchFlag(2);
  747. ]]>
  748. </script>
  749. </select1>
  750. <!--
  751. <caption id="caption11" style="left:25px; top:55px; width:165px; height:25px; vertical-align:middle; ">찾는 약품의 유형을 선택하고,</caption>
  752. <caption id="caption12" style="left:25px; top:80px; width:166px; height:25px; vertical-align:middle; ">찾는 약품을 아래에 입력한 후,</caption>
  753. <caption id="caption13" style="left:25px; top:105px; width:165px; height:25px; vertical-align:middle; ">Enter Key를 누르십시오.</caption>
  754. <select1 id="radio2" ref="/root/send/srchinfo1/srchcntsflag" class="radio_search" overflow="visible" appearance="full" vcellspacing="20" style="left:30px; top:150px; width:100px; height:145px; border-style:none; ">
  755. <choices>
  756. <item>
  757. <label>약품코드</label>
  758. <value>1</value>
  759. </item>
  760. <item>
  761. <label>성분명</label>
  762. <value>2</value>
  763. </item>
  764. <item>
  765. <label>영문상품명</label>
  766. <value>3</value>
  767. </item>
  768. <item>
  769. <label>한글상품명</label>
  770. <value>4</value>
  771. </item>
  772. </choices>
  773. </select1>
  774. //-->
  775. <button id="btn_sea" class="btn1_letter2" style="left:75px; top:395px; width:56px; height:22px; ">
  776. <caption>조회</caption>
  777. <script type="javascript" ev:event="DOMActivate">
  778. <![CDATA[
  779. fSubmitHBookList(2);
  780. ]]>
  781. </script>
  782. </button>
  783. <input id="ipt_srchdrugcd" ref="/root/send/srchefcyinfo/srchcnts" class="input_search" navindex="10" imemode="alpha" maxlength="12" style="left:20px; top:195px; width:173px; height:19px; ">
  784. <script type="javascript" ev:event="onkeyup">
  785. <![CDATA[
  786. if(event.keyCode == "13") {
  787. fselSrchFlag(1);
  788. setInputNodeCurText();
  789. btn_sea.dispatch("DOMActivate");
  790. model.refresh();
  791. }
  792. ]]>
  793. </script>
  794. <hint>
  795. <![CDATA["D"로시작하는 약품코드(12자리가능)]]>
  796. </hint>
  797. </input>
  798. <datagrid id="grd_druglist2" nodeset="/root/main/druglist" autoresize="false" caption="처방입력구분^약품코드^상품명^성분명" colsep="^" colwidth="83, 107, 196, 226" mergecellsfixedrows="bycolrec" rowsep="|" style="left:218px; top:15px; width:630px; height:255px; ">
  799. <col disabled="true" ref="ordinptflag" type="combo">
  800. <choices>
  801. <item>
  802. <label>처방가능</label>
  803. <value>A</value>
  804. </item>
  805. <item>
  806. <label>Invisible</label>
  807. <value>I</value>
  808. </item>
  809. <item>
  810. <label>처방불가</label>
  811. <value>X</value>
  812. </item>
  813. </choices>
  814. </col>
  815. <col ref="drugcd"/>
  816. <col ref="drugnm"/>
  817. <col ref="comnm"/>
  818. <script type="javascript" ev:event="onclick">
  819. <![CDATA[
  820. fSubmitHBookDetl(2);
  821. ]]>
  822. </script>
  823. </datagrid>
  824. <switch id="switch3" style="left:218px; top:310px; width:967px; height:395px; ">
  825. <case id="case8" selected="true" style="left:0px; top:0px; width:993px; height:393px; ">
  826. <caption id="caption7" class="search_name" style="left:15px; top:15px; width:73px; height:17px; ">상품명 :</caption>
  827. <caption id="caption8" class="search_name" style="left:15px; top:165px; width:73px; height:17px; ">성분 :</caption>
  828. <caption id="caption9" class="search_name" style="left:15px; top:310px; width:73px; height:17px; ">약가 :</caption>
  829. <caption id="caption10" class="search_name" style="left:430px; top:15px; width:73px; height:17px; ">용법 :</caption>
  830. <textarea id="tar_drugnm2" ref="/root/main/hbookdetlinfo/drugnm" scroll="autovscroll" editable="false" style="left:11px; top:35px; width:412px; height:120px; font-size:10pt; line-spacing:5; "/>
  831. <textarea id="tar_comnm2" ref="/root/main/hbookdetlinfo/comnm" scroll="autovscroll" editable="false" style="left:11px; top:185px; width:412px; height:110px; font-size:10pt; line-spacing:5; "/>
  832. <textarea id="tar_cost2" ref="/root/main/hbookdetlinfo/cost" scroll="autovscroll" editable="false" style="left:11px; top:335px; width:412px; height:45px; font-size:10pt; line-spacing:5; "/>
  833. <textarea id="tar_mthdvolsmm2" ref="/root/main/hbookdetlinfo/mthdvolsmm" scroll="autovscroll" editable="false" style="left:425px; top:35px; width:529px; height:345px; font-size:10pt; line-spacing:5; "/>
  834. </case>
  835. <case id="case9">
  836. <caption id="caption12" class="search_name" style="left:20px; top:15px; width:125px; height:17px; ">약리작용 및 효능</caption>
  837. <textarea id="tar_efcysmm2" ref="/root/main/hbookdetlinfo/efcysmm" scroll="autovscroll" editable="false" style="left:25px; top:40px; width:910px; height:345px; font-size:10pt; line-spacing:5; "/>
  838. </case>
  839. <case id="case10">
  840. <caption id="caption14" class="search_name" style="left:20px; top:15px; width:125px; height:17px; ">부작용</caption>
  841. <textarea id="tar_seffcsmm2" ref="/root/main/hbookdetlinfo/seffcsmm" scroll="autovscroll" editable="false" style="left:25px; top:40px; width:915px; height:345px; font-size:10pt; line-spacing:5; "/>
  842. </case>
  843. <case id="case11">
  844. <caption id="caption26" class="search_name" style="left:20px; top:10px; width:125px; height:17px; ">주의/금기</caption>
  845. <caption id="caption27" class="search_name" style="left:20px; top:220px; width:125px; height:17px; ">참고문헌</caption>
  846. <textarea id="tar_etc2" ref="/root/main/hbookdetlinfo/etc" scroll="autovscroll" editable="false" style="left:25px; top:35px; width:915px; height:175px; font-size:10pt; line-spacing:5; "/>
  847. <textarea id="tar_refcnts2" ref="/root/main/hbookdetlinfo/refcnts" scroll="autovscroll" editable="false" style="left:25px; top:245px; width:915px; height:140px; font-size:10pt; line-spacing:5; "/>
  848. </case>
  849. </switch>
  850. <button id="btn_efcy2" class="btn_sw" group="tab2" selected="false" style="left:298px; top:289px; width:126px; height:22px; ">
  851. <caption>약리작용 및 효능</caption>
  852. <toggle case="case9" ev:event="onclick"/>
  853. </button>
  854. <button id="btn_side2" class="btn_sw" group="tab2" selected="false" style="left:424px; top:289px; width:68px; height:22px; ">
  855. <caption>부작용</caption>
  856. <toggle case="case10" ev:event="onclick"/>
  857. </button>
  858. <button id="btn_ref2" class="btn_sw" group="tab2" selected="false" style="left:492px; top:289px; width:138px; height:22px; ">
  859. <caption>주의/금기/참고문헌</caption>
  860. <toggle case="case11" ev:event="onclick"/>
  861. </button>
  862. <group id="grp_totimg2" visibility="hidden" style="left:373px; top:315px; width:602px; height:225px; border-style:solid; ">
  863. <img id="img_totphot2" ref="/root/main/photinfo/drugphot" style="left:0px; top:-1px; width:600px; height:192px; border-color:#B0B0B0; border-style:solid; "/>
  864. <output id="opt_tottitle2" ref="/root/main/photinfo/phottitle" style="left:0px; top:198px; width:599px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  865. </group>
  866. <group id="grp_img2" style="left:850px; top:15px; width:335px; height:255px; border-style:solid; ">
  867. <img id="img_phot2" ref="/root/main/photinfo/drugphot" style="left:0px; top:55px; width:333px; height:115px; background-stretch:stretch; border-color:#B0B0B0; border-style:solid; "/>
  868. <output id="opt_title2" ref="/root/main/photinfo/phottitle" style="left:0px; top:180px; width:333px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  869. <button id="button2" class="btn2_letter3" style="left:106px; top:210px; width:53px; height:19px; ">
  870. <caption>+확대</caption>
  871. <script type="javascript" ev:event="DOMActivate">
  872. <![CDATA[
  873. grp_totimg2.visible = true;
  874. ]]>
  875. </script>
  876. </button>
  877. <button id="button3" class="btn2_letter3" style="left:169px; top:210px; width:53px; height:19px; ">
  878. <caption>-축소</caption>
  879. <script type="javascript" ev:event="DOMActivate">
  880. <![CDATA[
  881. grp_totimg2.visible = false;
  882. ]]>
  883. </script>
  884. </button>
  885. </group>
  886. <button id="btn_base2" class="btn_sw" group="tab2" selected="true" style="left:218px; top:289px; width:80px; height:22px; ">
  887. <caption>기본정보</caption>
  888. <toggle case="case8" ev:event="onclick"/>
  889. </button>
  890. <caption id="lbl_hosout" visibility="hidden" style="left:19px; top:455px; width:161px; height:17px; font-weight:bold; color:#000000; ">* 원외전용약제(관리분류)</caption>
  891. <caption id="caption13" class="search_name" style="left:12px; top:221px; width:20px; height:17px; "/>
  892. <!-- 원내원외구분, 품절삭제여부, 산제불가여부, 처방분할금지여부 표시토록 수정 2011.9.22 jmkim -->
  893. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:9px; top:480px; width:200px; height:215px; background-color:#ffefff; ">// 원내원외구분, 품절삭제여부, 산제불가여부, 처방분할금지여부 표시토록 수정 2011.9.22 jmkim</shape>
  894. <caption id="caption32" class="search_name" style="left:14px; top:485px; width:102px; height:17px; ">원내원외구분</caption>
  895. <textarea id="output1" ref="/root/hidden/hosinflag" scroll="autovscroll" editable="false" style="left:29px; top:505px; width:170px; height:19px; text-align:center; vertical-align:middle; "/>
  896. <caption id="caption33" class="search_name" style="left:14px; top:535px; width:102px; height:17px; ">품절삭제여부</caption>
  897. <textarea id="output2" ref="/root/hidden/absnyn" scroll="autovscroll" editable="false" style="left:29px; top:555px; width:170px; height:19px; text-align:center; vertical-align:middle; "/>
  898. <caption id="caption34" class="search_name" style="left:14px; top:585px; width:102px; height:17px; ">산제불가여부</caption>
  899. <textarea id="output3" ref="/root/hidden/powdimpsi" scroll="autovscroll" editable="false" style="left:29px; top:605px; width:170px; height:19px; text-align:center; vertical-align:middle; "/>
  900. <caption id="caption35" class="search_name" style="left:14px; top:640px; width:128px; height:17px; ">처방분할금지여부</caption>
  901. <textarea id="output4" ref="/root/hidden/devidebanyn" scroll="autovscroll" editable="false" style="left:29px; top:660px; width:170px; height:19px; text-align:center; vertical-align:middle; "/>
  902. </case>
  903. <case id="case1" style="left:0px; top:0px; width:1195px; height:717px; ">
  904. <switch id="switch2" style="left:373px; top:310px; width:810px; height:405px; ">
  905. <case id="case4" selected="true" style="left:0px; top:0px; width:808px; height:403px; ">
  906. <caption id="caption1" class="search_name" style="left:12px; top:15px; width:73px; height:17px; ">상품명 :</caption>
  907. <caption id="caption2" class="search_name" style="left:12px; top:165px; width:73px; height:17px; ">성분 :</caption>
  908. <caption id="caption3" class="search_name" style="left:12px; top:310px; width:73px; height:17px; ">약가 :</caption>
  909. <caption id="caption4" class="search_name" style="left:382px; top:15px; width:73px; height:17px; ">용법 :</caption>
  910. <textarea id="tar_drugnm1" ref="/root/main/hbookdetlinfo/drugnm" editable="false" style="left:17px; top:35px; width:350px; height:120px; font-size:12pt; line-spacing:5; "/>
  911. <textarea id="tar_comnm1" ref="/root/main/hbookdetlinfo/comnm" editable="false" style="left:17px; top:185px; width:350px; height:110px; font-size:12pt; line-spacing:5; "/>
  912. <textarea id="tar_cost1" ref="/root/main/hbookdetlinfo/cost" editable="false" style="left:17px; top:335px; width:350px; height:45px; font-size:12pt; line-spacing:5; "/>
  913. <textarea id="tar_mthdvolsmm1" ref="/root/main/hbookdetlinfo/mthdvolsmm" editable="false" style="left:387px; top:35px; width:405px; height:345px; font-size:12pt; line-spacing:5; "/>
  914. </case>
  915. <case id="case5">
  916. <caption id="caption5" class="search_name" style="left:15px; top:15px; width:125px; height:17px; ">약리작용 및 효능</caption>
  917. <textarea id="tar_efcysmm1" ref="/root/main/hbookdetlinfo/efcysmm" editable="false" style="left:20px; top:40px; width:770px; height:345px; font-size:12pt; line-spacing:5; "/>
  918. </case>
  919. <case id="case6">
  920. <caption id="caption23" class="search_name" style="left:15px; top:15px; width:125px; height:17px; ">부작용</caption>
  921. <textarea id="tar_seffcsmm1" ref="/root/main/hbookdetlinfo/seffcsmm" editable="false" style="left:20px; top:40px; width:770px; height:345px; font-size:12pt; line-spacing:5; "/>
  922. </case>
  923. <case id="case7">
  924. <caption id="caption24" class="search_name" style="left:15px; top:10px; width:125px; height:17px; ">주의/금기</caption>
  925. <caption id="caption25" class="search_name" style="left:15px; top:220px; width:125px; height:17px; ">참고문헌</caption>
  926. <textarea id="tar_etc1" ref="/root/main/hbookdetlinfo/etc" editable="false" style="left:20px; top:35px; width:770px; height:175px; font-size:12pt; "/>
  927. <textarea id="tar_refcnts1" ref="/root/main/hbookdetlinfo/refcnts" editable="false" style="left:20px; top:245px; width:770px; height:140px; font-size:12pt; line-spacing:5; "/>
  928. </case>
  929. </switch>
  930. <button id="btn_base1" class="btn_sw" group="tab1" selected="true" style="left:373px; top:289px; width:77px; height:22px; ">
  931. <caption>기본정보</caption>
  932. <toggle case="case4" ev:event="onclick"/>
  933. </button>
  934. <group id="grp_img1" style="left:850px; top:15px; width:335px; height:255px; border-style:solid; ">
  935. <button id="button1" class="btn2_letter3" style="left:176px; top:210px; width:53px; height:19px; ">
  936. <caption>-축소</caption>
  937. <script type="javascript" ev:event="DOMActivate">
  938. <![CDATA[
  939. grp_totimg1.visible = false;
  940. ]]>
  941. </script>
  942. </button>
  943. </group>
  944. <treeview id="trv_druglist" ref="/root/send/srchinfo1/srchefcycd" expanddepth="1" itemsettype="depth" style="left:15px; top:10px; width:360px; height:700px; border-color:#c0a8c8; border-width:1; border-style:solid; ">
  945. <itemset nodeset="/root/main/efcylist/item">
  946. <label ref="efcynm"/>
  947. <value ref="efcycd"/>
  948. <depth ref="efcylevel"/>
  949. </itemset>
  950. <script type="javascript" ev:event="xforms-select">
  951. <![CDATA[
  952. fSubmitHBookList2(1);
  953. ]]>
  954. </script>
  955. </treeview>
  956. <datagrid id="grd_druglist1" nodeset="/root/main/druglist" autoresize="false" caption="처방입력구분^약품코드^상품명^성분명" colsep="^" colwidth="80, 90, 150, 130" mergecellsfixedrows="bycolrec" rowsep="|" style="left:375px; top:15px; width:475px; height:255px; ">
  957. <col disabled="true" ref="ordinptflag" type="combo">
  958. <choices>
  959. <item>
  960. <label>처방가능</label>
  961. <value>A</value>
  962. </item>
  963. <item>
  964. <label>Invisible</label>
  965. <value>I</value>
  966. </item>
  967. <item>
  968. <label>처방불가</label>
  969. <value>X</value>
  970. </item>
  971. </choices>
  972. </col>
  973. <col ref="drugcd"/>
  974. <col ref="drugnm"/>
  975. <col ref="comnm"/>
  976. <script type="javascript" ev:event="onclick">
  977. <![CDATA[
  978. if(!isDataCell()) return;
  979. fSubmitHBookDetl(1);
  980. ]]>
  981. </script>
  982. </datagrid>
  983. <button id="button25" class="btn2_letter3" style="left:961px; top:225px; width:53px; height:19px; ">
  984. <caption>+확대</caption>
  985. <script type="javascript" ev:event="DOMActivate">
  986. <![CDATA[
  987. grp_totimg1.visible = true;
  988. ]]>
  989. </script>
  990. </button>
  991. <button id="btn_efcy1" class="btn_sw" group="tab1" selected="false" style="left:450px; top:289px; width:123px; height:22px; ">
  992. <caption>약리작용 및 효능</caption>
  993. <toggle case="case5" ev:event="onclick"/>
  994. </button>
  995. <button id="btn_side1" class="btn_sw" group="tab1" selected="false" style="left:573px; top:289px; width:65px; height:22px; ">
  996. <caption>부작용</caption>
  997. <toggle case="case6" ev:event="onclick"/>
  998. </button>
  999. <button id="btn_ref1" class="btn_sw" group="tab1" selected="false" style="left:638px; top:289px; width:135px; height:22px; ">
  1000. <caption>주의/금기/참고문헌</caption>
  1001. <toggle case="case7" ev:event="onclick"/>
  1002. </button>
  1003. <group id="grp_totimg1" style="left:375px; top:320px; width:602px; height:225px; border-style:solid; ">
  1004. <img id="img_totphot1" ref="/root/main/photinfo/drugphot" style="left:0px; top:-1px; width:600px; height:192px; border-color:#B0B0B0; border-style:solid; "/>
  1005. <output id="opt_tottitle1" ref="/root/main/photinfo/phottitle" style="left:-1px; top:197px; width:600px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  1006. </group>
  1007. <img id="img_phot1" ref="/root/main/photinfo/drugphot" style="left:851px; top:65px; width:333px; height:115px; background-stretch:stretch; border-color:#B0B0B0; border-style:solid; "/>
  1008. <output id="opt_title1" ref="/root/main/photinfo/phottitle" style="left:850px; top:190px; width:333px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  1009. </case>
  1010. <case id="case3">
  1011. <caption id="lbl_note" style="left:10px; top:30px; width:165px; height:25px; vertical-align:middle; ">코드를 클릭하면,</caption>
  1012. <caption id="caption21" style="left:10px; top:55px; width:166px; height:25px; vertical-align:middle; ">약품정보가 표시됩니다.</caption>
  1013. <caption id="lbl_command" style="left:265px; top:25px; width:200px; height:25px; font-weight:bold; vertical-align:middle; ">코드의 첫글자를 누르십시오.</caption>
  1014. <button id="button51" class="btn2_letter2" style="left:315px; top:55px; width:42px; height:19px; ">
  1015. <caption>B</caption>
  1016. <script type="javascript" ev:event="DOMActivate">
  1017. <![CDATA[
  1018. setTopIndex("B");
  1019. ]]>
  1020. </script>
  1021. </button>
  1022. <button id="button16" class="btn2_letter2" style="left:450px; top:55px; width:42px; height:19px; ">
  1023. <caption>E</caption>
  1024. <script type="javascript" ev:event="DOMActivate">
  1025. <![CDATA[
  1026. setTopIndex("E");
  1027. ]]>
  1028. </script>
  1029. </button>
  1030. <button id="button17" class="btn2_letter2" style="left:270px; top:55px; width:42px; height:19px; ">
  1031. <caption>A</caption>
  1032. <script type="javascript" ev:event="DOMActivate">
  1033. <![CDATA[
  1034. setTopIndex("A");
  1035. ]]>
  1036. </script>
  1037. </button>
  1038. <button id="button18" class="btn2_letter2" style="left:540px; top:55px; width:42px; height:19px; ">
  1039. <caption>G</caption>
  1040. <script type="javascript" ev:event="DOMActivate">
  1041. <![CDATA[
  1042. setTopIndex("G");
  1043. ]]>
  1044. </script>
  1045. </button>
  1046. <button id="button19" class="btn2_letter2" style="left:495px; top:55px; width:42px; height:19px; ">
  1047. <caption>F</caption>
  1048. <script type="javascript" ev:event="DOMActivate">
  1049. <![CDATA[
  1050. setTopIndex("F");
  1051. ]]>
  1052. </script>
  1053. </button>
  1054. <button id="button20" class="btn2_letter2" style="left:585px; top:55px; width:42px; height:19px; ">
  1055. <caption>H</caption>
  1056. <script type="javascript" ev:event="DOMActivate">
  1057. <![CDATA[
  1058. setTopIndex("H");
  1059. ]]>
  1060. </script>
  1061. </button>
  1062. <button id="button21" class="btn2_letter2" style="left:630px; top:55px; width:42px; height:19px; ">
  1063. <caption>I</caption>
  1064. <script type="javascript" ev:event="DOMActivate">
  1065. <![CDATA[
  1066. setTopIndex("I");
  1067. ]]>
  1068. </script>
  1069. </button>
  1070. <button id="button35" class="btn2_letter2" style="left:405px; top:55px; width:42px; height:19px; ">
  1071. <caption>D</caption>
  1072. <script type="javascript" ev:event="DOMActivate">
  1073. <![CDATA[
  1074. setTopIndex("D");
  1075. ]]>
  1076. </script>
  1077. </button>
  1078. <button id="button36" class="btn2_letter2" style="left:360px; top:55px; width:42px; height:19px; ">
  1079. <caption>C</caption>
  1080. <script type="javascript" ev:event="DOMActivate">
  1081. <![CDATA[
  1082. setTopIndex("C");
  1083. ]]>
  1084. </script>
  1085. </button>
  1086. <button id="button38" class="btn2_letter2" style="left:675px; top:55px; width:42px; height:19px; ">
  1087. <caption>J</caption>
  1088. <script type="javascript" ev:event="DOMActivate">
  1089. <![CDATA[
  1090. setTopIndex("J");
  1091. ]]>
  1092. </script>
  1093. </button>
  1094. <button id="button39" class="btn2_letter2" style="left:675px; top:85px; width:42px; height:19px; ">
  1095. <caption>T</caption>
  1096. <script type="javascript" ev:event="DOMActivate">
  1097. <![CDATA[
  1098. setTopIndex("T");
  1099. ]]>
  1100. </script>
  1101. </button>
  1102. <button id="button40" class="btn2_letter2" style="left:450px; top:85px; width:42px; height:19px; ">
  1103. <caption>O</caption>
  1104. <script type="javascript" ev:event="DOMActivate">
  1105. <![CDATA[
  1106. setTopIndex("O");
  1107. ]]>
  1108. </script>
  1109. </button>
  1110. <button id="button41" class="btn2_letter2" style="left:270px; top:85px; width:42px; height:19px; ">
  1111. <caption>K</caption>
  1112. <script type="javascript" ev:event="DOMActivate">
  1113. <![CDATA[
  1114. setTopIndex("K");
  1115. ]]>
  1116. </script>
  1117. </button>
  1118. <button id="button43" class="btn2_letter2" style="left:540px; top:85px; width:42px; height:19px; ">
  1119. <caption>Q</caption>
  1120. <script type="javascript" ev:event="DOMActivate">
  1121. <![CDATA[
  1122. setTopIndex("Q");
  1123. ]]>
  1124. </script>
  1125. </button>
  1126. <button id="button44" class="btn2_letter2" style="left:495px; top:85px; width:42px; height:19px; ">
  1127. <caption>P</caption>
  1128. <script type="javascript" ev:event="DOMActivate">
  1129. <![CDATA[
  1130. setTopIndex("P");
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <button id="button45" class="btn2_letter2" style="left:315px; top:85px; width:42px; height:19px; ">
  1135. <caption>L</caption>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. setTopIndex("L");
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <button id="button46" class="btn2_letter2" style="left:585px; top:85px; width:42px; height:19px; ">
  1143. <caption>R</caption>
  1144. <script type="javascript" ev:event="DOMActivate">
  1145. <![CDATA[
  1146. setTopIndex("R");
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <button id="button47" class="btn2_letter2" style="left:630px; top:85px; width:42px; height:19px; ">
  1151. <caption>S</caption>
  1152. <script type="javascript" ev:event="DOMActivate">
  1153. <![CDATA[
  1154. setTopIndex("S");
  1155. ]]>
  1156. </script>
  1157. </button>
  1158. <button id="button48" class="btn2_letter2" style="left:405px; top:85px; width:42px; height:19px; ">
  1159. <caption>N</caption>
  1160. <script type="javascript" ev:event="DOMActivate">
  1161. <![CDATA[
  1162. setTopIndex("N");
  1163. ]]>
  1164. </script>
  1165. </button>
  1166. <button id="button49" class="btn2_letter2" style="left:360px; top:85px; width:42px; height:19px; ">
  1167. <caption>M</caption>
  1168. <script type="javascript" ev:event="DOMActivate">
  1169. <![CDATA[
  1170. setTopIndex("M");
  1171. ]]>
  1172. </script>
  1173. </button>
  1174. <button id="button50" class="btn2_letter2" style="left:405px; top:115px; width:42px; height:19px; ">
  1175. <caption>X</caption>
  1176. <script type="javascript" ev:event="DOMActivate">
  1177. <![CDATA[
  1178. setTopIndex("X");
  1179. ]]>
  1180. </script>
  1181. </button>
  1182. <button id="button52" class="btn2_letter2" style="left:360px; top:115px; width:42px; height:19px; ">
  1183. <caption>W</caption>
  1184. <script type="javascript" ev:event="DOMActivate">
  1185. <![CDATA[
  1186. setTopIndex("W");
  1187. ]]>
  1188. </script>
  1189. </button>
  1190. <button id="button54" class="btn2_letter2" style="left:450px; top:115px; width:42px; height:19px; ">
  1191. <caption>Y</caption>
  1192. <script type="javascript" ev:event="DOMActivate">
  1193. <![CDATA[
  1194. setTopIndex("Y");
  1195. ]]>
  1196. </script>
  1197. </button>
  1198. <button id="button55" class="btn2_letter2" style="left:270px; top:115px; width:42px; height:19px; ">
  1199. <caption>U</caption>
  1200. <script type="javascript" ev:event="DOMActivate">
  1201. <![CDATA[
  1202. setTopIndex("U");
  1203. ]]>
  1204. </script>
  1205. </button>
  1206. <button id="button57" class="btn2_letter2" style="left:495px; top:115px; width:42px; height:19px; ">
  1207. <caption>Z</caption>
  1208. <script type="javascript" ev:event="DOMActivate">
  1209. <![CDATA[
  1210. setTopIndex("Z");
  1211. ]]>
  1212. </script>
  1213. </button>
  1214. <button id="button58" class="btn2_letter2" style="left:315px; top:115px; width:42px; height:19px; ">
  1215. <caption>V</caption>
  1216. <script type="javascript" ev:event="DOMActivate">
  1217. <![CDATA[
  1218. setTopIndex("V");
  1219. ]]>
  1220. </script>
  1221. </button>
  1222. <button id="button22" class="btn2_letter5" style="left:540px; top:115px; width:75px; height:19px; ">
  1223. <caption>숫자로 시작</caption>
  1224. <script type="javascript" ev:event="DOMActivate">
  1225. <![CDATA[
  1226. setNumericTopIndex();
  1227. ]]>
  1228. </script>
  1229. </button>
  1230. <datagrid id="lst_druglist" nodeset="/root/main/druglist" class="local_datagrid" caption="약품코드^영문명" colsep="^" colwidth="213, 213" mergecellsfixedrows="bycolrec" rowheight="0" rowsep="|" style="left:15px; top:85px; width:235px; height:625px; ">
  1231. <col ref="drugcd"/>
  1232. <col ref="engnm"/>
  1233. <script type="javascript" ev:event="onclick">
  1234. <![CDATA[
  1235. if (!lst_druglist.isCell(event.target) || lst_druglist.row < 1) {
  1236. return;
  1237. }
  1238. fGetDetail();
  1239. ]]>
  1240. </script>
  1241. <script type="javascript" ev:event="onrowchanged">
  1242. <![CDATA[
  1243. ]]>
  1244. </script>
  1245. <script type="javascript" ev:event="DOMFocusOut">
  1246. <![CDATA[
  1247. lst_druglist.select(-1,-1) = true;
  1248. ]]>
  1249. </script>
  1250. </datagrid>
  1251. <switch id="switch4" style="left:262px; top:305px; width:908px; height:400px; ">
  1252. <case id="case12" selected="true" style="left:0px; top:0px; width:993px; height:398px; ">
  1253. <caption id="caption15" class="search_name" style="left:15px; top:15px; width:73px; height:17px; ">상품명 :</caption>
  1254. <caption id="caption16" class="search_name" style="left:15px; top:165px; width:73px; height:17px; ">성분 :</caption>
  1255. <caption id="caption17" class="search_name" style="left:15px; top:310px; width:73px; height:17px; ">약가 :</caption>
  1256. <caption id="caption18" class="search_name" style="left:460px; top:15px; width:73px; height:17px; ">용법 :</caption>
  1257. <textarea id="tar_drugnm3" ref="/root/main/hbookdetlinfo/drugnm" editable="false" style="left:20px; top:35px; width:420px; height:120px; font-size:12pt; line-spacing:5; "/>
  1258. <textarea id="tar_comnm3" ref="/root/main/hbookdetlinfo/comnm" editable="false" style="left:20px; top:185px; width:420px; height:110px; font-size:12pt; line-spacing:5; "/>
  1259. <textarea id="tar_cost3" ref="/root/main/hbookdetlinfo/cost" editable="false" style="left:20px; top:335px; width:420px; height:45px; font-size:12pt; line-spacing:5; "/>
  1260. <textarea id="tar_mthdvolsmm3" ref="/root/main/hbookdetlinfo/mthdvolsmm" editable="false" style="left:465px; top:35px; width:420px; height:345px; font-size:12pt; line-spacing:5; "/>
  1261. </case>
  1262. <case id="case13">
  1263. <caption id="caption28" class="search_name" style="left:20px; top:15px; width:125px; height:17px; ">약리작용 및 효능</caption>
  1264. <textarea id="tar_efcysmm3" ref="/root/main/hbookdetlinfo/efcysmm" editable="false" style="left:25px; top:40px; width:850px; height:345px; font-size:12pt; line-spacing:5; "/>
  1265. </case>
  1266. <case id="case14">
  1267. <caption id="caption29" class="search_name" style="left:20px; top:15px; width:125px; height:17px; ">부작용</caption>
  1268. <textarea id="tar_seffcsmm3" ref="/root/main/hbookdetlinfo/seffcsmm" editable="false" style="left:25px; top:40px; width:850px; height:345px; font-size:12pt; line-spacing:5; "/>
  1269. </case>
  1270. <case id="case15" style="left:0px; top:0px; width:993px; height:398px; ">
  1271. <caption id="caption30" class="search_name" style="left:20px; top:10px; width:125px; height:17px; ">주의/금기</caption>
  1272. <caption id="caption31" class="search_name" style="left:20px; top:220px; width:125px; height:17px; ">참고문헌</caption>
  1273. <textarea id="tar_etc3" ref="/root/main/hbookdetlinfo/etc" editable="false" style="left:25px; top:35px; width:850px; height:175px; font-size:12pt; line-spacing:5; "/>
  1274. <textarea id="tar_refcnts3" ref="/root/main/hbookdetlinfo/refcnts" editable="false" style="left:25px; top:245px; width:850px; height:140px; font-size:12pt; line-spacing:5; "/>
  1275. </case>
  1276. </switch>
  1277. <button id="btn_efcy3" class="btn_sw" group="tab3" selected="false" style="left:345px; top:284px; width:123px; height:22px; ">
  1278. <caption>약리작용 및 효능</caption>
  1279. <toggle case="case13" ev:event="onclick"/>
  1280. </button>
  1281. <button id="btn_side3" class="btn_sw" group="tab3" selected="false" style="left:468px; top:284px; width:67px; height:22px; ">
  1282. <caption>부작용</caption>
  1283. <toggle case="case14" ev:event="onclick"/>
  1284. </button>
  1285. <button id="btn_ref3" class="btn_sw" group="tab3" selected="false" style="left:535px; top:284px; width:139px; height:22px; ">
  1286. <caption>주의/금기/참고문헌</caption>
  1287. <toggle case="case15" ev:event="onclick"/>
  1288. </button>
  1289. <group id="grp_totimg3" style="left:373px; top:285px; width:602px; height:225px; border-style:solid; ">
  1290. <img id="img_totphot3" ref="/root/main/photinfo/drugphot" style="left:0px; top:0px; width:600px; height:192px; border-color:#B0B0B0; border-style:solid; "/>
  1291. <output id="opt_tottitle3" ref="/root/main/photinfo/phottitle" style="left:0px; top:198px; width:599px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  1292. </group>
  1293. <group id="grp_img3" style="left:850px; top:15px; width:335px; height:255px; border-style:solid; ">
  1294. <button id="button28" class="btn2_letter3" style="left:121px; top:210px; width:53px; height:19px; ">
  1295. <caption>+확대</caption>
  1296. <script type="javascript" ev:event="DOMActivate">
  1297. <![CDATA[
  1298. grp_totimg3.visible = true;
  1299. ]]>
  1300. </script>
  1301. </button>
  1302. <img id="img_phot3" ref="/root/main/photinfo/drugphot" style="left:0px; top:55px; width:333px; height:115px; background-stretch:stretch; border-color:#B0B0B0; border-style:solid; "/>
  1303. <output id="opt_title3" ref="/root/main/photinfo/phottitle" style="left:0px; top:180px; width:333px; height:19px; font-weight:bold; color:#ff0000; text-align:center; "/>
  1304. <button id="button4" class="btn2_letter3" style="left:179px; top:210px; width:53px; height:19px; ">
  1305. <caption>-축소</caption>
  1306. <script type="javascript" ev:event="DOMActivate">
  1307. <![CDATA[
  1308. grp_totimg3.visible = false;
  1309. ]]>
  1310. </script>
  1311. </button>
  1312. </group>
  1313. <button id="btn_base3" class="btn_sw" group="tab3" selected="true" style="left:262px; top:284px; width:83px; height:22px; ">
  1314. <caption>기본정보</caption>
  1315. <toggle case="case12" ev:event="onclick"/>
  1316. </button>
  1317. </case>
  1318. </switch>
  1319. <button id="btn_cnts" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:49px; height:22px; ">
  1320. <caption>목차</caption>
  1321. <toggle case="case1" ev:event="onclick"/>
  1322. <script type="javascript" ev:event="DOMActivate">
  1323. <![CDATA[
  1324. setInitDisplay();
  1325. btn_base1.selected = true;
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. <button id="btn_index" class="btn_sw" group="tab" selected="false" style="left:49px; top:4px; width:49px; height:22px; ">
  1330. <caption>색인</caption>
  1331. <toggle case="case2" ev:event="onclick"/>
  1332. <script type="javascript" ev:event="DOMActivate">
  1333. <![CDATA[
  1334. setInitDisplay();
  1335. btn_base2.selected = true;
  1336. ]]>
  1337. </script>
  1338. </button>
  1339. <button id="btn_alldrug" class="btn_sw" group="tab" selected="false" style="left:98px; top:4px; width:112px; height:22px; ">
  1340. <caption>전체코드중찾기</caption>
  1341. <toggle case="case3" ev:event="onclick"/>
  1342. <script type="javascript" ev:event="DOMActivate">
  1343. <![CDATA[
  1344. setInitDisplay();
  1345. btn_base3.selected = true;
  1346. btn_engnm.selected = false;
  1347. fChangeTab(3);
  1348. submit("TRADB01904");
  1349. ]]>
  1350. </script>
  1351. </button>
  1352. <button id="btn_engnm" class="btn_sw" group="tab" selected="false" style="left:210px; top:4px; width:112px; height:22px; ">
  1353. <caption>전체약품명찾기</caption>
  1354. <toggle case="case3" ev:event="onclick"/>
  1355. <script type="javascript" ev:event="DOMActivate">
  1356. <![CDATA[
  1357. setInitDisplay();
  1358. btn_base3.selected = false;
  1359. btn_engnm.selected = true;
  1360. fChangeTab(4);
  1361. submit("TRADB01904");
  1362. ]]>
  1363. </script>
  1364. </button>
  1365. </group>
  1366. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  1367. <button id="button33" class="btn4_letter10" visibility="hidden" style="left:1033px; top:5px; width:152px; height:22px; ">
  1368. <caption>신규/품절/삭제약 조회</caption>
  1369. </button>
  1370. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  1371. <caption>출력</caption>
  1372. <script type="javascript" ev:event="DOMActivate">
  1373. <![CDATA[
  1374. var drugrow = grd_druglist2.row;
  1375. model.setValue("root/send/srchefcyinfo/srchdrugcd" , model.getValue("/root/main/druglist[" + drugrow + "]/drugcd"));
  1376. submit("TRADB01906");
  1377. //exeReportPreview("RPADB01902", "XMLSTR", "", "", "true","","","","","true");
  1378. exeReportPreview("RPADB01902", "XMLSTR", "");
  1379. ]]>
  1380. </script>
  1381. </button>
  1382. <button id="button5" class="btn6_letter4" style="left:65px; top:5px; width:56px; height:22px; ">
  1383. <caption>전체출력</caption>
  1384. <script type="javascript" ev:event="DOMActivate">
  1385. <![CDATA[
  1386. submit("TRADB01906");
  1387. //exeReportPreview("RPADB01902", "XMLSTR", "", "", "true","","","","","true");
  1388. exeReportPreview("RPADB01902", "XMLSTR", "");
  1389. ]]>
  1390. </script>
  1391. </button>
  1392. </group>
  1393. <select id="chk_hosout" ref="/root/send/srchefcyinfo/ishosout" overflow="visible" appearance="full" checkvalue="Y,N" style="left:19px; top:415px; width:101px; height:20px; ">
  1394. <choices>
  1395. <item>
  1396. <label>원외전용</label>
  1397. <value>Y</value>
  1398. </item>
  1399. </choices>
  1400. </select>
  1401. </xhtml:body>
  1402. </xhtml:html>