Authored by 陈峰

erp增加shopId

@@ -73,7 +73,7 @@ body { @@ -73,7 +73,7 @@ body {
73 flex-flow: column; 73 flex-flow: column;
74 74
75 .layout-breadcrumb { 75 .layout-breadcrumb {
76 - padding: 10px 15px 0; 76 + padding: 10px 15px;
77 } 77 }
78 78
79 .layout-content { 79 .layout-content {
@@ -69,8 +69,8 @@ const productService = { @@ -69,8 +69,8 @@ const productService = {
69 _.each(sizeInfo.sizeRelationsList, rela => { 69 _.each(sizeInfo.sizeRelationsList, rela => {
70 let references = _.split(rela.referenceName, '/'); 70 let references = _.split(rela.referenceName, '/');
71 71
72 - rela.referenceNameA = references[0];  
73 - rela.referenceNameB = references[1]; 72 + rela.referenceNameA = references[0] || '';
  73 + rela.referenceNameB = references[1] || '';
74 }); 74 });
75 return result.data.data.list[0]; 75 return result.data.data.list[0];
76 } 76 }
@@ -51,6 +51,7 @@ module.exports = (req, res, next) => { @@ -51,6 +51,7 @@ module.exports = (req, res, next) => {
51 if (channel === 'erp') { 51 if (channel === 'erp') {
52 baseParams = { 52 baseParams = {
53 pid: req.session.LOGIN_UID, 53 pid: req.session.LOGIN_UID,
  54 + shopId: currentShop.shopsId,
54 platform_id: 2 55 platform_id: 2
55 }; 56 };
56 } else if (channel === 'platform') { 57 } else if (channel === 'platform') {