MicroCommunityWeb/public/components/admin/chooseCouponDetail/chooseCouponDetail.html
2023-09-04 00:50:33 +08:00

75 lines
5.3 KiB
HTML

<div id = "chooseCouponDetailModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="chooseCouponDetailModelLabel" aria-hidden="true" >
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="chooseCouponDetailModelLabel"><span><vc:i18n name="选择商家购买记录表" namespace="chooseCouponDetail"></vc:i18n></span></h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="row">
<div class="col-sm-7 m-b-xs">
</div>
<div class="col-sm-5">
<div class="input-group">
<input :placeholder="vc.i18n('输入商家购买记录表名称','chooseCouponDetail')" type="text" v-model="chooseCouponDetailInfo._currentCouponDetailName" class="form-control form-control-sm">
<span class="input-group-append">
<button type="button" class="btn btn-sm btn-primary" v-on:click="queryCouponDetails()"><span><vc:i18n name="查询" namespace="chooseCouponDetail"></vc:i18n></span></button>
</span>
</div>
</div>
</div>
<div class="table-responsive" style="margin-top:15px">
<table class="table table-striped">
<thead>
<tr>
<th class="text-center"><span><vc:i18n name="商家购买记录表" namespace="chooseCouponDetail"></vc:i18n></span>ID</th>
<th class="text-center"><span><vc:i18n name="记录" namespace="chooseCouponDetail"></vc:i18n></span>ID</th>
<th class="text-center"><span><vc:i18n name="优惠券" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="店铺" namespace="chooseCouponDetail"></vc:i18n></span>ID</th>
<th class="text-center"><span><vc:i18n name="优惠券名称" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="面值" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="购买价格" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="付款金额" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="购买数量" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center"><span><vc:i18n name="有效期" namespace="chooseCouponDetail"></vc:i18n></span></th>
<th class="text-center">primary</th>
<th class="text-center"><span><vc:i18n name="操作" namespace="chooseCouponDetail"></vc:i18n></span></th>
</tr>
</thead>
<tbody>
<tr v-for="couponDetail in chooseCouponDetailInfo.couponDetails">
<td class="text-center">{{couponDetail.detailId}}</td>
<td class="text-center">{{couponDetail.detailId}}</td>
<td class="text-center">{{couponDetail.poolId}}</td>
<td class="text-center">{{couponDetail.shopId}}</td>
<td class="text-center">{{couponDetail.couponName}}</td>
<td class="text-center">{{couponDetail.actualPrice}}</td>
<td class="text-center">{{couponDetail.buyPrice}}</td>
<td class="text-center">{{couponDetail.amount}}</td>
<td class="text-center">{{couponDetail.buyCount}}</td>
<td class="text-center">{{couponDetail.validityDay}}</td>
<td class="text-center">{{couponDetail.primary}}</td>
<td>
<button class="btn btn-primary btn-xs" v-on:click="chooseCouponDetail(couponDetail)"><span><vc:i18n name="选择" namespace="chooseCouponDetail"></vc:i18n></span></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>