123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <!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/ims/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>
- .bg-green {
- background-color: #ccffcc !important;
- }
- .bg-yellow {
- background-color: #ffff99 !important;
- }
- .ims-box {
- margin: 20px;
- }
- .screen > div {
- float: left;
- margin-right: 30px;
- }
- .screen button {
- padding: 4px 12px;
- }
- .screen .time span {
- line-height: 30px;
- cursor: pointer;
- }
- .screen .time span.active, .screen .time span:hover {
- color: #0000FF;
- }
- .screen .date input {
- height: 30px;
- border-radius: 4px;
- border: 1px solid #ccc;
- box-shadow: none;
- text-indent: 10px;
- }
- .table-box {
- margin-top: 30px;
- }
- .table-box h1 {
- text-align: center;
- font-weight: bolder;
- color: #000;
- }
- .table-box .title span {
- display: inline-block;
- margin-right: 20px;
- }
- .table-box table,
- .table-box table th {
- text-align: center;
- }
- .table-box .table > thead > tr > td {
- vertical-align: middle;
- }
- </style>
- </head>
- <body>
- <div class="ims-box">
- <form id="form-data" action="<?php echo Yii::app()->createUrl('imsStore/account'); ?>" method="get">
- <div class="screen">
- <div class="diy_select select-type">
- <input type="hidden" id="itemsType" name="itemsType" class="diy_select_input" value="0">
- <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="0">固定资产</li>
- <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" style="display: none;">
- <li val="0">品目名称</li>
- <!-- --><?php //foreach ($itemList as $value): ?>
- <!-- <li val="--><?php //echo $value['itemId']; ?><!--">--><?php //echo $value['itemName']; ?><!--</li>-->
- <!-- --><?php //endforeach; ?>
- </ul>
- </div>
- <button type="submit" class="label-primary-s bth-s">查询</button>
- </div>
- </form>
- <div class="table-box">
- <table id="inventoryTable"
- 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>
- </tr>
- </thead>
- <tbody>
- <?php if ($list):?>
- <?php foreach($list as $value):?>
- <tr>
- <td ><?php echo date('Y-m-d',strtotime($value['outInDate']))?></td>
- <td ><?php echo $value['storageName'];?></td>
- <td><?php echo $value['itemName'];?></td>
- <td><?php echo $value['itemSpec'];?></td>
- <td><?php echo $value['description'];?></td>
- <td><?php echo $value['no'];?></td>
- <td><?php echo $value['unitName'];?></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['page'])) {
- $params['page'] = $_GET['page'];
- }else{
- $params['page'] = 1;
- }
- echo formatPage($page, 'imsStore/account', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <script src="/js/jquery-2.2.2.min.js"></script>
- <script src="/js/layer/layer.js"></script>
- <script src="/js/xsgl.js"></script>
- <?php include_once '_transferCommon.php'?>
- <script>
- </script>
- </body>
- </html>
|