Merge branch 'dev_link' into test6.5
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -424,6 +424,10 @@ $(document).on("click", "#save_brand", function () { | @@ -424,6 +424,10 @@ $(document).on("click", "#save_brand", function () { | ||
424 | var productLimit = $("textarea[name=\"productLimit\"]").val(); | 424 | var productLimit = $("textarea[name=\"productLimit\"]").val(); |
425 | if(productLimit){ | 425 | if(productLimit){ |
426 | couponBean.productLimit = productLimit; | 426 | couponBean.productLimit = productLimit; |
427 | + if(productLimit.indexOf(",")>-1){ | ||
428 | + common.util.__tip('指定商品请使用英文逗号', 'warning'); | ||
429 | + return false; | ||
430 | + } | ||
427 | } | 431 | } |
428 | if (e.validate()) { | 432 | if (e.validate()) { |
429 | delete couponBean.useRange; | 433 | delete couponBean.useRange; |
-
Please register or login to post a comment