SPADB61100_약품정보이력조회.xrw 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. <hislist>
  11. <item>
  12. <drugfromdd/>
  13. <drugtodd/>
  14. <etccau/>
  15. <lastupdtdt/>
  16. </item>
  17. </hislist>
  18. </main>
  19. <send>
  20. <srchdrugcd>DHD</srchdrugcd>
  21. </send>
  22. <init/>
  23. <hidden/>
  24. </root>
  25. </instance>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <submission id="TRADB61101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdrugcd" replace="instance" resultref="/root/main/hislist"/>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. submit("TRADB61101");
  31. ]]>
  32. </script>
  33. </model>
  34. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  36. </xhtml:head>
  37. <xhtml:body pagewidth="416" pageheight="238" guideline="1,1194;1,401;2,236;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  38. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:400px; height:210px; ">
  39. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:140px; height:13px; ">약품정보이력조회</caption>
  40. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:395px; y2:25px; "/>
  41. <datagrid id="datagrid1" nodeset="/root/main/hislist/item" caption="시작일자^종료일자^비고" colsep="^" colwidth="100, 100, 165" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:0px; top:30px; width:395px; height:170px; ">
  42. <col ref="drugfromdd" format="yyyy-mm-dd"/>
  43. <col ref="drugtodd" format="yyyy-mm-dd"/>
  44. <col ref="etccau"/>
  45. <script type="javascript" ev:event="ondblclick">
  46. <![CDATA[
  47. if ( checkOpener() ) {
  48. opener.model.setValue("/root/main/baseinfo/druginfo/drugfromdd", model.getValue("/root/main/hislist/item["+datagrid1.row+"]/drugfromdd"));
  49. opener.model.setValue("/root/main/baseinfo/druginfo/drugtodd", model.getValue("/root/main/hislist/item["+datagrid1.row+"]/drugtodd"));
  50. opener.model.refresh();
  51. window.close();
  52. } else {
  53. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  54. }
  55. ]]>
  56. </script>
  57. </datagrid>
  58. </group>
  59. <group id="grp_btn" scroll="auto" style="left:0px; top:210px; width:400px; height:27px; ">
  60. <button id="btn_cfm" class="btn4_letter2" style="left:281px; top:5px; width:56px; height:22px; ">
  61. <caption>확인</caption>
  62. <script type="javascript" ev:event="DOMActivate">
  63. <![CDATA[
  64. if ( checkOpener() ) {
  65. opener.model.setValue("/root/main/baseinfo/druginfo/drugfromdd", model.getValue("/root/main/hislist/item["+datagrid1.row+"]/drugfromdd"));
  66. opener.model.setValue("/root/main/baseinfo/druginfo/drugtodd", model.getValue("/root/main/hislist/item["+datagrid1.row+"]/drugtodd"));
  67. opener.model.refresh();
  68. window.close();
  69. } else {
  70. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  71. }
  72. ]]>
  73. </script>
  74. </button>
  75. <button id="btn_cls" class="btn4_letter2" style="left:340px; top:5px; width:56px; height:22px; ">
  76. <caption>닫기</caption>
  77. <close ev:event="DOMActivate"/>
  78. </button>
  79. </group>
  80. </xhtml:body>
  81. </xhtml:html>