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
db9e2f50
Commit
db9e2f50
authored
Jun 28, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品优化
parent
c470c961
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
bom.vue
pages/technology/productMix/product/bom.vue
+7
-3
bomAdd.vue
pages/technology/productMix/product/bomAdd.vue
+1
-1
index.vue
pages/technology/productMix/product/index.vue
+1
-0
No files found.
pages/technology/productMix/product/bom.vue
View file @
db9e2f50
...
@@ -104,7 +104,12 @@ export default {
...
@@ -104,7 +104,12 @@ export default {
};
};
},
},
props
:
{
props
:
{
eid
:
Number
eid
:
Number
,
parent
:
{
id
:
Number
,
parentName
:
String
,
ids
:
String
}
},
},
mounted
()
{
mounted
()
{
if
(
this
.
eid
>
0
)
{
if
(
this
.
eid
>
0
)
{
...
@@ -114,7 +119,7 @@ export default {
...
@@ -114,7 +119,7 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
Api
.
alltree
({
id
:
this
.
eid
}).
then
(
r
=>
{
Api
.
alltree
({
id
:
this
.
eid
,
levelId
:
this
.
parent
.
id
}).
then
(
r
=>
{
this
.
treeData
=
r
.
result
;
this
.
treeData
=
r
.
result
;
});
});
},
},
...
@@ -158,7 +163,6 @@ export default {
...
@@ -158,7 +163,6 @@ export default {
},
},
ok
()
{
ok
()
{
this
.
init
();
this
.
init
();
// this.load(this.eid);
this
.
modal
=
false
;
this
.
modal
=
false
;
this
.
curId
=
0
;
this
.
curId
=
0
;
},
},
...
...
pages/technology/productMix/product/bomAdd.vue
View file @
db9e2f50
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
this
.
disabled
=
false
;
this
.
disabled
=
false
;
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
this
.
$emit
(
"on-ok"
);
}
else
{
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
this
.
$Message
.
error
(
"保存失败"
);
}
}
...
...
pages/technology/productMix/product/index.vue
View file @
db9e2f50
...
@@ -292,6 +292,7 @@ export default {
...
@@ -292,6 +292,7 @@ export default {
},
},
bom
(
id
)
{
bom
(
id
)
{
this
.
curId
=
id
;
this
.
curId
=
id
;
this
.
title
=
"BOM"
;
this
.
title
=
"BOM"
;
this
.
detail
=
()
=>
import
(
"./bom"
);
this
.
detail
=
()
=>
import
(
"./bom"
);
this
.
modal
=
true
;
this
.
modal
=
true
;
...
...
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