Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
2c439c19
Commit
2c439c19
authored
Sep 16, 2021
by
Damon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-1.5.0' into test
parents
ca963126
b4375778
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
addParts.vue
src/pages/parts/addParts.vue
+4
-3
No files found.
src/pages/parts/addParts.vue
View file @
2c439c19
...
...
@@ -272,6 +272,7 @@ export default {
this
.
scrollId
=
`brand
${
item
.
id
}
`
}
else
{
this
.
brandId
=
this
.
brand
?.[
0
]?.
id
this
.
scrollId
=
`brand
${
this
.
brandId
}
`
this
.
lists
=
[]
this
.
getThreeLevel
()
}
...
...
@@ -287,9 +288,9 @@ export default {
speciesId
:
''
}
if
(
this
.
classifyId
===
1
)
{
params
.
partnerCompanyId
=
this
.
brandId
params
.
partnerCompanyId
=
this
.
brandId
||
''
}
else
{
params
.
speciesId
=
this
.
brandId
params
.
speciesId
=
this
.
brandId
||
''
}
this
.
$u
.
api
.
getThreeLevel
(
params
).
then
(
res
=>
{
...
...
@@ -309,6 +310,7 @@ export default {
this
.
scrollModelId
=
`model
${
item
.
id
}
`
}
else
{
this
.
modelId
=
this
.
model
?.[
0
]?.
id
this
.
scrollModelId
=
`model
${
this
.
modelId
}
`
this
.
lists
=
[]
this
.
getPartsList
()
}
...
...
@@ -335,7 +337,6 @@ export default {
}
else
{
params
.
speciesId
=
this
.
brandId
||
''
}
this
.
$u
.
api
.
getPartsList
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
data
=
res
.
data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment