123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>新增退库单</title>
- <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/ace.min.css"/>
- <link rel="stylesheet" type="text/css" href="/css/ims/jquery.datetimepicker.css"/>
- <style>
- .ims-box {
- margin: 20px;
- }
- .screen {
- padding-left: 20px;
- height: 44px;
- line-height: 44px;
- background-color: #eff4fa;
- }
- .screen li {
- float: left;
- margin-right: 65px;
- }
- .bg-d9bf6e {
- margin-left: 5px;
- padding: 0 20px;
- color: #fff;
- background-color: #d9bf6e;
- }
- .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;
- }
- .btn-confirm_purchase {
- display: block;
- margin: 0 auto;
- margin-top: 100px;
- margin-bottom: 50px;
- width: 430px;
- line-height: 54px;
- color: #fff;
- font-family: PingFangSC-Regular, "PingFang SC";
- font-weight: 400;
- font-style: normal;
- font-size: 20px;
- text-align: center;
- background-color: rgba(0, 153, 102, 1);
- cursor: pointer;
- }
- #imgPreview {
- display: inline-block;
- margin-top: 12px;
- }
- #imgPreview > img {
- max-width: 100px;
- max-height: 100px;
- margin-right: 5px;
- }
- .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;
- }
- .table-center th,.table-center td{text-align:center;}
- .table-center .diy_select{float:none;display:inline-block;}
- .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;}
- .hidden{display: none}
- </style>
- </head>
- <body>
- <h3 class="sale-title">退库单</h3>
- <input type="hidden" name="oldOrderId" id="oldOrderId" value="0">
- <div class="sale-table">
- <table width="100%">
- <tr>
- <th><em class="red">*</em>出库单标题</th>
- <td colspan="3"><?php echo isset($pmData['inTitle'])?$pmData['inTitle']:'';?></td>
- </tr>
- <tr>
- <th><em class="red">*</em>退库人</th>
- <td><?php echo $coachName;?></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <th>退库所在仓库</th>
- <td><?php echo $schoolName;?></td>
- <th><em class="red">*</em>领用日期</th>
- <td>
- <?php echo isset($pmData['inDate'])?date('Y-m-d',strtotime($pmData['inDate'])):'';?>
- </td>
- </tr>
- <tr>
- <th><em class="red">*</em>退库品目类型</th>
- <td><input type="radio" name="itemType" value="2" disabled="disabled" <?php if($itemType == 2)echo "checked='checked'";?>>产成品<input type="radio" name="itemType" value="3" style="margin-left: 60px;" disabled="disabled" <?php if($itemType == 3)echo "checked='checked'";?>>低值易耗品</td>
- </tr>
- <tr>
- <th>退库说明</th>
- <td>
- <?php echo isset($pmData['remark'])?$pmData['remark']:'';?>
- </td>
- <td></td>
- <td></td>
- </tr>
- </table>
- <div> </div>
- <div style="margin-bottom:5px; font-size:18px;"><a class="select-item">选择的品目</a></div>
- <table width="100%" class="table-center">
- <tr class="item-out-list">
- <th>品目名称</th>
- <th>退库单号</th>
- <th>可退库数量</th>
- <th>退库数量</th>
- <th>操作</th>
- </tr>
- <?php if(isset($pmData['itemList']) && $pmData['itemList']):?>
- <?php foreach ($pmData['itemList'] as $v):?>
- <tr>
- <td>
- <?php echo $v['itemName'];?>
- <input type="hidden" name="select-itemId-outId" value="<?php echo $v['itemId'].'_'.$v['outId'];?>"/>
- </td>
- <td><?php echo $v['outCode'];?></td>
- <td><?php echo $v['validNum'];?></td>
- <td class="valid-num" id="<?php echo $v['itemId'].'_'.$v['outId'];?>"><?php echo $v['num'];?></td>
- <td>-</td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </table>
- <div> </div>
- <div class="sale-submit" style="margin-top: 25px;">
- <button type="button" class=" label-primary-s bth-s" id="savebutton" onclick="window.history.go(-1);">返回</button>
- <button type="button" class="label-primary-s bth-s" id="viewLog" >日志</button>
- </div>
- </div>
- <!--日志弹层-->
- <link rel="stylesheet" href="/css/cylet.css" />
- <style>
- .class-modal-body-1{overflow: auto;height:400px;}
- .class-modal-body-1 td{font-size:14px;line-height:200%}
- </style>
- <div class="confirmbox-mask" style="display: none" id="classModal">
- <div class="class-modal">
- </div>
- </div>
- <div class="confirmbox-mask" style="display: none" id="classModal-1">
- <form name="table_set">
- <div class="class-modal-1">
- <i class="icon icon-close-1"></i><div class="class-modal-head-1">日志</div>
- <div class="class-modal-body-1">
- <table cellspacing="0" cellpadding="0" border="0">
- <?php
- if($logList){
- foreach ($logList as $val){
- echo '<tr>';
- echo '<td><img src="/images/right_head.png"></td>';
- echo '<td width="40%">'.$val['createTime'].'</td>';
- echo '<td width="50%">【'.$val['userName'].'】'.$val['info'].'</td>';
- echo '</tr>';
- }
- }
- ?>
- </table>
- </div>
- </div>
- </form>
- </div>
- </body>
- <script>
- $('.icon-close-1').click(function(){
- $('#classModal-1').hide();
- });
- $('#viewLog').click(function(){
- $('#classModal-1').show();
- });
- </script>
- </body>
- </html>
|