SPMNP01800_수술마취간호처방팝업.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>SPMNP01800_수술마취간호처방팝업</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <InputGood>
  11. <goodcd/>
  12. <allsizespecid/>
  13. <goodengnm/>
  14. <goodspec/>
  15. <goodmodel/>
  16. <prodcmpynm/>
  17. <deliveunit/>
  18. <outqty/>
  19. <aftqty/>
  20. <prcpmemo/>
  21. </InputGood>
  22. </main>
  23. <init>
  24. </init>
  25. <send>
  26. <reqdata>
  27. </reqdata>
  28. <savedata>
  29. <oprsrvno/>
  30. <delivefact/>
  31. </savedata>
  32. </send>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. if ( checkOpener() ) {
  38. model.setValue("/root/main/InputGood/goodcd" , opener.javascript.getParameter("goodcd")); // 01 물품코드
  39. model.setValue("/root/main/InputGood/allsizespecid" , opener.javascript.getParameter("allsizespecid")); // 02 ALLSIZE규격ID
  40. model.setValue("/root/main/InputGood/goodengnm" , opener.javascript.getParameter("goodengnm" )); // 03 물품(처방)명
  41. model.setValue("/root/main/InputGood/goodspec" , opener.javascript.getParameter("goodspec" )); // 04 규격명
  42. model.setValue("/root/main/InputGood/goodmodel" , opener.javascript.getParameter("goodmodel" )); // 05 모델
  43. model.setValue("/root/main/InputGood/prodcmpynm" , opener.javascript.getParameter("prodcmpynm" )); // 06 제조사
  44. model.setValue("/root/main/InputGood/deliveunit" , opener.javascript.getParameter("deliveunit" )); // 07 단위
  45. model.setValue("/root/main/InputGood/outqty" , opener.javascript.getParameter("outqty" )); // 08 변경전 수량
  46. model.setValue("/root/main/InputGood/aftqty" , opener.javascript.getParameter("aftqty" )); // 09 변경할 수량
  47. model.setValue("/root/main/InputGood/prcpmemo" , opener.javascript.getParameter("prcpmemo" )); // 10 변경사유
  48. grp_data.refresh();
  49. //model.setValue("/root/main/cond/oprsrvno", opener.javascript.getParameter("oprsrvno"));
  50. //model.copyNode("/root/send/reqdata", "/root/main/cond");
  51. //submit("TRMNP00105");
  52. }
  53. ]]>
  54. </script>
  55. <submission id="TRMNP00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/delivefactinfo"/>
  56. <submission id="TXMNP00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. </xhtml:head>
  61. <xhtml:body pagewidth="520" pageheight="200" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  62. <group id="grp_data" scroll="auto" style="left:0px; top:0px; width:515px; height:185px; ">
  63. <caption id="caption47" class="cell_1" style="left:2px; top:7px; width:68px; height:43px; text-align:left; vertical-align:middle; ">물품</caption>
  64. <input id="inp_good" ref="/root/main/InputGood/goodcd" class="input_search" disabled="true" style="left:73px; top:7px; width:72px; height:19px; "/>
  65. <input id="inp_allsize" ref="/root/main/InputGood/allsizespecid" class="input_search" disabled="true" style="left:146px; top:7px; width:20px; height:19px; "/>
  66. <output id="opt_goodnm" ref="/root/main/InputGood/goodengnm" class="output_fix" style="left:170px; top:7px; width:337px; height:19px; "/>
  67. <output id="opt_goodspec" ref="/root/main/InputGood/goodspec" class="output_fix" style="left:73px; top:30px; width:142px; height:19px; "/>
  68. <output id="opt_goodmodel" ref="/root/main/InputGood/goodmodel" class="output_fix" style="left:218px; top:30px; width:142px; height:19px; "/>
  69. <output id="opt_prodcmpynm" ref="/root/main/InputGood/prodcmpynm" class="output_fix" style="left:365px; top:30px; width:142px; height:19px; "/>
  70. <caption id="caption1" class="cell_1" style="left:2px; top:55px; width:68px; height:20px; vertical-align:middle; ">변경전수량</caption>
  71. <output id="bef_qty" ref="/root/main/InputGood/outqty" class="output_fix" style="left:73px; top:55px; width:102px; height:19px; text-align:right; "/>
  72. <caption id="caption2" class="cell_1" style="left:2px; top:80px; width:68px; height:20px; vertical-align:middle; ">변경수량</caption>
  73. <input id="aft_qty" ref="/root/main/InputGood/aftqty" class="input_search" style="left:73px; top:80px; width:102px; height:19px; "/>
  74. <caption id="caption3" class="cell_1" style="left:2px; top:105px; width:68px; height:50px; vertical-align:middle; ">변경사유</caption>
  75. <textarea id="txt_prcpmemo" ref="/root/main/InputGood/prcpmemo" style="left:73px; top:105px; width:433px; height:50px; "/>
  76. <button id="btn_confirm" class="btn4_letter2" style="left:391px; top:162px; width:56px; height:22px; ">
  77. <caption>확인</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. var sAfterQty = model.getValue("/root/main/InputGood/aftqty" );
  81. var sPrcpMemo = model.getValue("/root/main/InputGood/prcpmemo" );
  82. if (bef_qty.value == aft_qty.value) {
  83. sPrcpMemo = "";
  84. } else {
  85. if (sPrcpMemo=="") {
  86. alert("변경사유를 입력하십시요!!");
  87. return;
  88. }
  89. }
  90. opener.javascript.setParameter("aftqty" , sAfterQty);
  91. opener.javascript.setParameter("prcpmemo", sPrcpMemo);
  92. window.close();
  93. ]]>
  94. </script>
  95. </button>
  96. <button id="button1" class="btn4_letter2" style="left:451px; top:162px; width:56px; height:22px; ">
  97. <caption>닫기</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. opener.javascript.setParameter("prcpmemo", "");
  101. window.close();
  102. ]]>
  103. </script>
  104. </button>
  105. </group>
  106. </xhtml:body>
  107. </xhtml:html>