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
70870700
Commit
70870700
authored
Jun 06, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
feat: 批次素材下载改为直接下载而非新窗口打开 See merge request
!205
parents
a18364fe
6a0ecb04
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/views/order/factoryOrderNew/component/BatchManageTable.vue
+9
-0
No files found.
src/views/order/factoryOrderNew/component/BatchManageTable.vue
View file @
70870700
...
...
@@ -487,7 +487,16 @@ const handleDownload = async (row: BatchManageData) => {
try
{
const
res
=
await
downloadBatchMaterialApi
(
row
.
id
,
type
)
if
(
res
.
code
!==
200
)
return
if
(
type
===
'tiff'
)
{
window
.
open
(
filePath
+
res
.
message
,
'_blank'
)
}
else
{
const
a
=
document
.
createElement
(
'a'
)
a
.
href
=
filePath
+
res
.
message
a
.
download
=
res
.
message
?.
split
(
'/'
).
pop
()
||
'download'
document
.
body
.
appendChild
(
a
)
a
.
click
()
document
.
body
.
removeChild
(
a
)
}
}
catch
(
e
)
{
console
.
error
(
e
)
}
finally
{
...
...
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