SPAEB00401_조영제약품코드조회.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <goodlist>
  11. <item>
  12. <goodcd/>
  13. <goodnm/>
  14. <speccd/>
  15. <safestocqty/>
  16. <instcd/>
  17. <suppdeptcd/>
  18. </item>
  19. </goodlist>
  20. </main>
  21. <send>
  22. <srch>
  23. <srchgoodcd/>
  24. <srchgoodnm/>
  25. </srch>
  26. <globalinstance>
  27. <instance1/>
  28. </globalinstance>
  29. <req>
  30. <data>
  31. </data>
  32. <suppdeptcd/>
  33. </req>
  34. </send>
  35. <hidden>
  36. <item>
  37. </item>
  38. </hidden>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. aezfSetSuppDeptcd();
  44. model.removeNodeset("/root/main/goodlist/item");
  45. model.refresh();
  46. btn_sea.dispatch("DOMActivate");
  47. ]]>
  48. </script>
  49. <submission id="TRAEB03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/goodlist"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  53. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="731" pageheight="555" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  57. <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:550px; ">
  58. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:21px; width:690px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  59. <caption id="caption1" class="tit_2" style="left:0px; top:4px; width:145px; height:14px; ">약품코드조회</caption>
  60. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:700; y2:63px; "/>
  61. <group id="group1" scroll="auto" style="left:0px; top:523px; width:700; height:27px; ">
  62. <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
  63. <caption>확인</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. //misfPopUpListReturn(grd_prodcmpylist);
  67. opener.model.setValue("/root/temp/goodcd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodcd"));
  68. opener.model.setValue("/root/temp/goodnm", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodnm"));
  69. opener.model.setValue("/root/temp/safestocqty", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/safestocqty"));
  70. opener.model.setValue("/root/temp/speccd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/speccd"));
  71. window.close();
  72. ]]>
  73. </script>
  74. </button>
  75. <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
  76. <caption>취소</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. window.close();
  80. ]]>
  81. </script>
  82. </button>
  83. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700; y2:0px; "/>
  84. </group>
  85. <input id="input8" ref="/root/send/srch/srchgoodcd" class="input_search" style="left:110px; top:28px; width:100px; height:19px; ">
  86. <script type="javascript" ev:event="onkeydown">
  87. <![CDATA[
  88. if ( event.keyCode == 13 ) {
  89. setInputNodeCurText();
  90. submit("TRAEB03501");
  91. }
  92. ]]>
  93. </script>
  94. </input>
  95. <caption id="caption2" class="search_name" style="left:17px; top:30px; width:99px; height:17px; ">약품코드 :</caption>
  96. <caption id="caption3" class="search_name" style="left:257px; top:31px; width:99px; height:17px; ">약품명 :</caption>
  97. <button id="btn_sea" class="btn1_letter2" style="left:625px; top:28px; width:56px; height:22px; ">
  98. <caption>조회</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. submit("TRAEB03501");
  102. ]]>
  103. </script>
  104. </button>
  105. <input id="input1" ref="/root/send/srch/srchgoodnm" class="input_search" style="left:338px; top:29px; width:100px; height:19px; ">
  106. <script type="javascript" ev:event="onkeydown">
  107. <![CDATA[
  108. if ( event.keyCode == 13 ) {
  109. setInputNodeCurText();
  110. submit("TRAEB03501");
  111. }
  112. ]]>
  113. </script>
  114. </input>
  115. <datagrid id="grd_goodlist" nodeset="/root/main/goodlist/item" caption="약품코드^약품명^안전재고량^용량^" colsep="^" colwidth="137, 313, 109, 118, 79, 121, 68, 68" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:65px; width:700px; height:455px; ">
  116. <col editable="false" ref="goodcd" type="output"/>
  117. <col ref="goodnm" type="output"/>
  118. <col ref="safestocqty" type="output" format="#,###" style="text-align:right; "/>
  119. <col ref="speccd" type="output" style="text-align:center; "/>
  120. <col ref="instcd" visibility="hidden"/>
  121. <col ref="suppdeptcd" visibility="hidden"/>
  122. <col ref="itemflag" visibility="hidden"/>
  123. <col ref="itemcd" visibility="hidden"/>
  124. <script type="javascript" ev:event="ondblclick">
  125. <![CDATA[
  126. opener.model.setValue("/root/temp/goodcd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodcd"));
  127. opener.model.setValue("/root/temp/goodnm", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodnm"));
  128. opener.model.setValue("/root/temp/safestocqty", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/safestocqty"));
  129. opener.model.setValue("/root/temp/speccd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/speccd"));
  130. window.close();
  131. ]]>
  132. </script>
  133. </datagrid>
  134. </group>
  135. </xhtml:body>
  136. </xhtml:html>