supplierCoupon.html 2.8 KB
<script type="text/javascript" src='js/plugins/jquery.dataTables.min.js'></script>
<div class="pageheader notab">
    <h1 class="pagetitle">优惠券使用模块(列表以转化率降序排序)</h1>
    <span class="pagedesc">各店铺V商城优惠券领取情况及使用情况</span>
</div><!--pageheader-->
<paging>
<div id="contentwrapper" class="contentwrapper">
	<div class="contenttitle2">
		<h3>优惠券领取情况及使用情况</h3>
	</div>
	<div class="overviewhead" style="margin-bottom: 10px;">
		<div class="line">
			<div   style="display:inline-block">
				<label  class="label">商家名称:</label>
				<div class="input">
					<select type="text" ng-model="couponQuery.supplierId"    >
						<option value=''>&#45;&#45;请选择&#45;&#45;</option>
						<option ng-repeat="x in suppliers " value="{{x.id}}">{{x.name}}</option>
					</select>
				</div>
			</div>
			<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchSupplierCoupon()"><span>搜索</span></a>
		</div>
	</div>

	<!--contenttitle-->
	<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3">
		<thead>
			<tr align="center">
				<th class="head0">商铺ID</th>
				<th class="head0">商家名称</th>
				<th class="head0">优惠券数量</th>
				<th class="head0">领取数量</th>
				<th class="head0">使用数量(已支付)</th>
				<th class="head0">使用数量(未支付)</th>
				<th class="head0">转化率(使用数量/领取数量)</th>
				<th class="head0">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr class="gradeX" align="center" ng-repeat="coupon in supplierCoupons">
				<td>{{ coupon.supplierId}}</td>
				<td>{{ coupon.supplierName}}{{coupon.id}}</td>
				<td>{{ coupon.couponNum}}</td>
				<td>{{ coupon.receiveNum}}</td>
				<td>{{ coupon.payNum}}</td>
				<td>{{ coupon.notPayNum}}</td>
				<td>{{ coupon.conversionRate}}%</td>
				<td>
					<a class="btn_common btn_edit" href="#supplierCouponDetail/{{coupon.supplierId}}">明细</a><span class="btn_bewtton"></span>
				</td>
			</tr>
		</tbody>
	</table>
</div>
<div class="angular_pager" style="margin-left: 20px;">
	<ul class="pagination" num-pages="numPages" current-page="currentPage" on-select-page="selectPage(page)">
		<li ng-class="{disabled: noPrevious()}"> <a ng-click="selectPrevious()">&laquo;</a>
		</li>
		<li ng-repeat="page in pages" ng-class="{active: isActive(page)}"> <a ng-click="selectPage(page)">{{page}}</a>
		</li>
		<li ng-class="{disabled: noNext()}"> <a ng-click="selectNext()">&raquo;</a>
		</li>
		<li><span style="position: relative;top: 5px;margin-left: 10px;font-size: 14px;">共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b></span></li>
	</ul>
</div>
</paging>