123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <!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 rel="stylesheet" type="text/css" href="/css/ims/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="/css/ims/ace.min.css" />
- <style>
- .ims-box {
- margin: 20px;
- }
- .screen>div {
- margin-right: 30px;
- }
- .screen>span{
- line-height: 30px;
- margin-right:5px;
- }
- .screen button {
- padding: 4px 12px;
- }
- .table-box {
- margin-top: 30px;
- }
- .table-box table,
- .table-box table th {
- text-align: center;
- }
- .table>tbody>tr>td{
- vertical-align: middle;
- }
- .yellow{
- color: #FF9900;
- }
- .table-box a{
- color: blue
- }
- .red {
- color: red;
- }
- .yellow {
- color: #FF9900;
- }
- .ims-box {
- margin: 20px;
- }
- .screen > div {
- margin-right: 5px;
- }
- .screen button {
- padding: 4px 12px;
- }
- .table-box {
- margin-top: 30px;
- }
- .table-box table,
- .table-box table th {
- text-align: center;
- }
- .table-box button {
- margin-right: 5px;
- }
- .stop-layer-box, .resubmit-layer-box, .delete-layer-box {
- line-height: 140px;
- text-align: center;
- }
- .resubmit-layer-box input {
- line-height: 20px;
- }
- .urge-layer-box {
- margin-top: 30px;
- margin-left: 30px;
- }
- .urge-layer-box textarea {
- margin-left: 15px;
- vertical-align: top;
- }
- .alert-msg {
- text-align: center;
- vertical-align: top;
- }
- </style>
- </head>
- <body>
- <div class="ims-box">
- <form action="<?php echo Yii::app()->createUrl('imsStore/transferList') ;?>" method="get">
- <div class="screen">
- <div class="diy_select select-type">
- <input type="hidden" id="itemsType" name="itemsType" class="diy_select_input" value="-1">
- <div class="diy_select_txt pm_type_txt">品目类型</div>
- <div class="diy_select_btn"></div>
- <ul class="diy_select_list pm_type" style="display: none;">
- <li val="-1">品目类型</li>
- <li val="2">产成品</li>
- <li val="3">低值易耗品</li>
- </ul>
- </div>
- <div class="diy_select select-item">
- <input type="hidden" id="itemId" name="itemId" class="diy_select_input" value="0">
- <div class="diy_select_txt pm_name_txt">品目名称</div>
- <div class="diy_select_btn"></div>
- <ul class="diy_select_list pm_name" id="item_list" style="display: none;">
- <!-- --><?php //foreach($itemList as $key => $value):?>
- <!-- <li val="--><?php //echo $value['itemId'];?><!--">--><?php //echo $value['itemName'];?><!--</li>-->
- <!-- --><?php //endforeach;?>
- </ul>
- </div>
- <div class="diy_select">
- <input type="hidden" id="transferType" name="transferType" class="diy_select_input" value="0">
- <div class="diy_select_txt pm_transfer_txt">转移类型</div>
- <div class="diy_select_btn"></div>
- <ul class="diy_select_list pm_transfer" style="display: none;">
- <li val="0">请选择</li>
- <li val="1">移入合格品</li>
- <li val="2">移入不合格品</li>
- </ul>
- </div>
- <button type="submit" class="label-primary-s bth-s">搜索</button>
- <button type="button" class="label-primary-s bth-s create-allocation">+新建转移</button>
- </div>
- </form>
- <div class="table-box ">
- <table id="record-table" class="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>
- <th>移库日期</th>
- <th>操作人</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <?php if ($list):?>
- <?php foreach($list as $value):?>
- <tr>
- <td ><?php echo $value['icCode'];?></td>
- <td ><?php echo empty($value['changeType']) ? '转入不合格品' : '转入合格品';?></td>
- <td><?php echo $value['storageName'];?></td>
- <td><?php echo $value['details'][0]['itemName'];?></td>
- <td><?php echo $value['itemTypeName'];?></td>
- <td><?php echo $value['details'][0]['changeNo'];?></td>
- <td><?php echo $value['details'][0]['unitName'];?></td>
- <td><?php echo date('Y-m-d',strtotime( $value['changeDate']));?></td>
- <td><?php echo $value['userName'];?></td>
- <td>
- </td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </tbody>
- </table>
- <?php if ($page): ?>
- <div class="col-sm-12">
- <ul class="pagination">
- <?php
- $params = array();
- if (isset($_GET['itemsType'])) {
- $params['itemsType'] = $_GET['itemsType'];
- }
- if (isset($_GET['itemId'])) {
- $params['itemId'] = $_GET['itemId'];
- }
- if (isset($_GET['transferType'])) {
- $params['transferType'] = $_GET['transferType'];
- }
- if (isset($_GET['page'])) {
- $params['page'] = $_GET['page'];
- }else{
- $params['page'] = 1;
- }
- echo formatPage($page, 'imsStore/transferlist', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <script src="/js/productset/jquery.min.js"></script>
- <script src="/js/ims/xsgl.js"></script>
- <script src="/js/ims/jquery.datetimepicker.js"></script>
- <link rel="stylesheet" type="text/css" href="/css/ims/jquery.datetimepicker.css"/>
- <?php include_once '_transferCommon.php'?>
- </body>
- </html>
|