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
f18d4579
Commit
f18d4579
authored
Sep 01, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
ac424b99
29c497c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
src/api/podOrder.ts
+7
-3
src/views/order/pod/index.vue
+7
-2
No files found.
src/api/podOrder.ts
View file @
f18d4579
...
...
@@ -37,7 +37,7 @@ export function getSubOrderBySubOrderNumber(thirdSubOrderNumber: string) {
)
}
export
function
getSubOrderBySubOrder
(
factorySubOrderNumber
:
string
,
orderFrom
:
string
)
{
export
function
getSubOrderBySubOrder
(
factorySubOrderNumber
:
string
,
orderFrom
:
string
)
{
return
axios
.
get
<
never
,
BaseRespData
<
PodProductList
>>
(
'factory/podJomallOrderProductCnUs/getSubOrderBySubOrderNumber'
,
{
...
...
@@ -259,9 +259,13 @@ export function completeDeliveryApi(
{
productIdList
,
...
data
},
)
}
export
function
exportStatementApi
(
data
:
SearchForm
,
status
:
string
)
{
export
function
exportStatementApi
(
data
:
SearchForm
,
status
:
string
,
currentPage
:
number
,
pageSize
:
number
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrder/exportPodJomallReconciliation'
,
{
...
data
,
status
},
{
...
data
,
status
,
currentPage
,
pageSize
},
)
}
src/views/order/pod/index.vue
View file @
f18d4579
...
...
@@ -220,7 +220,7 @@
申请补胚
</ElButton
>
</ElFormItem>
<ElFormItem
v-if=
"['TO_BE_RECEIPT','COMPLETE'].includes(status)"
>
<ElFormItem
v-if=
"['TO_BE_RECEIPT',
'COMPLETE'].includes(status)"
>
<ElButton
type=
"success"
@
click=
"toExport"
>
导出对账单
</ElButton>
</ElFormItem>
<ElFormItem
...
...
@@ -1529,7 +1529,12 @@ const exportData = async () => {
// tagIds: searchForm.value.tagIds.length > 0 ? searchForm.value.tagIds : null,
}
try
{
const
res
=
await
exportStatementApi
(
params
,
status
.
value
)
const
res
=
await
exportStatementApi
(
params
,
status
.
value
,
currentPage
.
value
,
pageSize
.
value
,
)
if
(
res
.
code
!==
200
)
return
ElMessage
.
success
(
'导出成功'
)
window
.
open
(
filePath
+
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