Authored by chenchao

fix viewModel value

@@ -14,7 +14,7 @@ module.exports = function (app){ @@ -14,7 +14,7 @@ module.exports = function (app){
14 } 14 }
15 }); 15 });
16 //促销编辑页 16 //促销编辑页
17 - app.get("/promotionInfo/edit/:brandId", "customService.promotion.Edit","promotion_getPromotionInfo", function (rs,req,res){ 17 + app.get("/promotionInfo/edit/:param", "customService.promotion.Edit","promotion_getPromotionInfo", function (rs,req,res){
18 this.$extend={ 18 this.$extend={
19 moduleName:"营销管理", 19 moduleName:"营销管理",
20 pageName:"促销编辑", 20 pageName:"促销编辑",
@@ -6,8 +6,8 @@ var $ = require('jquery'), @@ -6,8 +6,8 @@ var $ = require('jquery'),
6 /* 6 /*
7 * 获取业务数据 7 * 获取业务数据
8 */ 8 */
9 -window.NETSALEDATA= window.ViewModel.data;  
10 -console.log(window.NETSALEDATA); 9 +window.PromotionInfo=window.ViewModel.data;
  10 +console.log(window.PromotionInfo);
11 11
12 12
13 var ENUM = { 13 var ENUM = {