123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>出库单</title>
- <meta name="description" content="">
- <meta name="keywords" content="">
- <link href="/css/base.css" rel="stylesheet">
- <link href="/css/ims/ims.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css"/>
- <link rel="stylesheet" type="text/css" href="/css/ims/jquery.datetimepicker.css"/>
- <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css"/>
- <style>
- .green {
- color: green;
- }
- .red {
- color: red;
- }
- .ims-box {
- margin: 20px;
- }
- .screen > div {
- float: left;
- margin-right: 8px;
- }
- .screen > span {
- line-height: 30px;
- margin-right: 5px;
- }
- .screen .date > input {
- height: 30px;
- border-radius: 4px;
- border: 1px solid #ccc;
- box-shadow: none;
- text-indent: 10px;
- }
- .screen button {
- padding: 4px 12px;
- }
- .table-box {
- margin-top: 30px;
- }
- .btn-formal-order {
- cursor: pointer;
- }
- .application-number-box {
- margin-top: 50px;
- text-align: center;
- }
- .application-number-box span {
- margin-right: 20px;
- }
- .layui-layer-btn .layui-layer-btn0 {
- border-color: #15ae68 !important;
- background-color: #15ae68 !important;
- color: #fff;
- }
- .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
- line-height: 140px;
- text-align: center;
- }
- .qrcode-fram{display:none;}
- #imsCode img{display:inline-block!important;margin:10px 0;}
- #qrcode{display:inline-block;}
- .hidden{display: none;}
- .use-out{margin:20px; border-bottom:1px solid #ccc;}
- .use-out a{line-height:30px;padding:0 50px;margin-right:20px;font-size:16px;color:#333;}
- .use-out a.active{color:#15ae68;border-bottom:3px solid #15ae68}
- .table-box table th,.table-box td{text-align:center;}
- .page-div{text-align:right;}
- .page-div a{display:inline-block;width:20px;height:20px;text-align:center;line-height:20px;background:#999;color:#fff;cursor:pointer;}
- .page-div a:hover{background:#666;}
- .page-div span{margin:0 10px;}
- .layui-layer-page .layui-layer-content{overflow-x:hidden;}
- .out-count-div{display:inline-block;}
- .out-count-div a{display:inline-block;width:20px;height:20px;text-align:center;line-height:20px; background:#999;color:#fff;cursor:pointer}
- .out-count-div a:hover{background:#666;}
- .out-count-div span{margin-left:10px;}
- /*明细订单*/
- .list {
- padding: 0 40px;
- /*margin-top: 40px;*/
- overflow: hidden;
- }
- .list h2 {
- line-height: 30px;
- font-size: 14px;
- }
- .list .student-list_box {
- width: 300px;
- }
- .list .student-list_box > ul {
- height: 260px;
- overflow: auto;
- padding: 20px;
- background-color: #eef3ff;
- }
- .list .student-list_box li {
- line-height: 30px;
- cursor: pointer;
- }
- .list .student-selected_box {
- margin-left: 60px;
- }
- .list .student-list {
- /*display: none;*/
- margin-left: 20px;
- }
- .list .student-list li.active .btn-select_all {
- display: inline-block;
- }
- .list .student-list span {
- cursor: pointer;
- }
- .list .btn-select_all {
- margin-left: 84px;
- color: #008000;
- }
- .student-name_box li {
- position: relative;
- margin-left: 28px;
- line-height: 30px;
- }
- .student-name_box input {
- position: absolute;
- left: 155px;
- top: 8px;
- }
- .btn-select_all,
- .student-name_box {
- /*display: none;*/
- }
- .student-selected {
- width: 320px;
- height: 220px;
- overflow: auto;
- }
- .student-selected li {
- float: left;
- margin-right: 24px;
- margin-bottom: 12px;
- height: 26px;
- line-height: 26px;
- text-indent: 20px;
- background-color: #f2f2f2;
- }
- .student-selected .btn-delete {
- float: right;
- margin-right: 20px;
- color: red;
- cursor: pointer;
- }
- .sign-td a{cursor: pointer}
- </style>
- </head>
- <body>
- <h3 class="sale-title">领用出库关联订单</h3>
- <div class="ims-box">
- <div class="table-box ">
- <!-- 查看关联正式订单弹层 -->
- <div class="layer-filter clearfix" style="margin-bottom:0">
- <span class="fl">已发放数量:<em style="color:#f00" class="allotNo-num"><?php echo $allotNo;?></em></span>
- <button onclick="javascript:window.location.href = '<?php echo $this->createUrl('imsStore/useRelOrder', array('outId' => $outId,'doType' => 'relOrder')); ?>'" type="button" class="fr continue-grant label-primary-s bth-s" style="margin-bottom: 5px">继续发放</button>
- </div>
- <table class="order-table table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
- style="font-size:12px">
- <thead>
- <tr>
- <th>关联订单号</th>
- <th>商品名称</th>
- <th>订购人数</th>
- <th>本次收货人数</th>
- </tr>
- </thead>
- <tbody class="send-num">
- <?php if (isset($validList) && $validList): ?>
- <?php foreach ($validList as $key => $value):?>
- <tr>
- <td><?php echo $value['orderNo'];?></td>
- <td><?php echo $value['goodsName'];?></td>
- <td><?php echo $value['orderStudentNum'];?></td>
- <td><?php echo $value['confirmStudentNum'];?></td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </tbody>
- </table>
- <div style="margin-bottom:10px">明细订单</div>
- <table class="order-table table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
- style="font-size:12px">
- <thead>
- <tr>
- <th>明细订单号</th>
- <th>学生姓名</th>
- <th>班级</th>
- </tr>
- </thead>
- <tbody class="order-detail">
- <?php if (isset($pmDataList['list']) && $pmDataList['list']): ?>
- <?php foreach ($pmDataList['list'] as $key => $outputDetails):?>
- <tr>
- <td><?php echo $outputDetails['osNo'];?></td>
- <td><?php echo $outputDetails['studentName'];?></td>
- <td><?php echo $outputDetails['clazzName'];?></td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </tbody>
- </table>
- <?php if ($pmDataList): ?>
- <div class="col-sm-12">
- <ul class="pagination">
- <?php
- $params = array();
- if (isset($_GET['page'])) {
- $params['page'] = $_GET['page'];
- } else {
- $params['page'] = 1;
- }
- $params['doType'] = 'viewOrder';
- $params['outId'] = $outId;
- $params['allotNo'] = $allotNo;
- echo formatPage($pmDataList, 'imsStore/useRelOrder', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <?php include_once '_useOutJs.php'?>
- </body>
- </html>
|