deliveryView.php 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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. <style>
  11. .ims-box {
  12. margin: 20px;
  13. }
  14. .screen {
  15. padding-left: 20px;
  16. height: 44px;
  17. line-height: 44px;
  18. background-color: #eff4fa;
  19. }
  20. .screen li {
  21. float: left;
  22. margin-right: 65px;
  23. }
  24. .bg-d9bf6e {
  25. margin-left: 5px;
  26. padding: 0 20px;
  27. color: #fff;
  28. background-color: #d9bf6e;
  29. }
  30. .list {
  31. padding:0 40px;
  32. /*margin-top: 40px;*/
  33. overflow: hidden;
  34. }
  35. .list h2 {
  36. line-height: 30px;
  37. font-size: 14px;
  38. }
  39. .list .student-list_box {
  40. width: 300px;
  41. }
  42. .list .student-list_box>ul{
  43. height: 260px;
  44. overflow: auto;
  45. padding: 20px;
  46. background-color: #eef3ff;
  47. }
  48. .list .student-list_box li {
  49. line-height: 30px;
  50. cursor: pointer;
  51. }
  52. .list .student-selected_box {
  53. margin-left: 60px;
  54. }
  55. .list .student-list {
  56. display: none;
  57. margin-left: 20px;
  58. }
  59. .list .student-list li.active .btn-select_all {
  60. display: inline-block;
  61. }
  62. .list .student-list span {
  63. cursor: pointer;
  64. }
  65. .list .btn-select_all {
  66. margin-left: 84px;
  67. color: #2977ff;
  68. }
  69. .student-name_box li {
  70. position: relative;
  71. margin-left: 28px;
  72. line-height: 30px;
  73. }
  74. .student-name_box input {
  75. position: absolute;
  76. left: 155px;
  77. top: 8px;
  78. }
  79. .btn-select_all,
  80. .student-name_box {
  81. display: none;
  82. }
  83. .student-selected {
  84. width: 320px;
  85. height: 300px;
  86. overflow: auto;
  87. }
  88. .student-selected li {
  89. float: left;
  90. margin-right: 24px;
  91. margin-bottom: 12px;
  92. width: 280px;
  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: #2977ff;
  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. </style>
  130. </head>
  131. <body>
  132. <h3 class="sale-title">销售出库单</h3>
  133. <div class="sale-table">
  134. <table width="100%">
  135. <tr>
  136. <th><em class="red">*</em>标题</th>
  137. <td colspan="3"><input type="text" style="width:100%;" disabled name="outTitle" value="<?php echo $pmData['outTitle'];?>"></td>
  138. </tr>
  139. <tr>
  140. <th><em class="red">*</em>出库品名</th>
  141. <td>
  142. <input type="text" style="width:100%;" disabled value="<?php echo $itemName?>"></td>
  143. <span class="fr">单位:个</span>
  144. </td>
  145. <th><em class="red">*</em>出库日期</th>
  146. <td><input type="text" readonly disabled style="width:100%;" placeholder="请输入出库日期" value="<?php echo date('Y-m-d', strtotime($pmData['outDate']));?>"></td>
  147. </tr>
  148. <tr>
  149. <th><em class="red">*</em>关联财务订单</th>
  150. <td>
  151. <a href="javascript:;"><?php echo $pmData['orderNo'];?></a>
  152. <span class="fr">关联人数:<span class="rel-peapor-num"><?php echo $reStudentCount;?></span></span>
  153. </td>
  154. <th>每个学生领取数量</th>
  155. <td>
  156. <input type="text" name="stu_get_num" disabled placeholder="请输入领取数量" value="<?php echo $total/$pmData['studentNo'];?>">
  157. <span class="fr">个</span>
  158. </td>
  159. </tr>
  160. <tr>
  161. <td colspan="4" class="sale-num">出库数量:<span class="red out-num"><?php echo $total?></span>个</td>
  162. </tr>
  163. <tr>
  164. <th><em class="red">*</em>发货凭证</th>
  165. <td colspan="3">
  166. <div id="imgPreview">
  167. <?php if(isset($pmData['images']) && $pmData['images']):?>
  168. <?php foreach($pmData['images'] as $url):?>
  169. <img src="<?php echo $url;?>" alt="">
  170. <?php endforeach;?>
  171. <?php endif;?>
  172. </div>
  173. </td>
  174. </tr>
  175. </table>
  176. </div>
  177. <div class="clearfix student-list">
  178. <div class="fl">领用学生名单</div>
  179. </div>
  180. <div style="font-size:12px;max-height: 350px;overflow-y: scroll;margin-bottom: 25px;">
  181. <table class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable" style="font-size:12px">
  182. <thead>
  183. <tr>
  184. <th>序号</th>
  185. <th>学生姓名</th>
  186. <th>班级</th>
  187. </tr>
  188. </thead>
  189. <tbody>
  190. <?php if ($pmStudent):?>
  191. <?php foreach ($pmStudent as $index=>$item):?>
  192. <tr>
  193. <td><?php echo $index+1 ;?></td>
  194. <td><?php echo $item['studentName'] ;?></td>
  195. <td><?php echo $item['clazzName'] ;?></td>
  196. </tr>
  197. <?php endforeach;?>
  198. <?php endif;?>
  199. </tbody>
  200. </table>
  201. </div>
  202. <script src="/js/productset/jquery.min.js"></script>
  203. <script src="/js/ims/xsgl.js"></script>
  204. </body>
  205. </html>