Showing
3 changed files
with
9 additions
and
4 deletions
@@ -242,12 +242,13 @@ var conditionEdit={ | @@ -242,12 +242,13 @@ var conditionEdit={ | ||
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 | } | 246 | } |
246 | },function(rs){ | 247 | },function(rs){ |
247 | common.util.__tip("保存失败!", "warning"); | 248 | common.util.__tip("保存失败!", "warning"); |
248 | }); | 249 | }); |
249 | } | 250 | } |
250 | - | 251 | + return false; |
251 | }, | 252 | }, |
252 | /** | 253 | /** |
253 | * 品牌列表赋值 | 254 | * 品牌列表赋值 |
@@ -304,6 +304,7 @@ var operationEdit={ | @@ -304,6 +304,7 @@ var operationEdit={ | ||
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 | } | 308 | } |
308 | },function(rs){ | 309 | },function(rs){ |
309 | common.util.__tip("保存失败!", "warning"); | 310 | common.util.__tip("保存失败!", "warning"); |
@@ -173,11 +173,14 @@ var rejectPromotions={ | @@ -173,11 +173,14 @@ var rejectPromotions={ | ||
173 | location.href = "/promotionInfo/edit/"+_g.promotionId||""; | 173 | location.href = "/promotionInfo/edit/"+_g.promotionId||""; |
174 | } else { | 174 | } else { |
175 | common.util.__tip(res.message, "warning"); | 175 | common.util.__tip(res.message, "warning"); |
176 | - } | 176 | + } |
177 | + return false; | ||
177 | }, | 178 | }, |
178 | function (res) { | 179 | function (res) { |
179 | - common.util.__tip(res.message, "warning"); | ||
180 | - }); | 180 | + common.util.__tip(res.message, "warning"); |
181 | + return false; | ||
182 | + }); | ||
183 | + return false; | ||
181 | } | 184 | } |
182 | } | 185 | } |
183 | 186 |
-
Please register or login to post a comment