123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <!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 ">
- <!-- 关联正式订单弹层 -->
- <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 class="valid-num"><?php echo $validNum;?></th>
- <th>发放数量</th>
- <th><div class="out-count-div">
- <span class="out-stock-num"><?php echo $confirmNum;?></span>
- <span class="fr">发放给学生的品目数量</span>
- </div>
- </th>
- </tr>
- </thead>
- </table>
- <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>
- <th>已收货人数</th>
- <th>剩余收货人数</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <?php if (isset($pmDataList['list']) && $pmDataList['list']): ?>
- <?php foreach ($pmDataList['list'] as $key => $outputDetails):?>
- <tr><input type="hidden" value="<?php echo $outputDetails['orderId'];?>" name="relation_order_select">
- <td><?php echo $outputDetails['orderNo'];?></td>
- <td><?php echo $outputDetails['goodsName'];?></td>
- <td><?php echo $outputDetails['orderStudentNum'];?></td>
- <td><?php echo $outputDetails['confirmStudentNum'];?></td>
- <td><?php echo $outputDetails['remainStudentNum'];?></td>
- <td><a orderId="<?php echo $outputDetails['orderId'];?>" outId="<?php echo $outId;?>" class="appoint-detail">指定明细</a></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['isUse']) && $_GET['isUse']) {
- $params['isUse'] = $_GET['isUse'];
- }
- if (isset($_GET['itemId']) && $_GET['itemId']) {
- $params['itemId'] = $_GET['itemId'];
- }
- if (isset($_GET['startDate']) && $_GET['startDate']) {
- $params['startDate'] = $_GET['startDate'];
- }
- if (isset($_GET['endDate']) && $_GET['endDate']) {
- $params['endDate'] = $_GET['endDate'];
- }
- if (isset($_GET['page'])) {
- $params['page'] = $_GET['page'];
- } else {
- $params['page'] = 1;
- }
- if (isset($_GET['doType'])) {
- $params['doType'] = $_GET['doType'];
- } else {
- $params['doType'] = 'relOrder';
- }
- if (isset($_GET['outId'])) {
- $params['outId'] = $_GET['outId'];
- } else {
- $params['outId'] = 0;
- }
- echo formatPage($pmDataList, 'imsStore/useRelOrder', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <!-- 编辑名单弹层 -->
- <div class="layer-edit">
- <p class="red">选择发货学生名单,可选学生必须是财务订单中已订购的学生,请仔细选择!</p>
- <div class="list">
- <div class="student-list_box fl">
- </div>
- <div class="student-selected_box fl">
- <h2>已选择(<span id="studentSelectedLength">0</span>)</h2>
- <ul class="student-selected">
- </ul>
- </div>
- </div>
- </div>
- <?php include_once '_useOutJs.php'?>
- </body>
- </html>
|