mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
157 lines
9.0 KiB
HTML
157 lines
9.0 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()">
|
|
{{myResourceStoreManageInfo.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="myResourceStoreManageInfo.conditions.resId" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入物品名称"
|
|
v-model="myResourceStoreManageInfo.conditions.resName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入物品编码"
|
|
v-model="myResourceStoreManageInfo.conditions.resCode" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_queryResourceStoreMethod()">
|
|
<i class="fa fa-search"></i> 查询
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-on:click="_resetResourceStoreMethod()">
|
|
<i class="fa fa-repeat"></i> 重置
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="row" v-show="myResourceStoreManageInfo.moreCondition == true">
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<select class="custom-select" v-model="myResourceStoreManageInfo.conditions.rstId"
|
|
@change="_listResourceStoreSpecifications">
|
|
<option selected value="">请选择物品类型</option>
|
|
<option v-for="(item,index) in myResourceStoreManageInfo.resourceStoreTypes"
|
|
:key="index" v-bind:value="item.rstId">
|
|
{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<select class="custom-select" v-model="myResourceStoreManageInfo.conditions.rssId">
|
|
<option selected value="">请选择物品规格</option>
|
|
<option v-for="(item,index) in myResourceStoreManageInfo.resourceStoreSpecifications"
|
|
:key="index" v-bind:value="item.rssId">
|
|
{{item.specName}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3" v-if="vc.hasPrivilege('502021071018550002')">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入用户ID"
|
|
v-model="myResourceStoreManageInfo.conditions.searchUserId"
|
|
class=" form-control">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" v-show="myResourceStoreManageInfo.moreCondition == true">
|
|
<div class="col-sm-3" v-if="vc.hasPrivilege('502021071018550002')">
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入用户名称"
|
|
v-model="myResourceStoreManageInfo.conditions.searchUserName"
|
|
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="_jump2ReturnGoodsPage()">
|
|
退还
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_jump2TransferGoodsPage()">
|
|
转赠
|
|
</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" v-if="vc.hasPrivilege('502021071018550002')">用户ID</th>
|
|
<th class="text-center" v-if="vc.hasPrivilege('502021071018550002')">用户名</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">收费标准</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="resourceStore in myResourceStoreManageInfo.resourceStores">
|
|
<td class="text-center" v-if="vc.hasPrivilege('502021071018550002')">
|
|
{{resourceStore.userId}}
|
|
</td>
|
|
<td class="text-center" v-if="vc.hasPrivilege('502021071018550002')">
|
|
{{resourceStore.userName}}
|
|
</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.resCode}}</td>
|
|
<td class="text-center">{{resourceStore.stock}}{{resourceStore.unitCodeName}}</td>
|
|
<td class="text-center">{{resourceStore.miniStock}}</td>
|
|
<td class="text-center">1{{resourceStore.unitCodeName}}={{resourceStore.miniUnitStock}}{{resourceStore.miniUnitCodeName}}</td>
|
|
<td class="text-center">{{resourceStore.outHighPrice == resourceStore.outLowPrice ? '¥' +
|
|
resourceStore.outLowPrice : '¥' + resourceStore.outLowPrice + '-¥' +
|
|
resourceStore.outHighPrice}}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="13">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |