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
62e7d2ae
Commit
62e7d2ae
authored
Jun 30, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
youhua
parent
2bd0d929
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
api.js
pages/technology/productMix/product/api.js
+2
-2
bom.vue
pages/technology/productMix/product/bom.vue
+1
-1
No files found.
pages/technology/productMix/product/api.js
View file @
62e7d2ae
...
...
@@ -27,8 +27,8 @@ export default {
return
Api
.
post
(
`
${
technologyUrl
}
productinfo/updatebom`
,
params
);
},
deleteBom
(
id
){
return
Api
.
delete
(
`
${
technologyUrl
}
productinfo/deletebom`
,{
params
:{
id
:
id
}});
deleteBom
(
id
,
levelId
,
rootProductId
){
return
Api
.
delete
(
`
${
technologyUrl
}
productinfo/deletebom`
,{
params
:{
id
:
id
,
levelId
:
levelId
,
rootProductId
:
rootProductId
}});
},
materiallist
(
params
){
return
Api
.
post
(
`
${
systemUrl
}
/material/materiallist`
,
params
);
//物料
...
...
pages/technology/productMix/product/bom.vue
View file @
62e7d2ae
...
...
@@ -182,7 +182,7 @@ export default {
this
.
modal
=
true
;
},
remove
(
row
)
{
Api
.
deleteBom
(
row
.
bomId
).
then
(
r
=>
{
Api
.
deleteBom
(
row
.
bomId
,
row
.
levelId
,
row
.
rootProductId
).
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
init
();
this
.
$Message
.
success
(
"删除成功"
);
...
...
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