viewGoodsChange.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title>查看商品变更申请</title>
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <link href="/css/ims/base.css" rel="stylesheet">
  10. <link rel="stylesheet" type="text/css" href="/css/ims/jquery.datetimepicker.css"/>
  11. <link rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css"/>
  12. <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css"/>
  13. <link href="/css/ims/ims.css" rel="stylesheet">
  14. <style>
  15. .ims-box {
  16. padding: 30px 50px;
  17. }
  18. .ims-box > h1 {
  19. font-size: 28px;
  20. }
  21. .screen {
  22. width:100%;
  23. }
  24. .screen li {
  25. height: 30px;
  26. line-height: 30px;
  27. border: 1px solid #DBDBDB;
  28. font-size: 0;
  29. }
  30. .screen span {
  31. display: inline-block;
  32. font-size: 13px;
  33. }
  34. .screen .title {
  35. width: 100px;
  36. background-color: #EAEAEA;
  37. text-align: center;
  38. }
  39. /*.screen .type {*/
  40. /*width: 400px;*/
  41. /*}*/
  42. .screen .type label {
  43. margin: 0 20px;
  44. }
  45. .list {
  46. overflow: hidden;
  47. }
  48. .list h2 {
  49. line-height: 30px;
  50. }
  51. .list .student-list_box {
  52. width: 30%;
  53. }
  54. .list .student-selected_box {
  55. margin-left: 60px;
  56. width: 60%;
  57. overflow-x: scroll;
  58. }
  59. .list .student-list {
  60. height: 360px;
  61. overflow: auto;
  62. padding: 20px;
  63. background-color: #eef3ff;
  64. }
  65. .list .student-list li {
  66. line-height: 30px;
  67. cursor: pointer;
  68. }
  69. .list .student-list li.active .btn-select_all {
  70. display: inline-block;
  71. }
  72. .list .student-list span {
  73. cursor: pointer;
  74. }
  75. .list .btn-select_all {
  76. margin-left: 84px;
  77. color: #008000;
  78. }
  79. .student-name_box li {
  80. position: relative;
  81. margin-left: 28px;
  82. line-height: 30px;
  83. }
  84. .student-name_box input {
  85. position: absolute;
  86. left: 140px;
  87. top: 8px;
  88. }
  89. .btn-select_all, .student-name_box {
  90. display: none;
  91. }
  92. .student-selected {
  93. height: 400px;
  94. overflow: auto;
  95. }
  96. .student-selected li {
  97. float: left;
  98. margin-right: 24px;
  99. margin-bottom: 12px;
  100. width: 280px;
  101. height: 26px;
  102. line-height: 26px;
  103. text-indent: 20px;
  104. background-color: #f2f2f2;
  105. }
  106. .student-selected .btn-delete {
  107. float: right;
  108. margin-right: 20px;
  109. color: red;
  110. cursor: pointer;
  111. }
  112. .btn-trial {
  113. display: block;
  114. margin: 0 auto;
  115. margin-top: 100px;
  116. margin-bottom: 50px;
  117. width: 430px;
  118. line-height: 54px;
  119. color: #fff;
  120. font-family: PingFangSC-Regular, "PingFang SC";
  121. font-weight: 400;
  122. font-style: normal;
  123. font-size: 20px;
  124. text-align: center;
  125. background-color: rgba(0, 153, 102, 1);
  126. cursor: pointer;
  127. }
  128. .layui-layer-btn .layui-layer-btn0 {
  129. border-color: #15ae68 !important;
  130. background-color: #15ae68 !important;
  131. color: #fff;
  132. }
  133. .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
  134. line-height: 140px;
  135. text-align: center;
  136. }
  137. .ims-add-student-box {
  138. margin: 20px;
  139. }
  140. .ims-add-student-box p{
  141. margin: 0;
  142. }
  143. .ims-add-student-box .ims-title{
  144. font-size: 20px;
  145. font-weight: bold;
  146. }
  147. .ims-add-student-box .ims-title span{
  148. margin-right: 20px;
  149. }
  150. .ims-add-student-box .add-student-box {
  151. margin-top: 20px;
  152. font-size: 0;
  153. overflow: hidden;
  154. }
  155. .ims-add-student-box .add-student-box>div{
  156. display: inline-block;
  157. height: 530px;
  158. font-size: 14px;
  159. vertical-align: top;
  160. }
  161. .ims-add-student-box .add-student-box .add-student-title{
  162. padding: 0 8px;
  163. line-height: 30px;
  164. color: #fff;
  165. background-color: #058000;
  166. }
  167. .ims-add-student-box .add-student-box .add-student-title label{
  168. font-size: 14px;
  169. font-weight: normal;
  170. cursor: pointer;
  171. margin-bottom: 0;
  172. }
  173. .ims-add-student-box .add-student-box .add-student-title input{
  174. vertical-align: middle;
  175. margin: 0;
  176. }
  177. #input-search-student{
  178. width: 120px;
  179. height: 20px;
  180. border: 0;
  181. color:#000;
  182. }
  183. .ims-add-student-box .add-student-box{
  184. line-height: 30px;
  185. min-width: 938px;
  186. }
  187. .ims-add-student-box .add-student-box .class-box {
  188. width: 180px;
  189. text-align: center;
  190. border: 1px solid #ccc;
  191. }
  192. .ims-add-student-box .student-list div{
  193. font-size: 14px;
  194. font-weight: normal;
  195. }
  196. .ims-add-student-box .add-student-box .class-list{
  197. height: 500px;
  198. overflow: auto;
  199. }
  200. .ims-add-student-box .add-student-box .class-list li{
  201. border-bottom: 1px solid #ccc;
  202. cursor: pointer;
  203. }
  204. .ims-add-student-box .class-list .active{
  205. color: #058000;
  206. }
  207. .ims-add-student-box .add-student-box .student-list{
  208. margin: 0;
  209. width: 34%;
  210. min-width: 326px;
  211. border: 1px solid #ccc;
  212. border-left: 0;
  213. }
  214. .ims-add-student-box .student-list-content,.selected-list-content{
  215. padding: 8px;
  216. height: 500px;
  217. overflow: auto;
  218. }
  219. .ims-add-student-box .student-list-content label,.selected-list-content label{
  220. display: inline-block;
  221. width: 150px;
  222. cursor: pointer;
  223. font-size: 14px;
  224. font-weight: normal;
  225. }
  226. .ims-add-student-box .btn-search-student{
  227. height: 20px;
  228. line-height: 20px;
  229. padding: 0 5px;
  230. border-radius: 3px;
  231. color: #058000;
  232. background-color: #fff;
  233. border: none;
  234. outline: none;
  235. cursor: pointer;
  236. }
  237. .ims-add-student-box .btns-box {
  238. width: 100px;
  239. text-align: center;
  240. }
  241. .ims-add-student-box .btn-left,.ims-add-student-box .btn-right{
  242. margin: 150px auto 0;
  243. width: 40px;
  244. height: 40px;border: 1px solid #ccc;
  245. border-radius: 50%;
  246. background-color: #fff;
  247. text-align: center;
  248. line-height: 40px;
  249. cursor: pointer;
  250. }
  251. .ims-add-student-box .selected-list{
  252. width: 34%;
  253. min-width: 326px;
  254. border: 1px solid #ccc;
  255. }
  256. .ims-add-student-box .btn-confirm_purchase {
  257. display: block;
  258. margin: 0 auto;
  259. margin-top: 100px;
  260. margin-bottom: 50px;
  261. width: 200px;
  262. line-height: 54px;
  263. color: #fff;
  264. font-family: PingFangSC-Regular, "PingFang SC";
  265. font-weight: 400;
  266. font-style: normal;
  267. font-size: 20px;
  268. text-align: center;
  269. background-color: rgba(0, 153, 102, 1);
  270. cursor: pointer;
  271. }
  272. .yiiPager li{display: inline}
  273. </style>
  274. </head>
  275. <body>
  276. <div class="ims-box">
  277. <h1 class="title">商品变更申请</h1>
  278. <div class="screen">
  279. 选择变更新销售订单
  280. <table id="formalOrderTable"
  281. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  282. style="font-size:12px">
  283. <tr>
  284. <th class="title">选择学年</th>
  285. <th style="width:38%">
  286. <?php echo $schoolYearName;?>
  287. </th>
  288. <th class="title">选择新销售订单</th>
  289. <th>
  290. <?php echo $purposeOrderNo;?>
  291. </th>
  292. </tr>
  293. <tr>
  294. <th class="title">售价</th>
  295. <th >
  296. <span class="sellingPrice">
  297. <?php echo $sellingPrice;?>
  298. </span>
  299. </th >
  300. <th class="title" style="width:10%">商品</th>
  301. <th>
  302. <span class="goodsName">
  303. <?php echo $goodsName;?>
  304. </span>
  305. </th>
  306. </tr>
  307. <tr>
  308. <th class="title">年级</th>
  309. <th >
  310. <span class="gradeName">
  311. <?php echo $gradeName;?>
  312. </span>
  313. </th >
  314. <th class="title" style="width:10%">商品变更类型</th>
  315. <th>
  316. <span class="changeTypeName">
  317. <?php echo $changeTypeName;?>
  318. </span>
  319. </th>
  320. </tr>
  321. </table>
  322. 需变更财务订单
  323. <table id="formalOrderTable"
  324. class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
  325. style="font-size:12px">
  326. <tr>
  327. <th class="title">财务订单号</th>
  328. <th style="width:38%">
  329. <?php echo $oldOrderNo;?>
  330. </th>
  331. <th class="title">商品</th>
  332. <th>
  333. <span class="financeGoodsName">
  334. <?php echo $oldGoodsName;?>
  335. </span>
  336. </th>
  337. </tr>
  338. <tr>
  339. <th class="title">售价</th>
  340. <th >
  341. <span class="financeSellingPrice">
  342. <?php echo $oldSellingPrice;?>
  343. </span>
  344. </th >
  345. <th class="title" style="width:10%">年级</th>
  346. <th>
  347. <span class="canChangeNum">
  348. <?php echo $gradeName;?>
  349. </span>
  350. </th>
  351. </tr>
  352. </table>
  353. </div>
  354. <div class="ims-add-student-box">
  355. <h2 class="ims-title"><span>学生名单 共选择<?php echo $page['total']?>人</span></h2>
  356. <table width="100%" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable" id="P_list">
  357. <tr>
  358. <td>序号</td>
  359. <td>姓名</td>
  360. <td>班级</td>
  361. </tr>
  362. <?php
  363. if($students){
  364. $i=1;
  365. foreach ($students as $student){
  366. ?>
  367. <tr>
  368. <td><?php echo $i;?></td>
  369. <td><?php echo $student['studentName'];?></td>
  370. <td><?php echo $student['clazzName'];?></td>
  371. </tr>
  372. <?php
  373. $i++;
  374. }
  375. }
  376. ?>
  377. </table>
  378. <?php if ($page): ?>
  379. <div class="col-sm-12">
  380. <ul class="pagination">
  381. <?php
  382. $params = array();
  383. if (isset($_GET['page'])) {
  384. $params['page'] = $_GET['page'];
  385. }else{
  386. $params['page'] = 1;
  387. }
  388. if (isset($_GET['id'])) {
  389. $params['id'] = $_GET['id'];
  390. }
  391. echo formatPage($page, 'imsSale/viewGoodsChange', $params);
  392. ?>
  393. </ul>
  394. </div>
  395. <?php endif; ?>
  396. </div>
  397. </div>
  398. <script src="/js/productset/jquery.min.js"></script>
  399. <script src="/js/ims/jquery.datetimepicker.js"></script>
  400. <script src="/js/layer/layer.js"></script>
  401. </body>
  402. </html>