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
0
Merge Requests
0
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
5c68d5c2
Commit
5c68d5c2
authored
Jun 05, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改打印面单按钮功能
parent
7d9480ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/views/order/podUs/index.vue
+10
-5
No files found.
src/views/order/podUs/index.vue
View file @
5c68d5c2
...
...
@@ -950,6 +950,7 @@ import useLodop, { LODOPObject } from '@/utils/hooks/useLodop'
import
dayjs
from
'dayjs'
import
rightMenu
from
'../pod/rightMenu.vue'
import
ResultInfo
from
'./components/ResultInfo.vue'
import
{
isArray
,
isString
}
from
'@/utils/validate'
declare
global
{
interface
Window
{
ActiveXObject
:
{
...
...
@@ -1557,14 +1558,18 @@ const getOrderByIdApi = async (type: string) => {
type
:
'warning'
,
}
)
const
ids
=
selection
.
value
.
map
((
el
)
=>
el
.
id
)
// console.log(Fn)
if
(
Fn
)
{
const
res
=
await
Fn
(
ids
)
console
.
log
(
res
)
if
(
res
.
code
===
200
)
{
resultInfo
.
value
=
res
.
data
resultRefs
.
value
?.
showDialog
(
type
)
}
else
if
(
res
.
code
===
205
)
{
window
.
open
(
filePath
+
res
.
message
)
if
(
isArray
(
res
.
data
))
{
resultInfo
.
value
=
res
.
data
resultRefs
.
value
?.
showDialog
(
type
)
}
else
if
(
isString
(
res
.
data
))
{
window
.
open
(
filePath
+
res
.
data
)
}
}
else
{
ElMessage
.
error
(
res
.
message
)
}
...
...
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