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
e1760448
Commit
e1760448
authored
Dec 12, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单关闭
parent
c827d6c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+18
-6
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
e1760448
...
...
@@ -832,18 +832,30 @@ export default {
workorderCode
:
v
.
workorderCode
,
checkState
:
1
}
))
closeCheck
(
params
).
then
(
res
=>
{
if
(
!
res
.
msg
)
{
closeCheck
(
params
).
then
(
async
res
=>
{
let
confirmRes
=
null
if
(
res
.
msg
)
{
confirmRes
=
await
this
.
$modal
.
confirm
(
res
.
msg
)
}
if
(
!
res
.
msg
||
confirmRes
===
'confirm'
)
{
params
.
forEach
(
vv
=>
{
vv
.
checkState
=
2
}
)
closeCheck
(
params
).
then
(
res
=>
{
if
(
!
res
.
msg
)
{
closeCheck
(
params
).
then
(
async
res
=>
{
let
confirmRes1
=
null
if
(
res
.
msg
)
{
confirmRes1
=
await
this
.
$modal
.
confirm
(
res
.
msg
)
}
if
(
!
res
.
msg
||
confirmRes1
===
'confirm'
)
{
params
.
forEach
(
vv
=>
{
vv
.
checkState
=
3
}
)
closeCheck
(
params
).
then
(
res
=>
{
if
(
!
res
.
msg
)
{
closeCheck
(
params
).
then
(
async
res
=>
{
let
confirmRes2
=
null
if
(
res
.
msg
)
{
confirmRes2
=
await
this
.
$modal
.
confirm
(
res
.
msg
)
}
if
(
!
res
.
msg
||
confirmRes2
===
'confirm'
)
{
this
.
$modal
.
confirm
(
'经检查,工单符合关闭条件,是否确认关闭工单?(注意:一经确认关闭,无法取消关闭。)'
).
then
(()
=>
{
this
.
$modal
.
confirm
(
'请再次确认是否关闭工单?(注意:一经确认关闭,无法取消关闭。)'
).
then
(()
=>
{
closeWorkorder
(
JSON
.
stringify
(
obj
)).
then
(({
data
}
)
=>
{
...
...
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