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
eda07265
Commit
eda07265
authored
Jun 29, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bom
parent
929cf7a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
bom.vue
pages/technology/productMix/product/bom.vue
+3
-0
bomAdd.vue
pages/technology/productMix/product/bomAdd.vue
+5
-3
bomEdit.vue
pages/technology/productMix/product/bomEdit.vue
+2
-1
No files found.
pages/technology/productMix/product/bom.vue
View file @
eda07265
...
...
@@ -157,6 +157,7 @@ export default {
this
.
curId
=
row
.
id
;
this
.
parents
.
id
=
row
.
levelId
;
this
.
parents
.
parentName
=
row
.
levelTitle
;
this
.
parents
.
rootProductId
=
row
.
rootProductId
;
this
.
title
=
"新增"
;
this
.
detail
=
()
=>
import
(
"./bomAdd"
);
this
.
modal
=
true
;
...
...
@@ -166,6 +167,7 @@ export default {
this
.
curId
=
this
.
entity
.
id
;
this
.
parents
.
id
=
this
.
entity
.
levelId
;
this
.
parents
.
parentName
=
this
.
entity
.
levelTitle
;
this
.
parents
.
rootProductId
=
this
.
entity
.
rootProductId
;
this
.
title
=
"新增"
;
this
.
detail
=
()
=>
import
(
"./bomAdd"
);
this
.
modal
=
true
;
...
...
@@ -174,6 +176,7 @@ export default {
this
.
curId
=
row
.
id
;
this
.
parents
.
id
=
row
.
levelId
;
this
.
parents
.
parentName
=
row
.
levelTitle
;
this
.
parents
.
rootProductId
=
row
.
rootProductId
;
this
.
title
=
"编辑"
;
this
.
detail
=
()
=>
import
(
"./bomEdit"
);
this
.
modal
=
true
;
...
...
pages/technology/productMix/product/bomAdd.vue
View file @
eda07265
...
...
@@ -49,7 +49,8 @@ export default {
entity
:
{
upId
:
this
.
eid
,
levelId
:
this
.
parents
.
id
,
levelTitle
:
this
.
parents
.
parentName
levelTitle
:
this
.
parents
.
parentName
,
rootProductId
:
this
.
parents
.
rootProductId
},
dataList
:
[],
downUrl
:
fileUrlDown
,
...
...
@@ -74,14 +75,15 @@ export default {
parents
:
{
id
:
Number
,
parentName
:
String
,
ids
:
String
ids
:
String
,
rootProductId
:
Number
}
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
created
()
{
this
.
getTree
();
this
.
getTree
();
},
methods
:
{
getTree
()
{
...
...
pages/technology/productMix/product/bomEdit.vue
View file @
eda07265
...
...
@@ -69,7 +69,8 @@ export default {
parents
:
{
id
:
Number
,
parentName
:
String
,
ids
:
String
ids
:
String
,
rootProductId
:
Number
,
}
},
async
fetch
({
store
,
params
})
{
...
...
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