123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <!--退库-->
- <div class="ims-box">
- <form action="<?php echo Yii::app()->createUrl('imsStore/useOut',array('useOutType' => 'cancle')); ?>" method="get">
- <div class="screen clearfix">
- <div class="date">
- 订单号:<input type="text" id="inCode" name="inCode" class="inCode" value=""/>
- </div>
- <div class="diy_select select-itemId">
- <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 $key => $value): ?>
- <li val="<?php echo $value['itemId']; ?>"><?php echo $value['itemName']; ?></li>
- <?php endforeach; ?>
- </ul>
- </div>
- <div class="date">
- <span>退库时间:</span>
- <input type="text" readonly name="startDate" class="some_class" value="" id="some_class_1"/> --
- <input type="text" readonly name="endDate" class="some_class" value="" id="some_class_2"/>
- </div>
- <button type="submit" class="label-primary-s bth-s">搜索</button>
- <button type="button" class="label-primary-s bth-s cancle_out">取消发放</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>
- </tr>
- </thead>
- <tbody>
- <?php if (isset($pmDataList['list']) && $pmDataList['list']): ?>
- <?php foreach ($pmDataList['list'] as $key => $input):?>
- <tr>
- <td><?php echo $input['itemName']; ?></td>
- <td><?php echo $input['studentNo']; ?></td>
- <td><?php echo isset($input['studentNo']) ? $input['studentNo'] : ''; ?></td>
- <td><?php echo isset($input['orderNo']) ? $input['orderNo'] : ''; ?></td>
- <td><a href="<?php echo $this->createUrl('imsStore/deliveryOutView', array('inId' => $input['coId'])); ?>" class="get-btn" inId="<?php echo $input['coId'] ?>">查看</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['inCode']) && $_GET['inCode']) {
- $params['inCode'] = $_GET['inCode'];
- }
- 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;
- }
- $params['useOutType'] = 'out';
- echo formatPage($pmDataList, 'imsStore/useOut', $params);
- ?>
- </ul>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <!-- 关联正式订单弹层 -->
- <div class="layer-relate" style="display: none">
- <div class="layer-filter"></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>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- <div class="col-sm-12">
- <a href="#" class="prev">上一页</a>
- <span class="now_page">1</span>/<span class="last_page">1</span>
- <a href="#" class="next">下一页</a>
- <input type="hidden" name="inId" value="0">
- </div>
- </div>
|