mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
106 lines
4.6 KiB
HTML
106 lines
4.6 KiB
HTML
<div>
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="查询条件" namespace="productSj"></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" :placeholder="vc.i18n('请输入商品名称','productSj')"
|
|
v-model="productSjInfo.conditions.prodName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-1">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryProductMethod()">
|
|
<vc:i18n name="查询" namespace="productSj"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="上架商品" namespace="productSj"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_listProductsToDay()">
|
|
<i class="glyphicon glyphicon-plus"></i>
|
|
今日上架
|
|
</button>
|
|
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
|
v-on:click="_listProductsAll()"> <span>
|
|
<vc:i18n name="所有上架" namespace="productSj"></vc:i18n>
|
|
</span>
|
|
</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="商品ID" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="商品图片" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="商品分组" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="商品名称" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="销量" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="库存" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="价格" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="排序" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="状态" namespace="productSj"></vc:i18n>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="product in productSjInfo.products">
|
|
<td class="text-center">{{product.productId}}</td>
|
|
<td class="text-center">
|
|
<img style="width: 60px; height: 60px; border-radius: 5px;"
|
|
v-bind:src="product.coverPhoto"></img>
|
|
</td>
|
|
<td class="text-center">{{product.categoryName}}</td>
|
|
<td class="text-center">{{product.prodName}}</td>
|
|
<td class="text-center">{{product.sales}}</td>
|
|
<td class="text-center">{{product.stock}}</td>
|
|
<td class="text-center">{{product.defaultSpecValue.price}}</td>
|
|
<td class="text-center">{{product.sort}}</td>
|
|
<th class="text-center">{{product.stateName}}</th>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<vc:create path="common/deleteProduct"></vc:create>
|
|
|
|
|
|
</div> |