|
|
var $ = require('jquery'),
|
|
|
common = require('../common/common');
|
|
|
common = require('../common/common'),
|
|
|
util = require('../common/util');
|
|
|
|
|
|
|
|
|
new common.dropDown({el: "#subject-type"});
|
...
|
...
|
@@ -118,12 +119,14 @@ var $ = require('jquery'), |
|
|
option.data.promotionName = $("#promotionName5").val() + "%Off";
|
|
|
}
|
|
|
|
|
|
option.success=function(){
|
|
|
option.success=function(res){
|
|
|
dialog.close();
|
|
|
util.__tip(res.data.message, 'success');
|
|
|
g.reload();
|
|
|
};
|
|
|
option.error=function(){
|
|
|
option.error=function(res){
|
|
|
dialog.close();
|
|
|
util.__tip(res.data.message);
|
|
|
}
|
|
|
});
|
|
|
return false;
|
...
|
...
|
|