Showing
3 changed files
with
4 additions
and
2 deletions
@@ -241,7 +241,7 @@ var conditionEdit={ | @@ -241,7 +241,7 @@ var conditionEdit={ | ||
241 | common.util.__tip("保存成功!", "success"); | 241 | common.util.__tip("保存成功!", "success"); |
242 | }else{ | 242 | }else{ |
243 | common.util.__tip(rs.message || rs.data.message); | 243 | common.util.__tip(rs.message || rs.data.message); |
244 | - location.reload(); | 244 | + //location.reload(); |
245 | location.href = "/promotionInfo/edit/"+_g.promotionId; | 245 | location.href = "/promotionInfo/edit/"+_g.promotionId; |
246 | } | 246 | } |
247 | },function(rs){ | 247 | },function(rs){ |
@@ -31,6 +31,7 @@ var limitEdit={ | @@ -31,6 +31,7 @@ var limitEdit={ | ||
31 | if (res.code == "200") { | 31 | if (res.code == "200") { |
32 | e.$tip("提交成功", function () { | 32 | e.$tip("提交成功", function () { |
33 | location.href = "/promotionInfo/edit/"+_g.promotionId; | 33 | location.href = "/promotionInfo/edit/"+_g.promotionId; |
34 | + return false; | ||
34 | }, 'growl-success'); | 35 | }, 'growl-success'); |
35 | } else { | 36 | } else { |
36 | e.$tip(res.message); | 37 | e.$tip(res.message); |
@@ -41,6 +42,7 @@ var limitEdit={ | @@ -41,6 +42,7 @@ var limitEdit={ | ||
41 | e.$tip(res.message); | 42 | e.$tip(res.message); |
42 | }; | 43 | }; |
43 | console.log(option.data); | 44 | console.log(option.data); |
45 | + return false; | ||
44 | }); | 46 | }); |
45 | return false; | 47 | return false; |
46 | 48 |
@@ -303,7 +303,7 @@ var operationEdit={ | @@ -303,7 +303,7 @@ var operationEdit={ | ||
303 | common.util.__tip("保存成功!", "success"); | 303 | common.util.__tip("保存成功!", "success"); |
304 | }else{ | 304 | }else{ |
305 | common.util.__tip(rs.message || rs.data.message); | 305 | common.util.__tip(rs.message || rs.data.message); |
306 | - location.reload(); | 306 | + //location.reload(); |
307 | location.href = "/promotionInfo/edit/"+_g.promotionId; | 307 | location.href = "/promotionInfo/edit/"+_g.promotionId; |
308 | } | 308 | } |
309 | return false; | 309 | return false; |
-
Please register or login to post a comment