Authored by chenchao

fix

... ... @@ -239,10 +239,11 @@ var conditionEdit={
common.util.__ajax2({url : "/promotion/setCondition", data:reqData},function(rs){
if(rs.code == 200){
common.util.__tip("保存成功!", "success");
location.href = "/promotionInfo/edit/"+_g.promotionId;
}else{
common.util.__tip(rs.message || rs.data.message);
//location.reload();
location.href = "/promotionInfo/edit/"+_g.promotionId;
}
},function(rs){
common.util.__tip("保存失败!", "warning");
... ...
... ... @@ -301,10 +301,11 @@ var operationEdit={
common.util.__ajax2({url : _g.actionUrl, data:reqData},function(rs){
if(rs.code == 200){
common.util.__tip("保存成功!", "success");
location.reload();
//location.href = "/promotionInfo/edit/"+_g.promotionId;
}else{
common.util.__tip(rs.message || rs.data.message);
//location.reload();
location.href = "/promotionInfo/edit/"+_g.promotionId;
}
return false;
},function(rs){
... ...