viewFormalOrder.php 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>转财务订单</title>
  6. <link href="/css/ims/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-add-student-box {
  13. margin: 20px;
  14. }
  15. .ims-add-student-box p{
  16. margin: 0;
  17. }
  18. .ims-add-student-box .ims-title{
  19. font-size: 20px;
  20. font-weight: bold;
  21. }
  22. .ims-add-student-box .ims-title span{
  23. margin-right: 20px;
  24. }
  25. .ims-add-student-box .add-student-box {
  26. margin-top: 20px;
  27. font-size: 0;
  28. overflow: hidden;
  29. }
  30. .ims-add-student-box .add-student-box>div{
  31. display: inline-block;
  32. height: 530px;
  33. font-size: 14px;
  34. vertical-align: top;
  35. }
  36. .ims-add-student-box .add-student-box .add-student-title{
  37. padding: 0 8px;
  38. line-height: 30px;
  39. color: #fff;
  40. background-color: #058000;
  41. }
  42. .ims-add-student-box .add-student-box .add-student-title label{
  43. font-size: 14px;
  44. font-weight: normal;
  45. cursor: pointer;
  46. margin-bottom: 0;
  47. }
  48. .ims-add-student-box .add-student-box .add-student-title input{
  49. vertical-align: middle;
  50. margin: 0;
  51. }
  52. #input-search-student{
  53. width: 120px;
  54. height: 20px;
  55. border: 0;
  56. }
  57. .ims-add-student-box .add-student-box{
  58. line-height: 30px;
  59. min-width: 938px;
  60. }
  61. .ims-add-student-box .add-student-box .class-box {
  62. width: 180px;
  63. text-align: center;
  64. border: 1px solid #ccc;
  65. }
  66. .ims-add-student-box .student-list div{
  67. font-size: 14px;
  68. font-weight: normal;
  69. }
  70. .ims-add-student-box .add-student-box .class-list{
  71. height: 500px;
  72. overflow: auto;
  73. }
  74. .ims-add-student-box .add-student-box .class-list li{
  75. border-bottom: 1px solid #ccc;
  76. cursor: pointer;
  77. }
  78. .ims-add-student-box .class-list .active{
  79. color: #058000;
  80. }
  81. .ims-add-student-box .add-student-box .student-list{
  82. margin: 0;
  83. width: 34%;
  84. min-width: 326px;
  85. border: 1px solid #ccc;
  86. border-left: 0;
  87. }
  88. .ims-add-student-box .student-list-content,.selected-list-content{
  89. padding: 8px;
  90. height: 500px;
  91. overflow: auto;
  92. }
  93. .ims-add-student-box .student-list-content label,.selected-list-content label{
  94. display: inline-block;
  95. width: 150px;
  96. cursor: pointer;
  97. font-size: 14px;
  98. font-weight: normal;
  99. }
  100. .ims-add-student-box .btn-search-student{
  101. height: 20px;
  102. line-height: 20px;
  103. padding: 0 5px;
  104. border-radius: 3px;
  105. color: #058000;
  106. background-color: #fff;
  107. border: none;
  108. outline: none;
  109. cursor: pointer;
  110. }
  111. .ims-add-student-box .btns-box {
  112. width: 100px;
  113. text-align: center;
  114. }
  115. .ims-add-student-box .btn-left,.ims-add-student-box .btn-right{
  116. margin: 150px auto 0;
  117. width: 40px;
  118. height: 40px;border: 1px solid #ccc;
  119. border-radius: 50%;
  120. background-color: #fff;
  121. text-align: center;
  122. line-height: 40px;
  123. cursor: pointer;
  124. }
  125. .ims-add-student-box .selected-list{
  126. width: 34%;
  127. min-width: 326px;
  128. border: 1px solid #ccc;
  129. }
  130. .ims-add-student-box .btn-confirm_purchase {
  131. display: block;
  132. margin: 0 auto;
  133. margin-top: 100px;
  134. margin-bottom: 50px;
  135. width: 200px;
  136. line-height: 54px;
  137. color: #fff;
  138. font-family: PingFangSC-Regular, "PingFang SC";
  139. font-weight: 400;
  140. font-style: normal;
  141. font-size: 20px;
  142. text-align: center;
  143. background-color: rgba(0, 153, 102, 1);
  144. cursor: pointer;
  145. }
  146. </style>
  147. </head>
  148. <body>
  149. <h3 class="sale-title">转财务订单申请</h3>
  150. <input type="hidden" name="itemName">
  151. <input type="hidden" name="itemSpec">
  152. <input type="hidden" name="itemCode">
  153. <input type="hidden" name="unitId">
  154. <div class="sale-table">
  155. <table width="100%">
  156. <tr>
  157. <th><em class="red">*</em>销售订单号</th>
  158. <td >
  159. <?php echo $orderNo?>
  160. </td>
  161. <th><em class="red">*</em>剩余名额</th>
  162. <td >
  163. </td>
  164. </tr>
  165. <tr>
  166. <th><em class="red">*</em>年级</th>
  167. <td >
  168. <?php echo $gradeText?>
  169. </td>
  170. <th><em class="red">*</em>商品</th>
  171. <td >
  172. <?php echo $goodsName?>
  173. </td>
  174. </tr>
  175. <tr>
  176. <th><em class="red">*</em>申请人数</th>
  177. <td colspan="3" class="apply_people">
  178. <?php echo $quantity?>人
  179. </td>
  180. </tr>
  181. </table>
  182. <br><br>
  183. <table width="100%" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable" id="P_list">
  184. <tr>
  185. <th>序号</th>
  186. <th>姓名</th>
  187. <th>班级</th>
  188. </tr>
  189. <?php
  190. if($list){
  191. $i=1;
  192. foreach ($list as $val){
  193. ?>
  194. <tr>
  195. <td><?php echo $i?></td>
  196. <td><?php echo $val['studentName']?></td>
  197. <td><?php echo $val['clazzName']?></td>
  198. </tr>
  199. <?php
  200. $i++;
  201. }
  202. }
  203. ?>
  204. <tr>
  205. <td colspan="3" class="page">
  206. <?php if ($pages): ?>
  207. <div class="col-sm-12">
  208. <ul class="pagination">
  209. <?php
  210. if($page>1){
  211. echo '<li class="previous"><a href="'.$this->createUrl('imsSale/viewTurnOrder?'.$query.'&page='.($page-1)).'">上一页</a></li>';
  212. }
  213. for($i=1;$i<=$pages;$i++){
  214. $url=$this->createUrl('imsSale/viewTurnOrder?'.$query.'&page='.$i);
  215. if($page==$i){
  216. echo '<li class="page selected"><a href="#">'.$i.'</a></li>';
  217. }else{
  218. echo '<li class="page"><a href="'.$url.'">'.$i.'</a></li>';
  219. }
  220. }
  221. if($page<$pages){
  222. echo '<li class="next"><a href="'.$this->createUrl('imsSale/viewTurnOrder?'.$query.'&page='.($page+1)).'">下一页</a></li>';
  223. }
  224. ?>
  225. </ul>
  226. </div>
  227. <?php endif; ?>
  228. </td>
  229. </tr>
  230. </table>
  231. </div>
  232. <div class="sale-submit" style="margin-top: 25px;">
  233. <a class=" label-primary-s bth-s" href="<?php echo $this->createUrl('imsSale/officialTable')?>">返回财务订单</a>
  234. <a class=" label-primary-s bth-s" id="viewLog" >日志</a>
  235. </div>
  236. <script src="/js/jquery-2.2.2.min.js" ></script>
  237. <script src="/js/jquery.datetimepicker.js"></script>
  238. <script src="/js/layer/layer.js"></script>
  239. <script src="/js/xsgl.js"></script>
  240. <!--日志弹层-->
  241. <link rel="stylesheet" href="/css/cylet.css" />
  242. <style>
  243. .class-modal-body-1{overflow: auto;height:400px;}
  244. .class-modal-body-1 td{font-size:14px;line-height:200%}
  245. </style>
  246. <div class="confirmbox-mask" style="display: none" id="classModal">
  247. <div class="class-modal">
  248. </div>
  249. </div>
  250. <div class="confirmbox-mask" style="display: none" id="classModal-1">
  251. <form name="table_set">
  252. <div class="class-modal-1">
  253. <i class="icon icon-close-1"></i><div class="class-modal-head-1">日志</div>
  254. <div class="class-modal-body-1">
  255. <table cellspacing="0" cellpadding="0" border="0">
  256. <?php
  257. if($logList){
  258. foreach ($logList as $val){
  259. echo '<tr>';
  260. echo '<td><img src="/images/right_head.png"></td>';
  261. echo '<td width="40%">'.$val['createTime'].'</td>';
  262. echo '<td width="50%">【'.$val['userName'].'】'.$val['info'].'</td>';
  263. echo '</tr>';
  264. }
  265. }
  266. ?>
  267. </table>
  268. </div>
  269. </div>
  270. </form>
  271. </div>
  272. </body>
  273. <script>
  274. $('.icon-close-1').click(function(){
  275. $('#classModal-1').hide();
  276. });
  277. $('#viewLog').click(function(){
  278. $('#classModal-1').show();
  279. });
  280. </script>
  281. </body>
  282. </html>