drug_delivery.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <link rel="stylesheet" href="/thmz/css/bootstrap/css/bootstrap-select.css"/>
  2. <link rel="stylesheet" href="/thmz/css/bootstrap/css/daterangepicker.css"/>
  3. <link rel="stylesheet" href="/thmz/css/jquery.webui-popover.min.css">
  4. <link rel="stylesheet" href="/thmz/css/custom.min.css">
  5. <link rel="stylesheet" href="/thmz/css/jqGrid/ui.jqgrid-bootstrap.css">
  6. <link rel="stylesheet" href="/thmz/css/toll_administration.css">
  7. <script src="/thmz/js/dependent/bootstrap-select.js"></script>
  8. <script src="/thmz/js/dependent/daterangepicker.js"></script>
  9. <script src="/thmz/js/jqGrid/grid.locale-cn.js"></script>
  10. <script src="/thmz/js/jqGrid/jquery.jqGrid.min.js"></script>
  11. <script src="/thmz/js/dependent/jquery.webui-popover.min.js"></script>
  12. <script src="/thmz/js/common/pharmacy-com.js"></script>
  13. <script src="/thmz/js/yk/drug_delivery.js"></script>
  14. <script src="/thmz/js/dependent/LodopFuncs.js"></script>
  15. <title>药品出库</title>
  16. <style type="text/css">
  17. .alignLeft {
  18. text-align: left !important;
  19. }
  20. </style>
  21. <div class="row" style="height: calc(100% - 20px);overflow-y: auto;">
  22. <div class="col-md-12 col-sm-12 col-xs-12">
  23. <div class="x_panel" style="background: #EBEBE4;">
  24. <form id="xxform" class="form-horizontal" autocomplete="off">
  25. <div class="form-group">
  26. <div class="col-md-3 col-sm-3 col-xs-12">
  27. <label class="control-label col-md-4 col-sm-4 col-xs-12" for="deptCode">领药科室
  28. </label>
  29. <div class="col-md-8 col-sm-8 col-xs-12">
  30. <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
  31. multiple
  32. data-max-options="1"
  33. id="deptCode">
  34. </select>
  35. </div>
  36. </div>
  37. <label class="control-label col-md-1 col-sm-1 col-xs-12" for="outType1Search">出库类型:
  38. </label>
  39. <div class="col-md-1 col-sm-1 col-xs-12">
  40. <select class="form-control selectpicker show-tick" required="required" title="请选择"
  41. id="outType1Search">
  42. <option value="0" selected>出库</option>
  43. <option value="1">报损</option>
  44. </select>
  45. </div>
  46. <div class="col-md-3 col-sm-3 col-xs-12">
  47. <button type="button" style="margin-left:3px" id="btn_save" class="btn btn-primary"
  48. title="保存"><i class="fa fa-save"></i>
  49. </button>
  50. <button type="button" style="margin-left:3px" id="btn_audit" class="btn btn-primary"
  51. title="审核"><i class="fa fa-check-square-o"></i>
  52. </button>
  53. <button type="button" style="margin-left:3px" id="btn_record" class="btn btn-primary"
  54. title="出库单记录"><i class="fa fa-list-alt"></i>
  55. </button>
  56. <button type="button" id="btn_daily" class="btn btn-primary"
  57. title="打印"><i class="fa fa-print"></i>
  58. </button>
  59. <button type="button" id="btn_clean" class="btn btn-primary"
  60. title="重置"><i class="fa fa-rotate-left"></i>
  61. </button>
  62. </div>
  63. <input id="groupNoLabel" type="hidden">
  64. </div>
  65. <br>
  66. <div class="form-group">
  67. <label class="control-label col-md-2 col-sm-2 col-xs-12 alignLeft" for="drawNoLabel">请领单号:
  68. <span id="drawNoLabel"></span>
  69. </label>
  70. <label class="control-label col-md-2 col-sm-2 col-xs-12 alignLeft" for="planDateLabel">请领日期:
  71. <span id="planDateLabel"></span>
  72. </label>
  73. <label class="control-label col-md-1 col-sm-1 col-xs-12 alignLeft" for="inputNameLabel">请领人:
  74. <span id="inputNameLabel"></span>
  75. </label>
  76. <label class="control-label col-md-1 col-sm-1 col-xs-12 alignLeft" for="keeperNameLabel">经发人:
  77. <span id="keeperNameLabel"></span>
  78. </label>
  79. <label class="control-label col-md-1 col-sm-1 col-xs-12 alignLeft" for="confirmNameLabel">审核人:
  80. <span id="confirmNameLabel"></span>
  81. </label>
  82. <label class="control-label col-md-1 col-sm-1 col-xs-12" for="statusLabel">出库状态:
  83. <span id="statusLabel" style="color: red">未确认</span>
  84. </label>
  85. </div>
  86. </form>
  87. <div id="report_table"
  88. style="width:1030px;height: calc(100% - 160px);margin:0 auto;border: 1px solid #337ab7;font-size: 14px;padding: 40px 10px 40px 10px;overflow: scroll;display: none">
  89. <div id="report_table_1">
  90. <div id="print-head">
  91. <table width="100%" style="font-size: 13px;">
  92. <tbody>
  93. <tr style="font-weight: 700;background-color: #EBEBE4;height: 70px;">
  94. <td colspan="14" style="font-size: 21px;text-align: center;border: transparent !important;">
  95. <span class="title">长沙泰和医院药品出库单</span></td>
  96. </tr>
  97. <tr style="font-weight: 700;background-color: #EBEBE4">
  98. <td colspan="3" style="text-align: left;border: transparent !important;">领用库房:<span
  99. class="groupName"></span></td>
  100. <td colspan="3" style="text-align: left;border: transparent !important;">出库单号:<span
  101. class="drawNo"></span></td>
  102. <td colspan="4" style="text-align: left;border: transparent !important;">请领日期:<span
  103. class="planDate"></span></td>
  104. <td colspan="3" style="text-align: left;border: transparent !important;">审核日期:<span
  105. class="confirmDate"></span></td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. <table border="1" cellspacing="0" style="font-size: 13px;width: 100%;border-width: 1px;border-style: solid;border-collapse: collapse;">
  110. <thead>
  111. <tr>
  112. <th style="text-align: center;" width="5%;">编码</th>
  113. <th style="text-align: center;" width="8%;">货位号</th>
  114. <th style="text-align: center;" width="13%;">药品名称</th>
  115. <th style="text-align: center;" width="12%;">规格</th>
  116. <th style="text-align: center;" width="5%;">数量</th>
  117. <th style="text-align: center;" width="5%;">购入价</th>
  118. <th style="text-align: center;" width="5%;">零售价</th>
  119. <th style="text-align: center;" width="5%;">购入金额</th>
  120. <th style="text-align: center;" width="5%;">零售金额</th>
  121. <th style="text-align: center;" width="8%;">生产批号</th>
  122. <th style="text-align: center;" width="13%;">生产厂家</th>
  123. <th style="text-align: center;" width="10%;">有效期</th>
  124. <th style="text-align: center;" width="5%;">库存</th>
  125. </tr>
  126. </thead>
  127. </table>
  128. </div>
  129. <div id="print-table">
  130. <table width="100%">
  131. <tbody id="print-body">
  132. </tbody>
  133. </table>
  134. </div>
  135. <div id="print-foot">
  136. <table width="100%" style="font-size: 13px;">
  137. <tfoot>
  138. <tr>
  139. <!-- <td colspan="4"-->
  140. <!-- style="text-align: right;border: transparent !important;font-weight: bold;">合计:-->
  141. <!-- </td>-->
  142. <!-- <td colspan="3"-->
  143. <!-- style="text-align: left;border: transparent !important;font-weight: bold;">零售总额:<span-->
  144. <!-- class="packRetpriceSum"></span></td>-->
  145. <!-- <td colspan="3"-->
  146. <!-- style="text-align: left;border: transparent !important;font-weight: bold;">购入总额:<span-->
  147. <!-- class="buyPriceSum"></span></td>-->
  148. <td colspan="4" style="text-align: left;border: transparent !important;">
  149. 制表人:<span class="lister"></span></td>
  150. <td colspan="4" style="text-align: left;border: transparent !important;">
  151. 制表审核人:<span class="listerAudit"></span></td>
  152. <td colspan="4" style="text-align: center;border: transparent !important;">打印日期:<span
  153. class="printDate"></span></td>
  154. </tr>
  155. <tr style="border: transparent !important;"></tr>
  156. <tr>
  157. <td colspan="3" style="text-align: left;border: transparent !important;">
  158. 质量情况:合格
  159. </td>
  160. <td colspan="3" style="text-align: left;border: transparent !important;">
  161. 发药人:
  162. </td>
  163. <td colspan="3" style="text-align: left;border: transparent !important;">
  164. 发药复核人:
  165. </td>
  166. <td colspan="3" style="text-align: left;border: transparent !important;">
  167. 领药人:
  168. </td>
  169. </tr>
  170. </tfoot>
  171. </table>
  172. </div>
  173. </div>
  174. </div>
  175. <table id="tb_table_detailed"></table>
  176. <br>
  177. <table id="tb_table_indetl_detailed"></table>
  178. </div>
  179. </div>
  180. </div>
  181. <!--调未审核单弹窗开始-->
  182. <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="recordModal">
  183. <div class="modal-dialog modal-lg">
  184. <div class="modal-content" style="width: 130%;margin-top: 50px;margin-left: -100px;">
  185. <div class="modal-header">
  186. <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
  187. </button>
  188. <h4 class="modal-title">入库记录单</h4>
  189. </div>
  190. <div class="modal-body">
  191. <div class="row">
  192. <div class="col-md-12 col-sm-12 col-xs-12">
  193. <form id="recordForm" class="form-horizontal" autocomplete="off">
  194. <div class="form-group">
  195. <label class="control-label col-md-1 col-sm-1 col-xs-12" for="drawNoSearch">请领单号:
  196. </label>
  197. <div class="col-md-2 col-sm-2 col-xs-12">
  198. <input id="drawNoSearch" class="form-control optional" type="text">
  199. </div>
  200. <label class="control-label col-md-1 col-sm-1 col-xs-12" for="statusFlagSearch">状态:
  201. </label>
  202. <div class="col-md-2 col-sm-2 col-xs-12">
  203. <select class="form-control selectpicker show-tick" required="required" title="请选择"
  204. id="statusFlagSearch" onchange="initRecordTable()">
  205. <option value="1" selected>未确认</option>
  206. <!--<option value="2">已确认</option>-->
  207. <option value="3">未审核</option>
  208. <option value="4">已审核</option>
  209. </select>
  210. </div>
  211. <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange">
  212. 时间范围
  213. </label>
  214. <div class="col-md-3 col-sm-3 col-xs-12" style="width: 220px;">
  215. <div id="reportrange" class="pull-left"
  216. style="background: #fff; cursor: pointer; padding: 6.5px 10px; border: 1px solid #ccc">
  217. <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
  218. <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
  219. </div>
  220. </div>
  221. <div class="col-md-1 col-sm-1 col-xs-12 item">
  222. <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
  223. title="查询"><i class="fa fa-search"></i>
  224. </button>
  225. </div>
  226. </div>
  227. </form>
  228. </div>
  229. <div class="col-md-12 col-sm-12 col-xs-12">
  230. <table id="tb_record"></table>
  231. </div>
  232. </div>
  233. </div>
  234. <div class="modal-footer">
  235. <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  236. </div>
  237. </div>
  238. </div>
  239. </div>
  240. <!--调未审核单弹窗结尾-->
  241. <!--加载中提示结尾-->
  242. <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
  243. <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
  244. </object>