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
fc14f49b
Commit
fc14f49b
authored
Dec 20, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 订单跟踪添加拦截展示
parent
1d1e87fe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
2 deletions
+57
-2
src/api/podCnOrder.ts
+2
-0
src/api/podUsOrder.ts
+4
-2
src/views/order/orderTracking/index.vue
+26
-0
src/views/order/orderTracking/indexcn.vue
+25
-0
No files found.
src/api/podCnOrder.ts
View file @
fc14f49b
...
...
@@ -127,6 +127,7 @@ export function getOrderList(
params
:
SearchForm
,
currentPage
:
number
,
pageSize
:
number
,
orderTracking
?:
boolean
,
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
PodCnOrderListData
[]
>>
(
'/factory/podJomallOrderCn/list_page'
,
...
...
@@ -134,6 +135,7 @@ export function getOrderList(
...
params
,
currentPage
,
pageSize
,
orderTracking
,
},
)
}
...
...
src/api/podUsOrder.ts
View file @
fc14f49b
...
...
@@ -55,6 +55,7 @@ export function getOrderList(
params
:
SearchForm
,
currentPage
:
number
,
pageSize
:
number
,
orderTracking
?:
boolean
,
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
PodUsOrderListData
>>
(
'/factory/podJomallOrderUs/list_page'
,
...
...
@@ -62,6 +63,7 @@ export function getOrderList(
...
params
,
currentPage
,
pageSize
,
orderTracking
,
},
)
}
...
...
@@ -284,11 +286,11 @@ export function clearBoxApi(
},
)
}
export
function
clearAllBoxApi
(
warehouseId
:
string
|
number
,
factoryNo
:
string
|
number
|
undefined
)
{
export
function
clearAllBoxApi
(
warehouseId
:
string
|
number
,
factoryNo
:
string
|
number
|
undefined
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderUs/delPodBoxOrderDetails'
,
{
params
:
{
warehouseId
,
factoryNo
},
params
:
{
warehouseId
,
factoryNo
},
},
)
}
...
...
src/views/order/orderTracking/index.vue
View file @
fc14f49b
...
...
@@ -2,6 +2,8 @@
defineOptions
({
name
:
'OrderTracking'
,
})
import
{
WarningFilled
}
from
'@element-plus/icons-vue'
import
LogisticsWaySelect
from
'../../logistics/components/LogisticsWaySelect.tsx'
import
{
factoryWarehouseInfo
,
...
...
@@ -75,6 +77,7 @@ const tableColumns = computed(() => {
prop
:
'factoryOrderNumber'
,
width
:
160
,
align
:
'center'
,
slot
:
'factoryOrderNumber'
,
},
{
label
:
'第三方订单号'
,
...
...
@@ -549,6 +552,7 @@ const getOrderListFn = async () => {
},
currentPage
,
pageSize
,
true
,
)
tableData
.
value
=
data
.
records
pagination
.
value
.
total
=
data
.
total
...
...
@@ -1136,6 +1140,28 @@ onMounted(() => {
@
row-click=
"rowClick"
@
selection-change=
"handleSelectionChange"
>
<template
#
factoryOrderNumber=
"
{ row }">
<div
style=
"display: flex; align-items: center"
>
{{
row
.
factoryOrderNumber
}}
<el-tooltip
effect=
"light"
content=
"该订单已拦截"
placement=
"bottom"
>
<el-icon
v-if=
"
row.interceptStatus !== null &&
(row.interceptStatus === 1 ||
row.interceptStatus === 3)
"
style=
"margin-left: 5px; cursor: pointer"
color=
"#E6A23C"
>
<WarningFilled
/>
</el-icon>
</el-tooltip>
</div>
</
template
>
<
template
#
status=
"{ row }"
>
<div>
{{
getStatus
(
row
.
status
)
}}
</div>
</
template
>
...
...
src/views/order/orderTracking/indexcn.vue
View file @
fc14f49b
<
script
setup
lang=
"ts"
>
import
{
OrderCnReceiverAddress
}
from
'@/api/podUsOrder.ts'
import
{
WarningFilled
}
from
'@element-plus/icons-vue'
defineOptions
({
name
:
'OrderTracking'
,
...
...
@@ -76,6 +77,7 @@ const tableColumns = computed(() => {
prop
:
'factoryOrderNumber'
,
width
:
160
,
align
:
'center'
,
slot
:
'factoryOrderNumber'
,
},
{
label
:
'第三方订单号'
,
...
...
@@ -568,6 +570,7 @@ const getOrderListFn = async () => {
},
currentPage
,
pageSize
,
true
,
)
tableData
.
value
=
data
.
records
.
flat
()
pagination
.
value
.
total
=
data
.
total
...
...
@@ -1226,6 +1229,28 @@ onMounted(() => {
@
row-click=
"rowClick"
@
selection-change=
"handleSelectionChange"
>
<template
#
factoryOrderNumber=
"
{ row }">
<div
style=
"display: flex; align-items: center"
>
{{
row
.
factoryOrderNumber
}}
<el-tooltip
effect=
"light"
content=
"该订单已拦截"
placement=
"bottom"
>
<el-icon
v-if=
"
row.interceptStatus &&
(row.interceptStatus === 1 ||
row.interceptStatus === 3)
"
style=
"margin-left: 5px; cursor: pointer"
color=
"#E6A23C"
>
<WarningFilled
/>
</el-icon>
</el-tooltip>
</div>
</
template
>
<
template
#
status=
"{ row }"
>
<div>
{{
getStatus
(
row
.
status
)
}}
</div>
</
template
>
...
...
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