Authored by chenchao

rename file and function

@@ -2,16 +2,16 @@ @@ -2,16 +2,16 @@
2 var $ = require('jquery'), 2 var $ = require('jquery'),
3 common = require('../../../common/common'); 3 common = require('../../../common/common');
4 //require('../util/custom.js'); 4 //require('../util/custom.js');
5 -require('./fragement/editPromotions'); 5 +var _promotionEdit=require('./fragement/rejectPromotions');
  6 +
6 7
7 -//var _promotionEdit=  
8 8
9 /* 9 /*
10 * 获取业务数据 10 * 获取业务数据
11 */ 11 */
12 window.NETSALEDATA= window.ViewModel.data; 12 window.NETSALEDATA= window.ViewModel.data;
13 console.log(window.NETSALEDATA); 13 console.log(window.NETSALEDATA);
14 -console.log("aaaaaaaaaaaaaaaa"); 14 +
15 15
16 var ENUM = { 16 var ENUM = {
17 status: { 17 status: {
1 var $ = require('jquery'), 1 var $ = require('jquery'),
2 common = require('../../../../common/common'); 2 common = require('../../../../common/common');
3 -console.log("promotionEdit in");  
4 -// var promotionEdit={ 3 +console.log("rejectPromotions in");
  4 +// var rejectPromotions={
5 // batchIds:[], 5 // batchIds:[],
6 // buildCheckboxHtml:function(_class,_data_index,_checked){ 6 // buildCheckboxHtml:function(_class,_data_index,_checked){
7 // var _checkBox="<input type='checkbox'"; 7 // var _checkBox="<input type='checkbox'";
@@ -195,4 +195,6 @@ console.log("promotionEdit in"); @@ -195,4 +195,6 @@ console.log("promotionEdit in");
195 // } 195 // }
196 // } 196 // }
197 197
198 -// //module.exports = promotionEdit;  
  198 +var rejectPromotions = {};
  199 +
  200 +module.exports = rejectPromotions;