mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 00:20:01 +08:00
187 lines
12 KiB
HTML
187 lines
12 KiB
HTML
<div class="animated fadeInRight ecommerce">
|
|
<div class="row">
|
|
<div class="col-md-1 padding-r-0">
|
|
<div class=" border-radius ">
|
|
<div class="margin-xs-r treeview attendance-staff">
|
|
<ul class="list-group text-center border-radius">
|
|
<li class="list-group-item node-orgTree "
|
|
v-for="(item,index) in allocationStorehouseManageInfo.states" :key="index"
|
|
@click="swatchState(item)"
|
|
:class="{'vc-node-selected':allocationStorehouseManageInfo.conditions.state == item.statusCd}">
|
|
{{item.name}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-11">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="查询条件" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;"></div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="row">
|
|
<div class="col-sm-2">
|
|
<div class="form-group">
|
|
<input type="text" class=" form-control"
|
|
:placeholder="vc.i18n('请输入申请人姓名','allocationStorehouseManage')"
|
|
v-model.trim="allocationStorehouseManageInfo.conditions.startUserName">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<select class="custom-select"
|
|
v-model="allocationStorehouseManageInfo.conditions.applyType">
|
|
<option selected value="">
|
|
{{vc.i18n('请选择类型','allocationStorehouseManage')}}
|
|
</option>
|
|
<option v-for="(item,index) in allocationStorehouseManageInfo.applyTypes"
|
|
:key="index" :value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<div class="form-group input-group">
|
|
<input type="text" class=" form-control startTime"
|
|
:placeholder="vc.i18n('请选择调拨开始时间','allocationStorehouseManage')"
|
|
v-model="allocationStorehouseManageInfo.conditions.startTime">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<div class="form-group input-group">
|
|
<input type="text" class=" form-control endTime"
|
|
:placeholder="vc.i18n('请选择调拨结束时间','allocationStorehouseManage')"
|
|
v-model="allocationStorehouseManageInfo.conditions.endTime">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_queryAllocationStorehouseMethod()">
|
|
<i class="fa fa-search"></i>
|
|
<span>
|
|
<vc:i18n name="查询" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</span>
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_resetAllocationStorehouseMethod()">
|
|
<i class="fa fa-repeat"></i>
|
|
<vc:i18n name="重置" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="调拨记录" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_openAllocationStorehouseApplyModal()">
|
|
<i class="fa fa-plus"></i>
|
|
<vc:i18n name="调拨" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportExcel()">
|
|
<i class="fa fa-download"></i>
|
|
<vc:i18n name="导出" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</button>
|
|
</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">
|
|
<vc:i18n name="编号" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="调拨/退还" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<!--<th class="text-center">
|
|
<vc:i18n name="申请人ID" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>-->
|
|
<th class="text-center">
|
|
<vc:i18n name="申请人" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="状态" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="类型" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="时间" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="操作" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="resourceStore in allocationStorehouseManageInfo.resourceStores">
|
|
<td class="text-center">{{resourceStore.applyId}}</td>
|
|
<td class="text-center">{{resourceStore.applyCount}}</td>
|
|
<!-- <td class="text-center">{{resourceStore.startUserId}}</td> -->
|
|
<td class="text-center">{{resourceStore.startUserName}}</td>
|
|
<td class="text-center">{{resourceStore.stateName}}</td>
|
|
<td class="text-center">{{resourceStore.applyTypeName}}</td>
|
|
<td class="text-center">{{resourceStore.createTime}}</td>
|
|
<td class="text-center">
|
|
<div class="btn-group"
|
|
v-if="resourceStore.state=='1200' && allocationStorehouseManageInfo.currentUserId == resourceStore.startUserId">
|
|
<button class="btn-white btn btn-xs"
|
|
v-on:click="_openDeleteResourceStoreModel(resourceStore)">
|
|
<vc:i18n name="取消调拨" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-on:click="_toDetail(resourceStore)">
|
|
<vc:i18n name="详情" namespace="allocationStorehouseManage"></vc:i18n>
|
|
|
|
</button>
|
|
</div>
|
|
<div class="btn-group" v-if="resourceStore.applyType=='10000'">
|
|
<button class="btn-white btn btn-xs"
|
|
v-on:click="_openRunWorkflowImage(resourceStore)">
|
|
<vc:i18n name="流程图" namespace="allocationStorehouseManage"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="10">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<div class="row margin-top-xs">
|
|
<div class="col-sm-9">
|
|
<div></div>
|
|
</div>
|
|
<div class="col-sm-3 float-right">
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<vc:create path="common/viewImage"></vc:create>
|
|
<vc:create path="common/allocationStorehouse"></vc:create>
|
|
<vc:create path="common/deleteStorehouseManage"></vc:create>
|
|
</div> |