SPMRC03000_바코드대출반납.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <rend>
  11. <rendlist>
  12. <pid/>
  13. <pnm/>
  14. <chrtdeptabbr/>
  15. <appdeptabbr/>
  16. <lendman/>
  17. <rendresn/>
  18. <roomcd/>
  19. <renddt/>
  20. <renddd/>
  21. <rendtm/>
  22. <chrtdeptcd/>
  23. <chrtdeptnm/>
  24. <appdeptcd/>
  25. <appdeptnm/>
  26. <lendmanid/>
  27. </rendlist>
  28. </rend>
  29. </main>
  30. <send>
  31. <reqdata>
  32. <acptid/>
  33. <ioflag/>
  34. <jobcd/>
  35. <renddd/>
  36. <resettm/>
  37. <bcno/>
  38. </reqdata>
  39. </send>
  40. <hidden>
  41. </hidden>
  42. <init>
  43. </init>
  44. <tmp>
  45. </tmp>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  54. <script type="javascript" src="../../../emr/chrtmngtweb/js/SPMRC03000.js"/>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. fFormInit();
  58. ]]>
  59. </script>
  60. <submission id="TRMRC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
  61. <submission id="TRMRC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
  62. <submission id="TXMRC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
  63. <submission id="TXMRC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rend/rendlist"/>
  64. </model>
  65. </xhtml:head>
  66. <xhtml:body pagewidth="700" pageheight="600" style="font-weight:normal; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:196px; height:14px; ">종이 차트 바코드 대출 및 반납</caption>
  68. <input id="ipt_lendbcno" ref="/root/send/reqdata/bcno" class="input_essential" navindex="1" appearance="input" style="left:243px; top:24px; width:187px; height:19px; ">
  69. <script type="javascript" ev:event="onkeydown">
  70. <![CDATA[
  71. if(event.keyCode == "13") {
  72. setInputNodeCurText();
  73. // 바코드입력 후 엔터시 -> 대출 or 반납
  74. var jobcd = model.getValue("/root/send/reqdata/jobcd");
  75. if (jobcd == "1") {
  76. fSetLendChartBcno(); // 대출
  77. } else {
  78. fSetReturnChartBcno(); // 반납
  79. }
  80. }
  81. ]]>
  82. </script>
  83. </input>
  84. <caption id="caption54" class="cell_1" style="left:165px; top:22px; width:75px; height:23px; vertical-align:middle; ">BARCODE</caption>
  85. <line id="line35" class="line_3" style="x1:15px; y1:46px; x2:430px; y2:46px; "/>
  86. <line id="line1" class="line_3" style="x1:15px; y1:20px; x2:430px; y2:20px; "/>
  87. <datagrid id="grd_rendlist" nodeset="/root/main/rend/rendlist" caption="등록번호^환자이름^차트과^대출과^대출자^대출용도^병실^대출일시" colsep="^" colwidth="70, 70, 70, 70, 70, 80, 50, 110" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:15px; top:52px; width:635px; height:498px; ">
  88. <col ref="pid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  89. <col ref="pnm" style="text-align:center; "/>
  90. <col ref="chrtdeptabbr" style="text-align:center; "/>
  91. <col ref="appdeptabbr" style="text-align:center; "/>
  92. <col ref="lendman" style="text-align:center; "/>
  93. <col ref="rendresn" style="text-align:center; "/>
  94. <col ref="roomcd" style="text-align:center; "/>
  95. <col ref="renddt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  96. </datagrid>
  97. <line id="line27" class="line_1" style="x1:15px; y1:48px; x2:650px; y2:48px; "/>
  98. <select1 id="rdo_jobcd" ref="/root/send/reqdata/jobcd" navindex="3" overflow="visible" appearance="full" cols="2" style="left:20px; top:25px; width:140px; height:15px; border-style:none; ">
  99. <choices>
  100. <item>
  101. <label>대 출 .</label>
  102. <value>1</value>
  103. </item>
  104. <item>
  105. <label>반 납</label>
  106. <value>2</value>
  107. </item>
  108. </choices>
  109. <script type="javascript" ev:event="xforms-value-changed">
  110. <![CDATA[
  111. fFormSet();
  112. ]]>
  113. </script>
  114. </select1>
  115. <button id="btn_delrow" class="btn5_letter3" navindex="2" style="left:595px; top:25px; width:53px; height:19px; ">
  116. <caption>Reset</caption>
  117. <script type="javascript" ev:event="onclick">
  118. <![CDATA[
  119. model.setValue("/root/send/reqdata/renddd" , getCurrentDate());
  120. model.setValue("/root/send/reqdata/resettm", getCurrentTime());
  121. model.refresh();
  122. // 다시조회..
  123. var jobcd = model.getValue("/root/send/reqdata/jobcd");
  124. if (jobcd == "1") {
  125. submit("TRMRC03001"); // 대출
  126. } else {
  127. submit("TRMRC03002"); // 반납
  128. }
  129. ]]>
  130. </script>
  131. </button>
  132. <caption id="cap_resettm" ref="/root/send/reqdata/resettm" format="hh:nn" style="left:548px; top:28px; width:40px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
  133. </xhtml:body>
  134. </xhtml:html>