useView.php 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>查看出库单</title>
  6. <link href="/css/base.css" rel="stylesheet">
  7. <link href="/css/ims/ims.css" rel="stylesheet">
  8. <link rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css"/>
  9. <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css"/>
  10. <link rel="stylesheet" type="text/css" href="/css/ims/jquery.datetimepicker.css"/>
  11. <style>
  12. .ims-box {
  13. margin: 20px;
  14. }
  15. .screen {
  16. padding-left: 20px;
  17. height: 44px;
  18. line-height: 44px;
  19. background-color: #eff4fa;
  20. }
  21. .screen li {
  22. float: left;
  23. margin-right: 65px;
  24. }
  25. .bg-d9bf6e {
  26. margin-left: 5px;
  27. padding: 0 20px;
  28. color: #fff;
  29. background-color: #d9bf6e;
  30. }
  31. .list {
  32. padding: 0 40px;
  33. /*margin-top: 40px;*/
  34. overflow: hidden;
  35. }
  36. .list h2 {
  37. line-height: 30px;
  38. font-size: 14px;
  39. }
  40. .list .student-list_box {
  41. width: 300px;
  42. }
  43. .list .student-list_box > ul {
  44. height: 260px;
  45. overflow: auto;
  46. padding: 20px;
  47. background-color: #eef3ff;
  48. }
  49. .list .student-list_box li {
  50. line-height: 30px;
  51. cursor: pointer;
  52. }
  53. .list .student-selected_box {
  54. margin-left: 60px;
  55. }
  56. .list .student-list {
  57. display: none;
  58. margin-left: 20px;
  59. }
  60. .list .student-list li.active .btn-select_all {
  61. display: inline-block;
  62. }
  63. .list .student-list span {
  64. cursor: pointer;
  65. }
  66. .list .btn-select_all {
  67. margin-left: 84px;
  68. color: #008000;
  69. }
  70. .student-name_box li {
  71. position: relative;
  72. margin-left: 28px;
  73. line-height: 30px;
  74. }
  75. .student-name_box input {
  76. position: absolute;
  77. left: 155px;
  78. top: 8px;
  79. }
  80. .btn-select_all,
  81. .student-name_box {
  82. display: none;
  83. }
  84. .student-selected {
  85. width: 320px;
  86. height: 220px;
  87. overflow: auto;
  88. }
  89. .student-selected li {
  90. float: left;
  91. margin-right: 24px;
  92. margin-bottom: 12px;
  93. height: 26px;
  94. line-height: 26px;
  95. text-indent: 20px;
  96. background-color: #f2f2f2;
  97. }
  98. .student-selected .btn-delete {
  99. float: right;
  100. margin-right: 20px;
  101. color: red;
  102. cursor: pointer;
  103. }
  104. .btn-confirm_purchase {
  105. display: block;
  106. margin: 0 auto;
  107. margin-top: 100px;
  108. margin-bottom: 50px;
  109. width: 430px;
  110. line-height: 54px;
  111. color: #fff;
  112. font-family: PingFangSC-Regular, "PingFang SC";
  113. font-weight: 400;
  114. font-style: normal;
  115. font-size: 20px;
  116. text-align: center;
  117. background-color: rgba(0, 153, 102, 1);
  118. cursor: pointer;
  119. }
  120. #imgPreview {
  121. display: inline-block;
  122. margin-top: 12px;
  123. }
  124. #imgPreview > img {
  125. max-width: 100px;
  126. max-height: 100px;
  127. margin-right: 5px;
  128. }
  129. .layui-layer-btn .layui-layer-btn0 {
  130. border-color: #15ae68 !important;
  131. background-color: #15ae68 !important;
  132. color: #fff;
  133. }
  134. .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
  135. line-height: 140px;
  136. text-align: center;
  137. }
  138. .table-center th,.table-center td{text-align:center;}
  139. .table-center .diy_select{float:none;display:inline-block;}
  140. .out-count-div{display:inline-block;}
  141. .out-count-div a{display:inline-block;width:20px;height:20px;text-align:center;line-height:20px; background:#999;color:#fff;cursor:pointer}
  142. .out-count-div a:hover{background:#666;}
  143. .out-count-div span{margin-left:10px;}
  144. </style>
  145. </head>
  146. <body>
  147. <h3 class="sale-title">学管领用出库单</h3>
  148. <input type="hidden" name="oldOrderId" id="oldOrderId" value="0">
  149. <div class="sale-table">
  150. <table width="100%">
  151. <tr>
  152. <th><em class="red">*</em>出库单标题</th>
  153. <td colspan="3"><?php echo isset($pmData['outTitle'])?$pmData['outTitle']:'';?></td>
  154. </tr>
  155. <tr>
  156. <th><em class="red">*</em>领用日期</th>
  157. <td>
  158. <?php echo isset($pmData['outDate'])?date('Y-m-d',strtotime($pmData['outDate'])):'';?>
  159. </td>
  160. </tr>
  161. <tr>
  162. <th>领用人</th>
  163. <td><?php echo $coachName;?></td>
  164. </tr>
  165. <tr>
  166. <th><em class="red">*</em>领用品目类型</th>
  167. <td><input type="radio" name="itemType" value="2" disabled="disabled" <?php if($itemType == 2)echo "checked='checked'";?>>产成品<input type="radio" name="itemType" value="3" style="margin-left: 60px;" disabled="disabled" <?php if($itemType == 3)echo "checked='checked'";?>>低值易耗品</td>
  168. </tr>
  169. <tr>
  170. <th>领用说明</th>
  171. <td>
  172. <?php echo isset($pmData['remark'])?$pmData['remark']:'';?>
  173. </td>
  174. </tr>
  175. </table>
  176. <div>&nbsp;</div>
  177. <div style="margin-bottom:5px; font-size:18px;">选择的品目</div>
  178. <table width="100%" class="table-center">
  179. <tr>
  180. <th>品目名称</th>
  181. <th>可用库存数量</th>
  182. <th>出库数量</th>
  183. <th>单位</th>
  184. <?php if($itemType == 3){?>
  185. <th>低耗使用设备</th>
  186. <th>设备品目名称</th>
  187. <th>领用时的打印量</th>
  188. <?php }?>
  189. <th>操作</th>
  190. </tr>
  191. <tr>
  192. <td>
  193. <?php echo $itemName;?>
  194. </td>
  195. <td>
  196. <?php echo $itemTotal-$scrapNo;?>
  197. </td>
  198. <td>
  199. <?php echo $stockNum;?>
  200. </td>
  201. <td>
  202. <?php echo $unitName;?>
  203. </td>
  204. <?php if($itemType == 3){?>
  205. <th><?php echo $fcCode; ?></th>
  206. <th><?php echo $fcName; ?></th>
  207. <th><?php echo $print; ?></th>
  208. <?php }?>
  209. <td>-</td>
  210. </tr>
  211. </table>
  212. <div>&nbsp;</div>
  213. <!-- <div style="margin:10px 0 20px;">领用出库单填写后,需要提交审批并完成签字,才能完成领用。领用后出现商品损失由领用人承担。</div>-->
  214. <div class="sale-submit" style="margin-top: 25px;">
  215. <button type="button" class=" label-primary-s bth-s" id="savebutton" onclick="window.history.go(-1);">返回</button>
  216. <button type="button" class="label-primary-s bth-s" id="viewLog" >日志</button>
  217. </div>
  218. </div>
  219. <!--日志弹层-->
  220. <link rel="stylesheet" href="/css/cylet.css" />
  221. <style>
  222. .class-modal-body-1{overflow: auto;height:400px;}
  223. .class-modal-body-1 td{font-size:14px;line-height:200%}
  224. </style>
  225. <div class="confirmbox-mask" style="display: none" id="classModal">
  226. <div class="class-modal">
  227. </div>
  228. </div>
  229. <div class="confirmbox-mask" style="display: none" id="classModal-1">
  230. <form name="table_set">
  231. <div class="class-modal-1">
  232. <i class="icon icon-close-1"></i><div class="class-modal-head-1">日志</div>
  233. <div class="class-modal-body-1">
  234. <table cellspacing="0" cellpadding="0" border="0">
  235. <?php
  236. if($logList){
  237. foreach ($logList as $val){
  238. echo '<tr>';
  239. echo '<td><img src="/images/right_head.png"></td>';
  240. echo '<td width="40%">'.$val['createTime'].'</td>';
  241. echo '<td width="50%">【'.$val['userName'].'】'.$val['info'].'</td>';
  242. echo '</tr>';
  243. }
  244. }
  245. ?>
  246. </table>
  247. </div>
  248. </div>
  249. </form>
  250. </div>
  251. </body>
  252. <script>
  253. $('.icon-close-1').click(function(){
  254. $('#classModal-1').hide();
  255. });
  256. $('#viewLog').click(function(){
  257. $('#classModal-1').show();
  258. });
  259. </script>
  260. </html>