MicroCommunityWeb/public/pages/common/allocationStorehouseManage/allocationStorehouseManage.html
2021-04-29 23:26:24 +08:00

125 lines
6.6 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;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
v-on:click="_moreCondition()">
{{allocationStorehouseManageInfo.moreCondition == true?'隐藏':'更多'}}
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<select class="custom-select" v-model="allocationStorehouseManageInfo.conditions.shIda">
<option selected value="">必填,请选择源仓库</option>
<option v-for="(item,index) in allocationStorehouseManageInfo.storehouses"
:key="index" v-bind:value="item.shId">
{{item.shName}}
</option>
</select>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<select class="custom-select" v-model="allocationStorehouseManageInfo.conditions.shIdz">
<option selected value="">必填,请选择目标仓库</option>
<option v-for="(item,index) in allocationStorehouseManageInfo.storehouses"
:key="index" v-bind:value="item.shId">
{{item.shName}}
</option>
</select>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入物品名称"
v-model="allocationStorehouseManageInfo.conditions.resName"
class=" form-control">
</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> 查询
</button>
</div>
</div>
<div class="row">
<div class="col-sm-3" v-if="allocationStorehouseManageInfo.moreCondition == true">
<div class="form-group">
<input type="text" placeholder="请输入物品编码"
v-model="allocationStorehouseManageInfo.conditions.resCode"
class=" form-control">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>调拨记录</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>申请调拨
</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">调度编号</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="resourceStore in allocationStorehouseManageInfo.resourceStores">
<td class="text-center">{{resourceStore.applyId}}</td>
<td class="text-center">{{resourceStore.applyCount}}</td>
<td class="text-center">{{resourceStore.startUserName}}</td>
<td class="text-center">{{resourceStore.stateName}}</td>
<td class="text-center">{{resourceStore.createTime}}</td>
<td class="text-center">
<div class="btn-group" v-if="resourceStore.state==1201">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteResourceStoreModel(resourceStore)">取消调拨
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_toDetail(resourceStore)">详情
</button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="10">
<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/allocationStorehouse"></vc:create>
<vc:create path="common/deleteStorehouseManage"></vc:create>
</div>