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
a7d4d6fc
Commit
a7d4d6fc
authored
Aug 19, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/lin-task' into dev
parents
d62d1961
ec17d100
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
1 deletions
+43
-1
src/api/podUsOrder.ts
+11
-0
src/views/order/podUs/index.vue
+32
-1
No files found.
src/api/podUsOrder.ts
View file @
a7d4d6fc
...
...
@@ -563,3 +563,14 @@ export function getAccountCodeByFactoryIdApi(params: { token: string }) {
params
,
})
}
// 打印拣货单item
export
function
printPickPdfByBatchNumberApi
(
params
:
{
batchArrangeNumber
:
string
})
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductUs/printPickPdfByBatchNumber`
,
{
params
,
},
)
}
src/views/order/podUs/index.vue
View file @
a7d4d6fc
...
...
@@ -1448,6 +1448,15 @@
<
span
class
=
"operate-item"
>
<
ElButton
link
type
=
"primary"
@
click
=
"printPickingOrderItem(row)"
>
打印拣货单
<
/ElButton
>
<
/span
>
<
span
class
=
"operate-item"
>
<
ElButton
link
type
=
"warning"
:
loading
=
"reComposingLoadingMap[row.id]"
@
click
=
"handleReComposingDesign(row)"
...
...
@@ -2332,6 +2341,7 @@ import {
completeDeliveryApi
,
get17TrackInfoApi
,
getAccountCodeByFactoryIdApi
,
printPickPdfByBatchNumberApi
,
}
from
'@/api/podUsOrder'
import
{
BaseRespData
}
from
'@/types/api'
...
...
@@ -2816,7 +2826,7 @@ const tableColumns = computed(() => {
{
label
:
'操作'
,
slot
:
'operate'
,
width
:
3
0
0
,
width
:
3
5
0
,
align
:
'center'
,
fixed
:
'right'
,
prop
:
'operate'
,
...
...
@@ -3530,6 +3540,27 @@ const printPickingOrder = async () => {
loading
.
close
()
}
}
const
printPickingOrderItem
=
async
(
row
:
{
batchArrangeNum
:
string
}
)
=>
{
console
.
log
(
333
,
row
)
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
}
)
try
{
const
res
=
await
printPickPdfByBatchNumberApi
({
batchArrangeNumber
:
row
.
batchArrangeNum
,
}
)
if
(
res
.
code
!==
200
)
return
ElMessage
.
success
(
'操作成功'
)
window
.
open
(
filePath
+
res
.
message
)
}
catch
(
e
)
{
console
.
error
(
e
)
}
finally
{
loading
.
close
()
}
}
const
pickingComplete
=
async
()
=>
{
if
(
cardSelection
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
...
...
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