Authored by chenchao
... ... @@ -99,7 +99,9 @@
<select class="col-sm-1" name="operator" value="[[operator]]">
<option value=">" >大于</option>
<option value=">=">大于等于</option>
<!--
<option value="&lt;">小于</option>
-->
<option value="&lt;=">小于等于</option>
</select>&nbsp;
<input type="text" class="col-sm-2" name="value" value='[[ value ]]'/>&nbsp;
... ...
... ... @@ -8,10 +8,12 @@
<option value="Discount">打折</option>
<option value="Cashreduce">满减</option>
<option value="Gift">赠品</option>
<!--
<option value="Changeshippingfee">调整运费</option>
<option value="Vipfixeddiscount">VIP固定折扣</option>
<option value="Needpaygift">加价购</option>
<option value="Givecoupon">送优惠券</option>
-->
<option value="Needpaygift">加价购</option>
<option value="Degressdiscount">分件折扣</option>
<option value="Cheapestfree">满X免1</option>
<option value="SpecifiedAmount">X件X元</option>
... ...
... ... @@ -17,7 +17,8 @@ var operationEdit={
name:'discount',
display_name : '折扣',
type : 'text',
default_value : ''
default_value : '',
remark:"请使用小数,例如:0.85,表示85折"
}
]
},
... ...
... ... @@ -65,11 +65,13 @@ var conditionValidate={
}
conditions_l2=obj_l2["conditions"];
if(!conditions_l2||conditions_l2.length===0){
/*
if(errorMsg["NO."+key2]){
errorMsg["NO."+key2]=errorMsg["NO."+key2]+";"+"请添加品类、品牌、促销标记或特定商品!";
}else{
errorMsg["NO."+key2]="请添加品类、品牌、促销标记或特定商品!";
}
} */
continue;
}
//第三层中的conditions遍历校验
for(var key3 in conditions_l2){
... ...