Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
65ffb6d4
Commit
65ffb6d4
authored
May 22, 2024
by
15008242619
Committed by
jingnan
May 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库单退库入库bug修改
parent
3ab96b2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
24 deletions
+35
-24
index.vue
...-mes/src/privateComponents/components/backApply/index.vue
+19
-13
index.vue
...task-center/myPlanTask/inStorageUseOutBackApply/index.vue
+16
-11
No files found.
applications/dee-mes/src/privateComponents/components/backApply/index.vue
View file @
65ffb6d4
...
@@ -190,6 +190,7 @@ export default {
...
@@ -190,6 +190,7 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
})
})
}
else
{
}
else
{
this
.
setPersonVisible
=
false
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的领用退库和配套退库不能一起提交'
)
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的领用退库和配套退库不能一起提交'
)
}
}
})
})
...
@@ -204,6 +205,7 @@ export default {
...
@@ -204,6 +205,7 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
})
})
}
else
{
}
else
{
this
.
dialogVisible
=
false
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的不能与其他退库类型一起提交'
)
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的不能与其他退库类型一起提交'
)
}
}
},
},
...
@@ -215,19 +217,23 @@ export default {
...
@@ -215,19 +217,23 @@ export default {
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
this
.
selectionRows
.
forEach
(
item
=>
item
.
inStorageRequestItems
.
forEach
(
i
=>
ids
.
push
(
i
.
id
)))
this
.
selectionRows
.
forEach
(
item
=>
item
.
inStorageRequestItems
.
forEach
(
i
=>
ids
.
push
(
i
.
id
)))
}
}
post
(
'/InStorageRequestItem/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
if
(
this
.
form
.
userIds
&&
this
.
form
.
userIds
.
length
!==
0
)
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
post
(
'/InStorageRequestItem/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
setTimeout
(()
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
setTimeout
(()
=>
{
},
1500
)
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
}).
catch
(
err
=>
{
},
1500
)
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
finally
(()
=>
{
console
.
log
(
err
)
this
.
dialogVisible
=
false
}).
finally
(()
=>
{
this
.
setPersonVisible
=
false
this
.
dialogVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
this
.
setPersonVisible
=
false
})
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
})
}
else
{
this
.
$utils
.
showMessageWarning
(
'请选择工艺员'
)
}
},
},
setPersonCancle
()
{
setPersonCancle
()
{
this
.
setPersonVisible
=
false
this
.
setPersonVisible
=
false
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/inStorageUseOutBackApply/index.vue
View file @
65ffb6d4
...
@@ -187,6 +187,7 @@ export default {
...
@@ -187,6 +187,7 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
})
})
}
else
{
}
else
{
this
.
setPersonVisible
=
false
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的领用退库和配套退库不能一起提交'
)
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的领用退库和配套退库不能一起提交'
)
}
}
})
})
...
@@ -200,6 +201,7 @@ export default {
...
@@ -200,6 +201,7 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
})
})
}
else
{
}
else
{
this
.
dialogVisible
=
false
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的不能与其他退库类型一起提交'
)
this
.
$utils
.
showMessageWarning
(
'退库原因为退库单退库的不能与其他退库类型一起提交'
)
}
}
},
},
...
@@ -208,20 +210,23 @@ export default {
...
@@ -208,20 +210,23 @@ export default {
},
},
setPersonConfirm
()
{
setPersonConfirm
()
{
let
ids
=
[]
let
ids
=
[]
console
.
log
(
this
.
selectionRows
)
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
ids
=
this
.
selectionRows
.
map
(
item
=>
item
.
processTaskId
)
ids
=
this
.
selectionRows
.
map
(
item
=>
item
.
processTaskId
)
}
}
post
(
'/InStorageRequestItem/creator/applyByItems?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
if
(
this
.
form
.
userIds
&&
this
.
form
.
userIds
.
length
!==
0
)
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
post
(
'/InStorageRequestItem/creator/applyByItems?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
}).
catch
(()
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
catch
(()
=>
{
}).
finally
(()
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
this
.
dialogVisible
=
false
}).
finally
(()
=>
{
this
.
setPersonVisible
=
false
this
.
dialogVisible
=
false
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
this
.
setPersonVisible
=
false
})
this
.
$set
(
this
.
form
,
'userIds'
,
''
)
})
}
else
{
this
.
$utils
.
showMessageWarning
(
'请选择工艺员'
)
}
},
},
setPersonCancle
()
{
setPersonCancle
()
{
this
.
setPersonVisible
=
false
this
.
setPersonVisible
=
false
...
...
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