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
305f0e4f
Commit
305f0e4f
authored
Aug 30, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: podus添加dtf排版
parent
f63df5c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
8 deletions
+42
-8
src/api/podCnOrder.ts
+42
-8
No files found.
src/api/podCnOrder.ts
View file @
305f0e4f
...
...
@@ -8,7 +8,7 @@ import {
WarehouseListData
,
LogisticsData
,
ExportParams
,
IconfirmSubmit
IconfirmSubmit
,
}
from
'@/types/api/podCnOrder'
import
{
InterceptStateGroupData
}
from
'@/types/api/podUsOrder'
import
axios
from
'./axios'
...
...
@@ -354,9 +354,13 @@ export function refreshProductInformationApi(data: {
)
}
// 设计图排版
export
function
composingDesignImages
(
data
:
number
[],
type
:
string
)
{
export
function
composingDesignImages
(
data
:
number
[],
type
?:
string
,
templateWidth
?:
number
,
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderCn/composingDesignImages?type=
${
type
}
`
,
`factory/podJomallOrderCn/composingDesignImages?type=
${
type
}
&templateWidth=
${
templateWidth
}
`
,
data
,
)
}
...
...
@@ -401,7 +405,7 @@ export function replenishmentSuccessApi(data: number[]) {
)
}
//确认生产
export
function
confirmProductApi
(
data
:
IconfirmSubmit
)
{
export
function
confirmProductApi
(
data
:
IconfirmSubmit
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderCn/confirmProduct`
,
data
,
...
...
@@ -415,10 +419,14 @@ export function toOutOfStockApi(ids: number[]) {
}
// 排单完成
export
function
arrangeFinishApi
(
ids
:
number
[])
{
export
function
arrangeFinishApi
(
params
:
{
productIdList
:
number
[]
templateWidth
?:
number
type
?:
string
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductCn/arrangeFinish`
,
id
s
,
param
s
,
)
}
...
...
@@ -461,9 +469,13 @@ export function batchDownloadDeleteApi(params: { ids: string }) {
}
// 批量下载 重新排版
export
function
batchDownloadRecomposingApi
(
params
:
{
id
:
number
})
{
export
function
batchDownloadRecomposingApi
(
params
:
{
id
:
number
type
?:
string
templateWidth
?:
number
})
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
`factory/podBatchDownload/reComposingDesignImages`
,
`factory/podBatchDownload/reC
nC
omposingDesignImages`
,
{
params
,
},
...
...
@@ -556,3 +568,25 @@ export function uploadExpressSheet(params: {
params
,
)
}
// 打印拣货单item
export
function
printPickPdfByBatchNumberApi
(
params
:
{
batchArrangeNumber
:
string
})
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductCn/printPickPdfByBatchNumber`
,
{
params
,
},
)
}
// 打印生产单item
export
function
printProductionPdfByBatchNumberApi
(
params
:
{
batchArrangeNumber
:
string
})
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductCn/printProductionPdfByBatchNumber`
,
{
params
,
},
)
}
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