SMZCN00201_선택약품.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <list4>
  11. <resultDrugSearchDetail>
  12. <hcode/>
  13. <edi_nm/>
  14. <hamryang/>
  15. <prescription_channel/>
  16. <jehyeng/>
  17. <insurance_demand/>
  18. <edi_cd/>
  19. <jeyaksa_nm/>
  20. <yakhyo_no/>
  21. <yaksort_nm/>
  22. <yaksort_nm_cust/>
  23. <drug_category/>
  24. <national_support_flag/>
  25. <fda_pregnancy_category/>
  26. <special_as_flag/>
  27. <yakpum_cd/>
  28. <gcn_seqno/>
  29. <img_con/>
  30. <eng_nm/>
  31. <bogijunga/>
  32. <ahfs_desc/>
  33. <ahfs/>
  34. <atc_desc/>
  35. <atc/>
  36. <atc3_desc/>
  37. <atc3_desc_cust/>
  38. </resultDrugSearchDetail>
  39. <resultDrugIngredient>
  40. <iengnm/>
  41. <hamryangnm/>
  42. </resultDrugIngredient>
  43. </list4>
  44. <selectedlist>
  45. <list>
  46. <hdrugcd/>
  47. <fdrugcd/>
  48. <gcnseqno/>
  49. <edicd/>
  50. <engnm/>
  51. <edi_nm/>
  52. <iengnm/>
  53. </list>
  54. </selectedlist>
  55. <selectedDrugInfo>
  56. <pYakpumCd/>
  57. <pGcnSeqNo/>
  58. <pSelectRow/>
  59. </selectedDrugInfo>
  60. </main>
  61. <send>
  62. <reqDetail>
  63. <pYakpumCd/>
  64. <pGcnSeqNo/>
  65. </reqDetail>
  66. </send>
  67. <temp>
  68. <pClassficationCd/>
  69. <pSearchType/>
  70. </temp>
  71. <firstDISsend>
  72. <drugcode/>
  73. <refno/>
  74. <refcd/>
  75. </firstDISsend>
  76. </root>
  77. </instance>
  78. <submission id="TRZCN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqDetail" resultref="/root/main/list4"/>
  79. </model>
  80. <script type="javascript">
  81. <![CDATA[
  82. /*
  83. model.getDetailDrugInfo(); 를 함수로 만들었습니다.
  84. param1 : 선택된 약품 grid에서 선택된 약품코드(pYakpumCd) 입니다.
  85. param2 : 선택된 약품 grid에서 선택된 GCN코드(pGcnSeqNo) 입니다.
  86. reqGetDetailInfo() 함수를 PARENT 상에 작성
  87. PARENT 오픈시점에 실행하여 PARENT의첫번째 탭의 상세 정보를 조회한다.
  88. */
  89. function getDetailDrugInfo(param1, param2, param3 ){
  90. left_img2.visible = true;
  91. model.makeValue("root/send/reqDetail/pYakpumCd", param1);
  92. model.makeValue("root/send/reqDetail/pGcnSeqNo", param2);
  93. model.makeValue("/root/main/selectedDrugInfo/pYakpumCd", param1);
  94. model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo", param2);
  95. model.makeValue("/root/main/selectedDrugInfo/pSelectRow", param3);
  96. //alert("선택화면");
  97. zcnfSetDurgInfo();
  98. left_button1.visible = false ;
  99. submit("TRZCN00501");
  100. reqGetDetailInfo(param1, param2, 0);
  101. left_img1.src = getDomain()+"/dif/images/"+param1+".jpg";
  102. // left_img1.src = "../../../com/navigationweb/images/"+param1+".jpg";
  103. left_img1.refresh();
  104. if (left_img1.getBase64data()==''){
  105. } else {
  106. left_img2.visible = false;
  107. left_button1.visible = true;
  108. }
  109. left_button1.refresh();
  110. //model.refresh();
  111. }
  112. ]]>
  113. </script>
  114. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  115. </xhtml:head>
  116. <xhtml:body navindex="99999999999999999999" scroll="autovscroll" pagewidth="359" pageheight="770" idprefix="left_" style="border-color:transparent; border-width:0; ">
  117. <group id="left_group1" style="left:1px; top:5px; width:350px; height:760px; ">
  118. <object id="objBrowerPrint" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" Visible="false" StatusBar="false" style="left:5px; top:176px; width:0px; height:0px; font-family:굴림; font-size:7pt; padding-left:0; padding-top:0; padding-right:0; padding-bottom:0; background-image:../../../com/commonweb/images/grid_bg.gif; ">
  119. <script type="javascript" ev:event="DocumentComplete(pDisp, URL)">
  120. <![CDATA[
  121. objBrowerPrint.ExecWB(6,1);
  122. ]]>
  123. </script>
  124. </object>
  125. </group>
  126. <table id="left_table1" cellspacing="-1" style="left:5px; top:285px; width:345px; height:479px; border-color:#B0B0B0; ">
  127. <tr>
  128. <td style="width:115px; height:100px; "/>
  129. <td style="width:227px; height:100px; ">
  130. <shape id="left_rectangle1" appearance="rectangle" style="left:0px; top:3px; width:230px; height:150px; "/>
  131. <img id="left_img1" src="../../../com/navigationweb/images/no_image.jpg" style="left:26px; top:8px; width:176px; height:88px; background-stretch:stretch; "/>
  132. <img id="left_img2" visibility="hidden" src="../../../com/navigationweb/images/no_image.jpg" style="left:26px; top:8px; width:176px; height:88px; background-stretch:stretch; "/>
  133. </td>
  134. </tr>
  135. <tr>
  136. <td style="width:115px; height:64px; "/>
  137. <td style="width:227px; height:64px; "/>
  138. </tr>
  139. <tr>
  140. <td style="width:115px; height:26px; "/>
  141. <td style="width:227px; height:26px; "/>
  142. </tr>
  143. <tr>
  144. <td style="width:115px; height:25px; "/>
  145. <td style="width:227px; height:25px; "/>
  146. </tr>
  147. <tr>
  148. <td style="width:115px; height:63px; "/>
  149. <td style="width:227px; height:63px; ">
  150. <datagrid id="left_datagrid2" nodeset="/root/main/list4/resultDrugIngredient" colwidth="150, 77" dataheight="13" rowsep="|" style="left:0px; top:0px; width:228px; height:63px; border-color:#ffffff; border-style:hidden; ">
  151. <col ref="iengnm"/>
  152. <col ref="hamryangnm"/>
  153. <script type="javascript" ev:event="ondblclick">
  154. <![CDATA[
  155. modal("../../navigationweb/xrw/SPZCN00401", "", "", "", "SPZCN00401","/root/main/list4","/root/main/list4");
  156. ]]>
  157. </script>
  158. </datagrid>
  159. </td>
  160. </tr>
  161. <tr>
  162. <td style="width:115px; height:25px; "/>
  163. <td style="width:227px; height:25px; "/>
  164. </tr>
  165. <tr>
  166. <td style="width:115px; height:25px; "/>
  167. <td style="width:227px; height:25px; "/>
  168. </tr>
  169. <tr>
  170. <td style="width:115px; height:37px; "/>
  171. <td style="width:227px; height:37px; "/>
  172. </tr>
  173. <tr>
  174. <td style="width:115px; height:38px; "/>
  175. <td style="width:227px; height:38px; "/>
  176. </tr>
  177. <tr>
  178. <td style="width:115px; height:38px; "/>
  179. <td style="width:227px; height:38px; "/>
  180. </tr>
  181. <tr>
  182. <td style="width:115px; height:26px; "/>
  183. <td style="width:227px; height:26px; "/>
  184. </tr>
  185. </table>
  186. <output id="left_output3" ref="/root/main/list4/resultDrugSearchDetail/yaksort_nm" class="output" appearance="output" style="left:124px; top:621px; width:225px; height:19px; "/>
  187. <caption id="left_caption7" class="tit_2" style="left:5px; top:10px; width:98px; height:13px; ">선택된 약품</caption>
  188. <caption id="left_caption8" class="cell_1" style="left:6px; top:388px; width:115px; height:63px; ">
  189. <![CDATA[성상정보
  190. ]]>
  191. </caption>
  192. <textarea id="left_textarea1" ref="/root/main/list4/resultDrugSearchDetail/img_con" disabled="false" scroll="auto" editable="false" maxbyte="10" style="left:121px; top:386px; width:229px; height:66px; letter-spacing:1; margin-top:3; "/>
  193. <caption id="left_caption10" class="cell_1" style="left:6px; top:621px; width:115px; height:36px; ">약효분류명</caption>
  194. <output id="left_output5" ref="/root/main/list4/resultDrugSearchDetail/fda_pregnancy_category" class="output" appearance="output" style="left:124px; top:737px; width:225px; height:19px; "/>
  195. <caption id="left_caption9" class="cell_1" style="left:6px; top:453px; width:115px; height:24px; ">약품명</caption>
  196. <caption id="left_caption11" class="cell_1" style="left:6px; top:659px; width:115px; height:37px; vertical-align:top; ">AHFS약효분류</caption>
  197. <button id="left_button2" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:238px; top:4px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  198. <caption>삭제</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. var rowcnt = left_datagrid1.row;
  202. model.removeNode ("/root/main/selectedlist/list["+rowcnt+"]");
  203. model.removeNodeset("/root/main/list4/resultDrugSearchDetail");
  204. model.removeNodeset("/root/main/list4/resultDrugIngredient");
  205. zcnfSetDurgList();
  206. if(left_datagrid1.rows > 0){
  207. var berofrow = 1;
  208. var param1 = model.getValue("/root/main/selectedlist/list" + "[" + berofrow + "]/" + "fdrugcd");
  209. var param2 = model.getValue("/root/main/selectedlist/list" + "[" + berofrow+ "]/" + "gcnseqno");
  210. getDetailDrugInfo(param1, param2, berofrow);
  211. model.refresh();
  212. left_datagrid1.select(berofrow,1) = true;
  213. model.setFocus("left_datagrid1");
  214. }else{
  215. model.makeValue("root/send/reqDetail/pYakpumCd", "");
  216. model.makeValue("root/send/reqDetail/pGcnSeqNo", "");
  217. model.makeValue("/root/main/selectedDrugInfo/pYakpumCd", "");
  218. model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo", "");
  219. left_img2.visible = true;
  220. left_button1.visible = false;
  221. zcnfSetDurgInfo();
  222. model.refresh();
  223. }
  224. ]]>
  225. </script>
  226. </button>
  227. <button id="left_button3" class="btn4_letter5" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:259px; top:258px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
  228. <caption>문의/제안</caption>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. /*
  232. 각 화면별 문의 세팅값 처리
  233. */
  234. model.removeNodeset("/root/firstDISsend");
  235. FirstDIS_Request();
  236. ]]>
  237. </script>
  238. </button>
  239. <output id="left_output7" ref="/root/main/list4/resultDrugSearchDetail/eng_nm" class="output" appearance="output" style="left:124px; top:479px; width:225px; height:19px; "/>
  240. <button id="left_button4" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:11px; top:367px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  241. <caption>감액</caption>
  242. </button>
  243. <output id="left_output8" ref="/root/main/list4/resultDrugSearchDetail/edi_nm" class="output" appearance="output" style="left:124px; top:453px; width:225px; height:19px; "/>
  244. <line id="left_line1" class="line_1" style="x1:6px; y1:286px; x2:351px; y2:286px; border-color:#808080; "/>
  245. <button id="left_button5" class="btn2_letter5" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:11px; top:427px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  246. <caption>상세보기</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. modal("../../navigationweb/xrw/SPZCN00501_성상정보상세", "", "", "", "SPZCN00501","/root/main/list4/resultDrugSearchDetail/img_con","/root/main/img_con");
  250. ]]>
  251. </script>
  252. </button>
  253. <line id="left_line3" class="line_1" style="x1:5px; y1:24px; x2:350px; y2:24px; "/>
  254. <datagrid id="left_datagrid1" nodeset="/root/main/selectedlist/list" caption="CMC약품코드^약품명^성분명" colsep="^" colwidth="90, 150, 100, 100" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:5px; top:29px; width:345px; height:215px; ">
  255. <col ref="hdrugcd"/>
  256. <col ref="edi_nm"/>
  257. <col ref="iengnm"/>
  258. <col ref="gcnseqno" visibility="hidden"/>
  259. <col ref="fdrugcd" visibility="hidden"/>
  260. <script type="javascript" ev:event="onclick">
  261. <![CDATA[
  262. if (isDataCell() == false) {
  263. return;
  264. }
  265. /*
  266. 1. 약품선택시 하단화면에 약품 상세 정보 출력
  267. 2. 약품선택시 PARENT 화면의 정보조회 공통 펑션 실행5
  268. */
  269. var rowcnt = left_datagrid1.row;
  270. if (rowcnt >0 ) {
  271. var param1 = model.getValue("/root/main/selectedlist/list" + "[" +rowcnt + "]/" + "fdrugcd");
  272. var param2 = model.getValue("/root/main/selectedlist/list" + "[" +rowcnt + "]/" + "gcnseqno");
  273. getDetailDrugInfo(param1, param2, rowcnt);
  274. }
  275. ]]>
  276. </script>
  277. </datagrid>
  278. <caption id="left_caption1" class="cell_1" style="left:6px; top:291px; width:115px; height:95px; ">
  279. <![CDATA[약품사진
  280. ]]>
  281. </caption>
  282. <caption id="left_caption2" class="cell_1" style="left:6px; top:479px; width:115px; height:24px; ">영문상품명</caption>
  283. <caption id="left_caption3" class="cell_1" style="left:6px; top:737px; width:115px; height:24px; ">임신카테고리</caption>
  284. <caption id="left_caption4" class="cell_1" style="left:6px; top:505px; width:115px; height:62px; ">
  285. <![CDATA[성분명/함량
  286. ]]>
  287. </caption>
  288. <output id="left_output1" ref="/root/main/list4/resultDrugSearchDetail/bogijunga" class="output" appearance="output" style="left:124px; top:569px; width:225px; height:19px; "/>
  289. <caption id="left_caption5" class="cell_1" style="left:6px; top:569px; width:115px; height:24px; ">보험상한가</caption>
  290. <output id="left_output2" ref="/root/main/list4/resultDrugSearchDetail/jeyaksa_nm" class="output" appearance="output" style="left:124px; top:595px; width:225px; height:19px; "/>
  291. <caption id="left_caption6" class="cell_1" style="left:6px; top:595px; width:115px; height:24px; ">제약회사</caption>
  292. <button id="left_button6" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:283px; top:4px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  293. <caption>전체삭제</caption>
  294. <script type="javascript" ev:event="DOMActivate">
  295. <![CDATA[
  296. model.removeNodeset ("/root/main/selectedlist/list");
  297. model.removeNodeset("/root/send/reqDetail");
  298. model.makeValue("/root/main/selectedDrugInfo/pYakpumCd",'0');
  299. model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo",'0 ');
  300. model.removeNodeset("/root/main/list4/resultDrugSearchDetail");
  301. model.removeNodeset("/root/main/list4/resultDrugIngredient");
  302. //left_datagrid1.refresh();
  303. left_img2.visible = true;
  304. left_button1.visible = false;
  305. zcnfSetDurgList();
  306. zcnfSetDurgInfo();
  307. model.refresh();
  308. ]]>
  309. </script>
  310. </button>
  311. <caption id="left_caption12" class="cell_1" style="left:6px; top:698px; width:115px; height:37px; vertical-align:top; ">ATC분류</caption>
  312. <textarea id="left_textarea3" ref="/root/main/list4/resultDrugSearchDetail/atc_desc" disabled="false" navindex="0" overflow="visible" scroll="autovscroll" editable="false" style="left:121px; top:697px; width:229px; height:40px; "/>
  313. <button id="left_button1" class="btn2_letter5" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:11px; top:362px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  314. <caption>상세보기</caption>
  315. <script type="javascript" ev:event="DOMActivate">
  316. <![CDATA[
  317. modal("../../navigationweb/xrw/SPZCN00301_이미지상세", "", "", "", "SPZCN00301","/root/send/reqDetail","/root/send");
  318. ]]>
  319. </script>
  320. </button>
  321. <button id="left_button7" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:543px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  322. <caption>상세보기</caption>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. modal("../../navigationweb/xrw/SPZCN00401_복합성분상세", "", "", "", "SPZCN00401","/root/main/list4","/root/main/list4");
  326. ]]>
  327. </script>
  328. </button>
  329. <button id="left_button8" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:673px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  330. <caption>상세보기</caption>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. var param1 = model.getValue("/root/main/list4/resultDrugSearchDetail/ahfs");
  334. model.makeValue("/root/temp/pClassficationCd", param1);
  335. model.makeValue("/root/temp/pSearchType", '01');
  336. modal("../../navigationweb/xrw/SPZCN00201_AHFS분류상세", "", "", "", "SPZCN00201","/root/temp","/root/send");
  337. ]]>
  338. </script>
  339. </button>
  340. <button id="left_button9" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:712px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  341. <caption>상세보기</caption>
  342. <script type="javascript" ev:event="DOMActivate">
  343. <![CDATA[
  344. var param1 = model.getValue("/root/main/list4/resultDrugSearchDetail/atc");
  345. model.makeValue("/root/temp/pClassficationCd", param1);
  346. model.makeValue("/root/temp/pSearchType", '02');
  347. modal("../../navigationweb/xrw/SPZCN00601_ATC분류상세", "", "", "", "SPZCN00601","/root/temp","/root/send");
  348. ]]>
  349. </script>
  350. </button>
  351. <textarea id="left_textarea2" ref="/root/main/list4/resultDrugSearchDetail/ahfs_desc" disabled="false" navindex="0" overflow="visible" scroll="autovscroll" editable="false" style="left:121px; top:658px; width:229px; height:40px; "/>
  352. </xhtml:body>
  353. </xhtml:html>