Authored by chenchao

fix tip

... ... @@ -305,10 +305,12 @@ var operationEdit={
common.util.__tip(rs.message || rs.data.message);
location.reload();
location.href = "/promotionInfo/edit/"+_g.promotionId;
}
}
return false;
},function(rs){
common.util.__tip("保存失败!", "warning");
});
});
return false;
},
validate:function(_reqData){
if(!_reqData || !_reqData.promotionType){
... ...
... ... @@ -169,7 +169,7 @@ var rejectPromotions={
};
common.util.__ajax2(_options,function (res) {
if (res.code == "200") {
common.util.__tip("提交成功", "growl-success");
common.util.__tip("提交成功", "success");
location.href = "/promotionInfo/edit/"+_g.promotionId||"";
} else {
common.util.__tip(res.message, "warning");
... ...