addMoneyGift.html 3.4 KB
<!--pageheader-->
<style>
	form select{min-width: 0;}
</style>
<div class="pageheader notab">
	<h1 class="pagetitle">添加促销规则</h1>
	<span class="pagedesc">用于添加促销规则,并设置商品的相关属性()</span>
	<ul class="hornav">
        <li><a href="#addPromotion/{{promotionId}}/FullMoneyPromostion">促销规则信息</a></li>
        <li class="current"><a href="javascript:void(0)">订单满送促销</a>
    </ul>
</div>
<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">
					<input type="text" id="firstname2" class="longinput" name="name"
					ng-model="editMoneyGiftInfo.buyMoney" ng-value="{{editMoneyGiftInfo.buyMoney}}" style="width: 200px;"/>
				</span>
			</p>
			<p>
				<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>
				<label>每次赠送产品数量</label>
				<span class="field">
					<input type="text" id="firstname2" class="longinput" name="giftNum"
					ng-model="editMoneyGiftInfo.giftNum" ng-value="{{editMoneyGiftInfo.giftNum}}" style="width: 150px;"/>
				</span>
			</p>
			<!--<p>
				<label>赠送产品总库存</label>
				<span class="field">
					<input type="text" id="firstname2" class="longinput" name="giftTotal"
					ng-model="editMoneyGiftInfo.giftTotal" ng-value="{{editMoneyGiftInfo.giftTotal}}" style="width: 150px;"/>
				</span>
			</p>-->
			<p>
				<label>促销状态</label> <span class="field">
				<select ng-model="editMoneyGiftInfo.status" id="selection2" style="width: 150px;">
						<option value='0' selected="selected">未生效 </option>
						<option value='1' >激活</option>
						<option value="2" >已结束</option>
					</select>
				</span>
			</p>
			<p class="stdformbutton">
				<button class="submit radius2" ng-click="onSubmitMoneyGift()">保存</button>
				<input type="reset" class="reset radius2" value="关闭" ng-click="closeNgDialog()"/>
			</p>
		</form>
		<br />
	</div>
	<!--subcontent-->
</div>
<!--contentwrapper-->