SPLNR90500_희석배수입력.xrw 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 채혈접수취소등록.xrw
  4. * 설 명 : 채혈접수취소등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2006.11.11
  8. * 수정이력 : 2007.04.25 조철형 수정
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>희석배수입력</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. </main>
  20. <send>
  21. <nmeddilute/>
  22. <bcno/>
  23. <tclscd/>
  24. </send>
  25. <init>
  26. </init>
  27. <hidden>
  28. <nmeddilute/>
  29. <ref>
  30. <bcno/>
  31. <tclscd/>
  32. </ref>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  40. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. ]]>
  44. </script>
  45. <submission id="TXLNR90501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  46. </model>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fsetdilute(){
  50. var dilute = model.getValue("/root/hidden/nmeddilute");
  51. //if(dilute == ""){
  52. // alert("희석배수의 값이 입력되지 않았습니다.");
  53. // return;
  54. //}else{
  55. model.setValue("/root/send/nmeddilute", dilute);
  56. model.setValue("/root/send/bcno", model.getValue("/root/hidden/ref/bcno"));
  57. model.setValue("/root/send/tclscd", model.getValue(" /root/hidden/ref/tclscd"));
  58. submit("TXLNR90501");
  59. window.opener.model.setValue("root/hidden/ddilutetf", "true"); //희석여부
  60. window.close();
  61. //}
  62. }
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body pagewidth="280" pageheight="120" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  67. <group id="group1" style="left:0px; top:0px; width:260px; height:90px; ">
  68. <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:108px; height:14px; ">희석배수 입력</caption>
  69. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:250px; y2:25px; "/>
  70. <button id="btn_cfm" class="btn4_letter2" style="left:195px; top:58px; width:56px; height:22px; ">
  71. <caption>닫기</caption>
  72. <script type="javascript" ev:event="onclick">
  73. <![CDATA[
  74. window.opener.model.setValue("root/hidden/ddilutetf", "false");
  75. window.close();
  76. ]]>
  77. </script>
  78. </button>
  79. <caption id="caption3" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; ">희석배수</caption>
  80. <input id="dilute" ref="/root/hidden/nmeddilute" style="left:103px; top:32px; width:147px; height:19px; "/>
  81. <line id="line4" class="line_2" style="x1:0px; y1:54px; x2:250px; y2:54px; "/>
  82. <button id="button1" class="btn4_letter2" style="left:83px; top:58px; width:56px; height:22px; ">
  83. <caption>저장</caption>
  84. <script type="javascript" ev:event="onclick">
  85. <![CDATA[
  86. fsetdilute();
  87. ]]>
  88. </script>
  89. </button>
  90. <button id="btn_cncl" class="btn4_letter2" style="left:139px; top:58px; width:56px; height:22px; ">
  91. <caption>취소</caption>
  92. <script type="javascript" ev:event="onclick">
  93. <![CDATA[
  94. window.opener.model.setValue("root/hidden/ddilutetf", "false"); ////희석여부 취소
  95. window.close();
  96. ]]>
  97. </script>
  98. </button>
  99. <script type="javascript" ev:event="onkeydown">
  100. <![CDATA[
  101. if(event.keyCode == "13"){
  102. fsetdilute();
  103. }
  104. ]]>
  105. </script>
  106. </group>
  107. </xhtml:body>
  108. </xhtml:html>