promotionMoneyGift.html 1.9 KB
<script type="text/javascript" src='js/plugins/jquery.dataTables.min.js'></script>
<div class="pageheader notab">
	<h1 class="pagetitle">添加促销规则</h1>
	<span class="pagedesc">用于添加促销规则,并设置商品的相关属性()</span>
	<ul class="hornav">
        <li><a href="#addPromotion/{{promotionId}}/{{type}}">促销规则信息</a></li>
        <li class="current"><a href="javascript:void(0)">订单满送促销</a>
    </ul>
</div>
<div id="contentwrapper" class="contentwrapper">
	<div class="thumb"  ng-if="suppliersFlag == 1">
		<a class="btn btn2 btn_link" href="#addProductGift/{{promotionId}}" ng-if="type=='BuyProductPromostion'">
			<span>添加产品赠送促销</span>
		</a>
		<a class="btn btn2 btn_link" href="#addMoneyGift/{{promotionId}}" ng-if="type=='FullMoneyPromostion'">
			<span>添加订单满送促销</span>
		</a>
	</div>
	<div class="contenttitle2">
		<h3>促销规则</h3>
	</div>
	<!--contenttitle-->
	<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3">
		<thead>
			<tr align="center">
				<th class="head0">序号</th>
				<th class="head1">订单金额</th>
				<th class="head0">赠送产品名称</th>
				<th class="head0">赠送产品数量</th>
				<th class="head0">总赠送数量</th>
				<th class="head0">添加日期</th>
				<th class="head0">操作</th>
			</tr>
		</thead>
		<tbody ng-repeat="moneyGift in moneyGiftList">
			<tr class="gradeX" align="center">
				<td>{{$index+1}}</td>
				<td>{{ moneyGift.buyMoney}}</td>
				<td>{{ moneyGift.giftProductName}}</td>
				<td>{{ moneyGift.giftNum}}</td>
				<td>{{ moneyGift.giftTotal}}</td>
				<td>{{ moneyGift.createDate}}</td>
				<td  ng-if="suppliersFlag == 1">
					<a class="btn btn3 btn_trash" href="javascript:void(0)" ng-click="deleteMoneyGift(moneyGift.id)"></a>
				</td>
				<td  ng-if="suppliersFlag == 0"></td>
			</tr>
		</tbody>
	</table>
</div>