Authored by chenchao

fix

@@ -239,10 +239,11 @@ var conditionEdit={ @@ -239,10 +239,11 @@ var conditionEdit={
239 common.util.__ajax2({url : "/promotion/setCondition", data:reqData},function(rs){ 239 common.util.__ajax2({url : "/promotion/setCondition", data:reqData},function(rs){
240 if(rs.code == 200){ 240 if(rs.code == 200){
241 common.util.__tip("保存成功!", "success"); 241 common.util.__tip("保存成功!", "success");
  242 + location.href = "/promotionInfo/edit/"+_g.promotionId;
242 }else{ 243 }else{
243 common.util.__tip(rs.message || rs.data.message); 244 common.util.__tip(rs.message || rs.data.message);
244 //location.reload(); 245 //location.reload();
245 - location.href = "/promotionInfo/edit/"+_g.promotionId; 246 +
246 } 247 }
247 },function(rs){ 248 },function(rs){
248 common.util.__tip("保存失败!", "warning"); 249 common.util.__tip("保存失败!", "warning");
@@ -301,10 +301,11 @@ var operationEdit={ @@ -301,10 +301,11 @@ var operationEdit={
301 common.util.__ajax2({url : _g.actionUrl, data:reqData},function(rs){ 301 common.util.__ajax2({url : _g.actionUrl, data:reqData},function(rs){
302 if(rs.code == 200){ 302 if(rs.code == 200){
303 common.util.__tip("保存成功!", "success"); 303 common.util.__tip("保存成功!", "success");
  304 + location.reload();
  305 + //location.href = "/promotionInfo/edit/"+_g.promotionId;
304 }else{ 306 }else{
305 common.util.__tip(rs.message || rs.data.message); 307 common.util.__tip(rs.message || rs.data.message);
306 - //location.reload();  
307 - location.href = "/promotionInfo/edit/"+_g.promotionId; 308 +
308 } 309 }
309 return false; 310 return false;
310 },function(rs){ 311 },function(rs){