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
f1499cf6
Commit
f1499cf6
authored
Sep 08, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 打印生产单bug修复
parent
11b50b9b
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 @
f1499cf6
...
...
@@ -382,7 +382,7 @@
</ElButton>
</span> -->
<span
class=
"item"
>
<ElButton
type=
"primary"
@
click=
"printProductionOrder(null)"
>
<ElButton
type=
"primary"
@
click=
"printProductionOrder(
2,
null)"
>
打印生产单
</ElButton>
</span>
...
...
@@ -1291,7 +1291,7 @@
size=
"small"
type=
"success"
style=
"height: 23px"
@
click=
"printProductionOrder(item)"
@
click=
"printProductionOrder(
1,
item)"
>
打印生产单
</el-button>
</div>
...
...
@@ -4127,11 +4127,16 @@ const assignOrder = async () => {
// loading.close()
//
}
//
}
const
printProductionOrder
=
async
(
item
?:
PodUsOrderListData
|
null
)
=>
{
if
(
status
.
value
!==
'WAIT_SHIPMENT'
&&
cardSelection
.
value
.
length
===
0
)
{
const
printProductionOrder
=
async
(
type
:
1
|
2
,
item
:
PodUsOrderListData
|
null
,
)
=>
{
if
(
type
===
2
&&
cardSelection
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
}
const
orderIds
=
item
?
[
item
.
id
]
:
cardSelection
.
value
.
map
((
item
)
=>
item
.
id
)
const
orderIds
=
type
===
1
?
[
item
!
.
id
]
:
cardSelection
.
value
.
map
((
item
)
=>
item
.
id
)
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
...
...
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