Authored by xuhongyun

fix bug

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