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
1
Merge Requests
1
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
4acd8916
Commit
4acd8916
authored
Mar 10, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复订单跟踪导出内容为空的bug #1001054
parent
d34566a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
src/types/api/podCnOrder.ts
+1
-0
src/types/api/podUsOrder.ts
+1
-0
src/views/order/orderTracking/index.vue
+1
-1
src/views/order/orderTracking/indexcn.vue
+1
-1
No files found.
src/types/api/podCnOrder.ts
View file @
4acd8916
...
@@ -11,6 +11,7 @@ export interface IconfirmSubmit {
...
@@ -11,6 +11,7 @@ export interface IconfirmSubmit {
export
interface
ExportParams
extends
SearchForm
{
export
interface
ExportParams
extends
SearchForm
{
idList
?:
number
[]
idList
?:
number
[]
exportAll
:
boolean
exportAll
:
boolean
orderTracking
?:
boolean
}
}
export
interface
SearchForm
{
export
interface
SearchForm
{
timeType
?:
number
|
null
timeType
?:
number
|
null
...
...
src/types/api/podUsOrder.ts
View file @
4acd8916
...
@@ -7,6 +7,7 @@ export interface ExportParams extends SearchForm {
...
@@ -7,6 +7,7 @@ export interface ExportParams extends SearchForm {
idList
?:
number
[]
idList
?:
number
[]
exportAll
:
boolean
exportAll
:
boolean
status
?:
string
status
?:
string
orderTracking
?:
boolean
}
}
export
interface
SearchForm
{
export
interface
SearchForm
{
...
...
src/views/order/orderTracking/index.vue
View file @
4acd8916
...
@@ -411,6 +411,7 @@ const submitExportForm = async () => {
...
@@ -411,6 +411,7 @@ const submitExportForm = async () => {
const
params
:
ExportParams
=
{
const
params
:
ExportParams
=
{
exportAll
:
false
,
exportAll
:
false
,
idList
:
[],
idList
:
[],
orderTracking
:
true
,
}
}
// 使用函数封装映射逻辑
// 使用函数封装映射逻辑
const
mapIds
=
(
items
:
PodUsOrderListData
[])
=>
const
mapIds
=
(
items
:
PodUsOrderListData
[])
=>
...
@@ -437,7 +438,6 @@ const submitExportForm = async () => {
...
@@ -437,7 +438,6 @@ const submitExportForm = async () => {
...
searchForm
.
value
,
...
searchForm
.
value
,
startTime
:
timeRange
.
value
?.[
0
]
||
null
,
startTime
:
timeRange
.
value
?.[
0
]
||
null
,
endTime
:
timeRange
.
value
?.[
1
]
||
null
,
endTime
:
timeRange
.
value
?.[
1
]
||
null
,
orderTracking
:
true
,
}
}
:
{}),
:
{}),
})
})
...
...
src/views/order/orderTracking/indexcn.vue
View file @
4acd8916
...
@@ -440,6 +440,7 @@ const submitExportForm = async () => {
...
@@ -440,6 +440,7 @@ const submitExportForm = async () => {
const
params
:
ExportParams
=
{
const
params
:
ExportParams
=
{
exportAll
:
false
,
exportAll
:
false
,
idList
:
[],
idList
:
[],
orderTracking
:
true
,
}
}
// 使用函数封装映射逻辑
// 使用函数封装映射逻辑
const
mapIds
=
(
items
:
PodCnOrderListData
[])
=>
const
mapIds
=
(
items
:
PodCnOrderListData
[])
=>
...
@@ -466,7 +467,6 @@ const submitExportForm = async () => {
...
@@ -466,7 +467,6 @@ const submitExportForm = async () => {
...
searchForm
.
value
,
...
searchForm
.
value
,
startTime
:
timeRange
.
value
?.[
0
]
||
null
,
startTime
:
timeRange
.
value
?.[
0
]
||
null
,
endTime
:
timeRange
.
value
?.[
1
]
||
null
,
endTime
:
timeRange
.
value
?.[
1
]
||
null
,
orderTracking
:
true
,
}
}
:
{}),
:
{}),
})
})
...
...
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