MicroCommunityWeb/public/pages/common/allocationStorehouseDetailed/allocationStorehouseDetailed.html

173 lines
9.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;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
v-on:click="_moreCondition()">
{{allocationStorehousesInfo.moreCondition == true?'隐藏':'更多'}}
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入调拨申请ID"
v-model="allocationStorehousesInfo.conditions.applyId"
class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<select class="custom-select" v-model="allocationStorehousesInfo.conditions.shIda">
<option selected value="">必填,请选择源仓库</option>
<option v-for="(item,index) in allocationStorehousesInfo.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="allocationStorehousesInfo.conditions.shIdz">
<option selected value="">必填,请选择目标仓库</option>
<option v-for="(item,index) in allocationStorehousesInfo.storehouses"
:key="index" v-bind:value="item.shId">
{{item.shName}}
</option>
</select>
</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>
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_resetAllocationStorehouseMethod()">
<i class="fa fa-repeat"></i> 重置
</button>
</div>
</div>
<div class="row" v-show="allocationStorehousesInfo.moreCondition == true">
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入申请人ID"
v-model="allocationStorehousesInfo.conditions.startUserId"
class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入物品ID"
v-model="allocationStorehousesInfo.conditions.resId"
class=" form-control">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<input type="text" placeholder="请输入物品名称"
v-model="allocationStorehousesInfo.conditions.resName"
class=" form-control">
</div>
</div>
</div>
<div class="row" v-show="allocationStorehousesInfo.moreCondition == true">
<div class="col-sm-3">
<div class="form-group">
<select class="custom-select" v-model="allocationStorehousesInfo.conditions.rstId" @change="_listResourceStoreSpecifications">
<option selected value="">请选择物品类型</option>
<option v-for="(item,index) in allocationStorehousesInfo.resourceStoreTypes" :key="index"
v-bind:value="item.rstId">
{{item.name}}
</option>
</select>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<select class="custom-select" v-model="allocationStorehousesInfo.conditions.rssId">
<option selected value="">请选择物品规格</option>
<option v-for="(item,index) in allocationStorehousesInfo.resourceStoreSpecifications" :key="index"
v-bind:value="item.rssId">
{{item.specName}}
</option>
</select>
</div>
</div>
<div class="col-sm-4">
<select class="custom-select" v-model="allocationStorehousesInfo.conditions.state">
<option selected value="">请选择调拨状态</option>
<option v-for="(item,index) in allocationStorehousesInfo.states" :key="index"
:value="item.statusCd">{{item.name}}
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>调拨明细</h5>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">调拨申请ID</th>
<th class="text-center">物品ID</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>
<th class="text-center">前仓库名称</th>
<th class="text-center">后仓库名称</th>
<th class="text-center">申请人ID</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 allocationStorehousesInfo.resourceStores">
<td class="text-center">{{resourceStore.applyId}}</td>
<td class="text-center">{{resourceStore.resId}}</td>
<td class="text-center">{{resourceStore.rstName ? resourceStore.rstName : '-'}}</td>
<td class="text-center">{{resourceStore.resName}}</td>
<td class="text-center">{{resourceStore.specName ? resourceStore.specName : '-'}}</td>
<td class="text-center">{{resourceStore.originalStock}}</td>
<td class="text-center">{{resourceStore.stock}}</td>
<td class="text-center">{{resourceStore.shaName}}</td>
<td class="text-center">{{resourceStore.shzName}}</td>
<td class="text-center">{{resourceStore.startUserId}}</td>
<td class="text-center">{{resourceStore.startUserName}}</td>
<td class="text-center">{{resourceStore.remark}}</td>
<td class="text-center">{{resourceStore.stateName}}</td>
<td class="text-center">{{resourceStore.createTime}}</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>
</div>