Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
f0982b31
Commit
f0982b31
authored
Jul 01, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bom
parent
426fa66f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
bom.vue
pages/technology/productMix/product/bom.vue
+7
-4
index.vue
pages/technology/productMix/product/index.vue
+3
-1
No files found.
pages/technology/productMix/product/bom.vue
View file @
f0982b31
...
...
@@ -139,7 +139,8 @@ export default {
parents
:
{
id
:
Number
,
parentName
:
String
,
ids
:
String
ids
:
String
,
bomId
:
Number
}
},
mounted
()
{
...
...
@@ -150,9 +151,11 @@ export default {
},
methods
:
{
init
()
{
Api
.
alltree
({
id
:
this
.
eid
,
levelId
:
this
.
parents
.
id
}).
then
(
r
=>
{
this
.
treeData
=
r
.
result
;
});
Api
.
alltree
({
id
:
this
.
parents
.
bomId
,
levelId
:
this
.
parents
.
id
}).
then
(
r
=>
{
this
.
treeData
=
r
.
result
;
}
);
},
add
(
row
)
{
this
.
curId
=
row
.
id
;
...
...
pages/technology/productMix/product/index.vue
View file @
f0982b31
...
...
@@ -93,7 +93,8 @@ export default {
parent
:
{
id
:
Number
,
parentName
:
String
,
ids
:
String
ids
:
String
,
bomId
:
Number
,
}
},
data
()
{
...
...
@@ -303,6 +304,7 @@ export default {
},
bom
(
row
)
{
this
.
curId
=
row
.
id
;
this
.
parent
.
bomId
=
row
.
bomId
;
this
.
parent
.
id
=
row
.
levelId
;
this
.
parent
.
parentName
=
row
.
levelTitle
;
this
.
title
=
"BOM"
;
...
...
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