Authored by chenchao

fix viewModel value

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