MicroCommunityWeb/public/pages/admin/allocationStorehouseAuditOrders/allocationStorehouseAuditOrders.html

84 lines
4.9 KiB
HTML

<div class=" animated fadeInRight ecommerce">
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>待办单</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">调度编号</th>
<th class="text-center">调拨数量</th>
<th class="text-center">申请人</th>
<th class="text-center">状态</th>
<th class="text-center">时间</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="auditOrder in allocationStorehouseAuditOrdersInfo.auditOrders">
<td class="text-center">{{auditOrder.applyId}}</td>
<td class="text-center">{{auditOrder.applyCount}}</td>
<td class="text-center">{{auditOrder.startUserName}}</td>
<td class="text-center">{{auditOrder.stateName}}</td>
<td class="text-center">{{auditOrder.createTime}}</td>
<td class="text-center">
<div v-if="allocationStorehouseAuditOrdersInfo.procure == false">
<div class="btn-group"
v-if="(auditOrder.state == 1200 || auditOrder.state == 1201)">
<!--allocationStorehouseAuditOrdersInfo.currentUserId != auditOrder.startUserId-->
<!--当前操作人UserId != 申请人userId-->
<button class="btn-white btn btn-xs"
v-on:click="_openAuditOrderModel(auditOrder)">审批
</button>
</div>
<div class="btn-group" v-else>
<button class="btn-white btn btn-xs"
v-on:click="_finishAuditOrder(auditOrder)">结束
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_toDetail(auditOrder)">详情
</button>
</div>
</div>
<div v-else>
<div class="btn-group" v-if="auditOrder.state == 1201">
<button class="btn-white btn btn-xs"
v-on:click="_openAuditOrderModel(auditOrder)">确认调拨
</button>
</div>
<div class="btn-group" v-else>
<button class="btn-white btn btn-xs"
v-on:click="_finishAuditOrder(auditOrder)">结束
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_toDetail(auditOrder)">详情
</button>
</div>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<vc:create path="common/audit" callBackListener="allocationStorehouseAuditOrders" callBackFunction="notifyAudit">
</vc:create>
</div>