Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
c8afa7216181fd21c28e7c6407f6a82ab34fde79
1 parent
c7c93ea7
erp增加shopId
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
app/pages/layout.vue
app/services/product-service.js
server/middleware/proxy.js
app/pages/layout.vue
View file @
c8afa72
...
...
@@ -73,7 +73,7 @@ body {
flex-flow: column;
.layout-breadcrumb {
padding: 10px 15px
0
;
padding: 10px 15px;
}
.layout-content {
...
...
app/services/product-service.js
View file @
c8afa72
...
...
@@ -69,8 +69,8 @@ const productService = {
_
.
each
(
sizeInfo
.
sizeRelationsList
,
rela
=>
{
let
references
=
_
.
split
(
rela
.
referenceName
,
'/'
);
rela
.
referenceNameA
=
references
[
0
];
rela
.
referenceNameB
=
references
[
1
];
rela
.
referenceNameA
=
references
[
0
]
||
''
;
rela
.
referenceNameB
=
references
[
1
]
||
''
;
});
return
result
.
data
.
data
.
list
[
0
];
}
...
...
server/middleware/proxy.js
View file @
c8afa72
...
...
@@ -51,6 +51,7 @@ module.exports = (req, res, next) => {
if
(
channel
===
'erp'
)
{
baseParams
=
{
pid
:
req
.
session
.
LOGIN_UID
,
shopId
:
currentShop
.
shopsId
,
platform_id
:
2
};
}
else
if
(
channel
===
'platform'
)
{
...
...
Please
register
or
login
to post a comment