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
b7cabf0e
Commit
b7cabf0e
authored
Apr 09, 2024
by
15008242619
Committed by
jingnan
May 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库单退库优化
parent
96c73d8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
index.vue
...-mes/src/privateComponents/components/backApply/index.vue
+9
-8
No files found.
applications/dee-mes/src/privateComponents/components/backApply/index.vue
View file @
b7cabf0e
...
@@ -140,7 +140,6 @@ export default {
...
@@ -140,7 +140,6 @@ export default {
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
},
},
confirm
()
{
confirm
()
{
console
.
log
(
this
.
selectionRows
)
let
isTkdBack
=
0
let
isTkdBack
=
0
this
.
selectionRows
.
forEach
(
item
=>
{
this
.
selectionRows
.
forEach
(
item
=>
{
if
(
item
.
remark
!==
'退库单退库'
)
{
if
(
item
.
remark
!==
'退库单退库'
)
{
...
@@ -155,7 +154,7 @@ export default {
...
@@ -155,7 +154,7 @@ export default {
post
(
'/InventoryRequest/purchaseApply/submit?applyIds='
+
this
.
selectionRows
.
map
(
item
=>
Number
(
item
.
id
))).
then
(
res
=>
{
post
(
'/InventoryRequest/purchaseApply/submit?applyIds='
+
this
.
selectionRows
.
map
(
item
=>
Number
(
item
.
id
))).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
}).
catch
(
()
=>
{
}).
catch
(
err
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
}).
finally
(()
=>
{
}).
finally
(()
=>
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
...
@@ -168,16 +167,18 @@ export default {
...
@@ -168,16 +167,18 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
setPersonConfirm
()
{
setPersonConfirm
()
{
let
ids
=
[]
const
ids
=
[]
console
.
log
(
this
.
selectionRows
)
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
if
(
this
.
selectionRows
&&
this
.
selectionRows
.
length
)
{
ids
=
this
.
selectionRows
.
map
(
item
=>
item
.
id
)
this
.
selectionRows
.
map
(
item
=>
item
.
inStorageRequestItems
.
map
(
i
=>
ids
.
push
(
i
.
id
))
)
}
}
post
(
'/InStorageRequestItem/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
post
(
'/InStorageRequestItem/creator/apply?userIds='
+
this
.
form
.
userIds
,
ids
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
this
.
$utils
.
showMessageSuccess
(
'提交成功'
)
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
setTimeout
(()
=>
{
}).
catch
(()
=>
{
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
this
.
$utils
.
showMessageWrong
(
'出现异常,提交失败'
)
},
1500
)
}).
catch
(
err
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,提交失败'
)
console
.
log
(
err
)
}).
finally
(()
=>
{
}).
finally
(()
=>
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
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