Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes-ui
Commits
417e4ab0
Commit
417e4ab0
authored
Oct 10, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消编排
parent
7638654b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
arrange.js
src/api/mes/pro/arrange.js
+8
-0
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+2
-2
No files found.
src/api/mes/pro/arrange.js
View file @
417e4ab0
...
@@ -77,3 +77,11 @@ export function delArrange(arrangeId) {
...
@@ -77,3 +77,11 @@ export function delArrange(arrangeId) {
method
:
'delete'
method
:
'delete'
})
})
}
}
// 删除生产编排单
export
function
delArrange2
(
arrangeId
)
{
return
request
({
url
:
'/pro/arrange/arrangeCode/'
+
arrangeId
,
method
:
'delete'
})
}
src/views/mes/pro/workorder/indexApply.vue
View file @
417e4ab0
...
@@ -594,7 +594,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
...
@@ -594,7 +594,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import
{
getToken
}
from
"@/utils/auth"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
addCombination
,
batchAddCombination
,
batchAddCombinations
}
from
"@/api/mes/pro/combination"
;
import
{
addCombination
,
batchAddCombination
,
batchAddCombinations
}
from
"@/api/mes/pro/combination"
;
import
CombinationInfos
from
"@/views/mes/pro/combination/infos.vue"
;
import
CombinationInfos
from
"@/views/mes/pro/combination/infos.vue"
;
import
{
batchAddArrange
,
delArrange
}
from
"@/api/mes/pro/arrange"
;
import
{
batchAddArrange
,
delArrange
,
delArrange2
}
from
"@/api/mes/pro/arrange"
;
import
ArrangeInfo
from
"@/views/mes/pro/arrange/info.vue"
;
import
ArrangeInfo
from
"@/views/mes/pro/arrange/info.vue"
;
import
CommandList
from
"./commandList.vue"
;
import
CommandList
from
"./commandList.vue"
;
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
...
@@ -840,7 +840,7 @@ export default {
...
@@ -840,7 +840,7 @@ export default {
if
(
type
===
'del'
)
{
if
(
type
===
'del'
)
{
if
(
this
.
ids
.
length
===
0
)
return
this
.
$message
.
warning
(
'请勾选要取消编排的工单'
)
if
(
this
.
ids
.
length
===
0
)
return
this
.
$message
.
warning
(
'请勾选要取消编排的工单'
)
this
.
$modal
.
confirm
(
'确认取消编排?'
).
then
(()
=>
{
this
.
$modal
.
confirm
(
'确认取消编排?'
).
then
(()
=>
{
return
delArrange
(
this
.
ids
)
//执行报工
return
delArrange
2
(
this
.
ids
)
//执行报工
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
getList
();
this
.
getList
();
this
.
$modal
.
msgSuccess
(
"取消成功"
);
this
.
$modal
.
msgSuccess
(
"取消成功"
);
...
...
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