Authored by xuhongyun

fix bug

@@ -23,7 +23,8 @@ module.exports=function(app) { @@ -23,7 +23,8 @@ module.exports=function(app) {
23 action: 'INFOR', 23 action: 'INFOR',
24 moduleName: "网销信息", 24 moduleName: "网销信息",
25 pageName: "查看商品信息", 25 pageName: "查看商品信息",
26 - shopsId:req.session.user.auth.shopId 26 + shopsId:req.session.user.auth.shopId,
  27 + type:"info"
27 }; 28 };
28 return netsale; 29 return netsale;
29 }); 30 });
@@ -9,6 +9,12 @@ var ViewModel=window.ViewModel; @@ -9,6 +9,12 @@ var ViewModel=window.ViewModel;
9 window.NETSALEDATA=ViewModel.data||{}; 9 window.NETSALEDATA=ViewModel.data||{};
10 10
11 11
  12 +//如果是info页,所有input btn置灰
  13 +if ($('.contentpanel').data('type') == 'info') {
  14 + $('.contentpanel').find('input').prop('disabled', true);
  15 + $('.contentpanel').find('.btn').addClass('disabled');
  16 +}
  17 +
12 window.GOLABDATA = { 18 window.GOLABDATA = {
13 on: function(key, callback) { 19 on: function(key, callback) {
14 var that = this; 20 var that = this;