Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
616078f6
Commit
616078f6
authored
May 22, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
1e1c37e9
9a2e5c85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/views/order/podUs/index.vue
+4
-2
No files found.
src/views/order/podUs/index.vue
View file @
616078f6
...
...
@@ -1068,13 +1068,15 @@ const onFastProduction = () => {
const
downloadMaterial
=
async
()
=>
{
let
selectedIds
=
[]
if
(
status
.
value
===
'IN_PRODUCTION'
)
{
selectedIds
=
cardSelection
.
value
.
map
((
item
:
ProductList
)
=>
item
.
id
)
selectedIds
=
cardSelection
.
value
.
map
((
item
:
ProductList
)
=>
item
.
id
)
.
filter
((
id
):
id
is
number
=>
id
!==
undefined
)
}
else
{
selectedIds
=
selection
.
value
.
map
((
item
:
PodUsOrderListData
)
=>
item
.
productList
)
.
flat
()
.
map
((
e
)
=>
e
?.
id
)
.
filter
((
e
)
=>
e
!==
undefined
)
.
filter
((
id
):
id
is
number
=>
id
!==
undefined
)
}
if
(
selectedIds
.
length
===
0
)
{
return
ElMessage
({
...
...
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