addFullCutCouponLimit.html 3.0 KB
<style>
	form select{min-width: 0;}
</style>
<div class="pageheader notab">
	<h1 class="pagetitle">添加满减优惠券信息</h1>
	<span class="pagedesc">用于添加满减优惠券信息,并设置相关满减优惠券规则</span>
	<ul class="hornav">
        <li class="current"><a href="javascript:void(0)">满减优惠券信息</a></li>
    </ul>
</div>
<!--pageheader-->
<div id="contentwrapper" class="contentwrapper">
	<div id="basicform" class="subcontent">
		<div class="contenttitle2">
			<h3>满减优惠券信息表单</h3>
		</div>
		<!--contenttitle-->
		<form class="stdform stdform2" method="post" action="javascript:void(0);">
			<p>
				<label>优惠券范围</label>
				<span class="field">
					<select name="typeId" id="selection2" style="width: 150px;" ng-model="productRangeObj" ng-change="selectProductRange()"
							ng-options="range.text for range in productRanges">
						<option value=''>--选择优惠券范围--</option>
					</select>
					<span style="color: red;">(优惠券范围不能为空)</span>
				</span>
			</p>
			<p ng-show="coupon.fullCutRange == 1">
				<label>选择专场</label>
				<span class="field">
					<select name="selection" id="selection2"
							ng-model="campaginCategory"
							ng-options="campagincategory.name for campagincategory in campaginCategorys">
						<option value="">--选择商品专场--</option>
					</select>
				</span>
			</p>
			<p ng-show="coupon.fullCutRange == 2">
				<label>选择商品</label>
				<span class="field">
					<select name="selection" id="selection2"
							ng-change="onChangeCategoryId()"
							ng-model="parentCategoryObj"
							ng-options="category.name for category in parentCategory" style="width: 120px;">
							<option value="">--选择商品分类--</option>
						</select>
						<select name="selection" id="selection2"
								ng-change="onChangeChildCategory()"
								ng-model="childrenCategoryObj"
								ng-options="childcategory.name for childcategory in childrenCategory" style="width: 160px;">
								<option value="">--选择商品二级分类--</option>
						</select>
						<select name="selection" id="selection2"
								ng-change="onChangeSecondChildCategory()"
								ng-model="secondChildrenCategoryObj"
								ng-options="childcategory.name for childcategory in secondChildrenCategory" style="width: 200px;">
								<option value="">--选择商品三级分类--</option>
						</select>

						<select name="selection" id="selection2"
								ng-change="onChangeProduct()"
								ng-model="productObj"
								ng-options="product.name for product in productList" style="width: 280px;">
								<option value="">--选择商品--</option>
						</select>
				</span>
			</p>
			<p class="stdformbutton">
				<button class="submit radius2" ng-click="onSubmitFullCutCouponLimit()">提交</button>
				<button class="reset radius2" onClick="javascript: history.go(-1);" style="background-color: #c0c0c0; border:1px solid #c0c0c0; margin-left:20px;">返回</button>
			</p>
		</form>
		<br />
	</div>
	<!--subcontent-->
</div>
<!--contentwrapper-->