SPPIR30230_일괄부제기사유.xrw 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>일괄 부제기 사유</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list01/>
  11. <list02>
  12. <hngnminfo>
  13. <hngnm/>
  14. </hngnminfo>
  15. </list02>
  16. </main>
  17. <send>
  18. <send_totabdrgst>
  19. <judgdg/>
  20. <clamno/>
  21. <acptno/>
  22. <obtappflag/>
  23. <adjtresncd/>
  24. <edicd/>
  25. <abdresncd/>
  26. <abdresnmemo/>
  27. </send_totabdrgst>
  28. <send_hngnm>
  29. <edicd/>
  30. </send_hngnm>
  31. </send>
  32. <init>
  33. <P0277list>
  34. <P0277>
  35. <cdid/>
  36. <cdnm/>
  37. </P0277>
  38. </P0277list>
  39. <P0265list>
  40. <P0265>
  41. <cdid/>
  42. <cdnm/>
  43. </P0265>
  44. </P0265list>
  45. </init>
  46. <init2>
  47. <abdresnlist>
  48. <abdmlist>
  49. <nm/>
  50. <cd/>
  51. </abdmlist>
  52. </abdresnlist>
  53. </init2>
  54. <hidden>
  55. <sppiz00700>
  56. <cond>
  57. <judgrid/>
  58. <memoflag/>
  59. <memocls/>
  60. <ediitem1/>
  61. </cond>
  62. <rslt>
  63. <memocd/>
  64. <memo/>
  65. </rslt>
  66. </sppiz00700>
  67. </hidden>
  68. </root>
  69. </instance>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  72. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  73. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  74. <submission id="TXPIR30230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_totabdrgst"/>
  75. <submission id="TRPIR30232" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_totabdrgst" resultref="/root/main/list02"/>
  76. <submission id="TRPIR30403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2/abdresnlist"/>
  77. </model>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. CommCode_Load();
  81. ]]>
  82. </script>
  83. <script type="javascript">
  84. <![CDATA[
  85. // 공통코드 Load작업
  86. function CommCode_Load() {
  87. // 관련 Control 초기화
  88. zbcfGetCodeList(new Array("P0277","P0265"), new Array("/root/init/P0277list", "/root/init/P0265list"));
  89. model.refresh();
  90. //부제기코드 초기화
  91. submit("TRPIR30403");
  92. // Control 초기화
  93. ipt_edicd.value = '-';
  94. }
  95. function fGetJudgEdiComment(memoflag, memocls) {
  96. model.resetInstanceNode("/root/hidden/sppiz00700/rslt");
  97. model.resetInstanceNode("/root/hidden/sppiz00700/cond");
  98. model.setValue("/root/hidden/sppiz00700/cond/memoflag", memoflag);
  99. model.setValue("/root/hidden/sppiz00700/cond/memocls", memocls);
  100. modal("SPPIZ00700" ,"", "10", "10", "SPPIZ00700", "/root/hidden/sppiz00700", "/root/send/sppiz00700", "", "");
  101. }
  102. //부제기 신청
  103. function fSetAbdMemoRefresh(){
  104. var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
  105. model.setValue("/root/send/send_totabdrgst/abdresnmemo",memo);
  106. model.refresh();
  107. }
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body pagewidth="560" pageheight="300">
  112. <group id="group1" scroll="auto" style="left:22px; top:230px; width:518px; height:27px; ">
  113. <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
  114. <caption>닫기</caption>
  115. <close ev:event="DOMActivate"/>
  116. </button>
  117. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  118. <button id="button2" class="btn4_letter2" style="left:404px; top:3px; width:56px; height:22px; ">
  119. <caption>저장</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. if (model.getValue("/root/send/send_totabdrgst/adjtresncd") == "") {
  123. messageBox("조정사유는 필수선택 사항", "E008");
  124. return;
  125. }
  126. if (model.getValue("/root/send/send_totabdrgst/edicd") == "") {
  127. messageBox("EDI코드는 필수입력 사항", "E008");
  128. return;
  129. }
  130. if (model.getValue("/root/send/send_totabdrgst/abdresncd") == "") {
  131. messageBox("부제기구분은 필수선택 사항", "E008");
  132. return;
  133. }
  134. if (messageBox("일괄 부제기사유를", "Q002") != "6") return;
  135. if (submit("TXPIR30230")) {
  136. messageBox("저장", "I002");
  137. window.close();
  138. }
  139. ]]>
  140. </script>
  141. </button>
  142. </group>
  143. <group id="group3" scroll="auto" style="left:22px; top:10px; width:518px; height:220px; ">
  144. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:517px; y2:20px; "/>
  145. <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:173px; height:14px; ">일괄 부제기 사유</caption>
  146. <caption id="caption31" class="cell_1" style="left:0px; top:72px; width:85px; height:23px; ">부제기구분</caption>
  147. <select1 id="combo2" ref="/root/send/send_totabdrgst/abdresncd" class="combo_default" appearance="minimal" style="left:88px; top:73px; width:427px; height:19px; ">
  148. <choices>
  149. <itemset nodeset="/root/init2/abdresnlist/abdmlist">
  150. <label ref="nm"/>
  151. <value ref="cd"/>
  152. </itemset>
  153. </choices>
  154. </select1>
  155. <line id="line3" class="line_3" style="x1:0px; y1:94px; x2:518px; y2:94px; "/>
  156. <caption id="caption2" class="cell_1" style="left:0px; top:24px; width:85px; height:23px; ">조정사유</caption>
  157. <select1 id="combo1" ref="/root/send/send_totabdrgst/adjtresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:88px; top:25px; width:427px; height:19px; ">
  158. <choices>
  159. <itemset nodeset="/root/init/P0277list/P0277">
  160. <label ref="cdnm"/>
  161. <value ref="cdid"/>
  162. </itemset>
  163. </choices>
  164. </select1>
  165. <line id="line2" class="line_3" style="x1:0px; y1:46px; x2:518px; y2:46px; "/>
  166. <input id="ipt_edicd" ref="/root/send/send_totabdrgst/edicd" class="input_default" imemode="disabled" _chartype="upper" style="left:88px; top:49px; width:73px; height:19px; ">
  167. <script type="javascript" ev:event="onkeyup">
  168. <![CDATA[
  169. inputEnterKey("button108", "DOMActivate");
  170. ]]>
  171. </script>
  172. </input>
  173. <caption id="caption3" class="cell_1" style="left:0px; top:48px; width:85px; height:23px; ">EDI코드</caption>
  174. <line id="line4" class="line_3" style="x1:0px; y1:70px; x2:518px; y2:70px; "/>
  175. <textarea id="textarea1" ref="/root/send/send_totabdrgst/abdresnmemo" style="left:0px; top:97px; width:518px; height:120px; "/>
  176. <output id="output8" ref="/root/main/list02/hngnminfo/hngnm" class="output_default" style="left:164px; top:49px; width:351px; height:19px; "/>
  177. </group>
  178. <button id="button108" class="btn2_letter13" visibility="hidden" style="left:37px; top:265px; width:163px; height:19px; ">
  179. <caption>[Input] 처방명칭 가져오기</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. // 처방명칭 가져오기
  183. var s_edicd = ipt_edicd.value;
  184. var s_adjtresncd = combo1.value;
  185. //model.setValue("/root/send/send_hngnm/edicd", s_edicd);
  186. model.setValue("/root/send/send_totabdrgst/edicd", s_edicd);
  187. model.setValue("/root/send/send_totabdrgst/adjtresncd", s_adjtresncd);
  188. submit("TRPIR30232");
  189. output8.refresh();
  190. ]]>
  191. </script>
  192. </button>
  193. <button id="button4" class="btn2_letter6" _auth="X" style="left:453px; top:260px; width:86px; height:19px; ">
  194. <caption>부제기신청</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. // SPPIZ00700_심사Comment조회.xrw 호출
  198. fGetJudgEdiComment("8", "");
  199. ]]>
  200. </script>
  201. </button>
  202. </xhtml:body>
  203. </xhtml:html>