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
336d59a8
Commit
336d59a8
authored
Jan 27, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: POD订单(CN)新增收件国家筛选 #1002558
parent
70742842
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
55 deletions
+62
-55
src/types/api/statistic.ts
+6
-0
src/views/Dashboard.vue
+0
-0
src/views/order/orderTracking/index.vue
+13
-16
src/views/order/orderTracking/indexcn.vue
+13
-17
src/views/order/podCN/index.vue
+15
-11
src/views/order/podUs/index.vue
+15
-11
No files found.
src/types/api/statistic.ts
View file @
336d59a8
...
...
@@ -27,11 +27,17 @@ export interface statisticData {
outOfStockSkuNum
:
number
outOfStockProductNum
:
number
yesterdayOverTimeShipmentOrderNum
:
number
notShipmentProductNum
:
number
overTimeNotShipmentProductNum
:
number
yesterdayShipmentProductNum
:
number
}
export
interface
trendType
{
confirmNum
:
number
// 接单数
produceNum
:
number
// 生产数
shipmentNum
:
number
// 发货数
confirmProductNum
?:
number
// 新接数(件)
producedProductNum
?:
number
// 生产数(件)
shipmentProductNum
?:
number
// 发货数(件)
shipmentRateOf24Hour
:
number
// 24小时发货率
shipmentRateOf48Hour
:
number
// 48小时发货率
overtimeShipmentRate
:
number
// 超48小时发货率
...
...
src/views/Dashboard.vue
View file @
336d59a8
This diff is collapsed.
Click to expand it.
src/views/order/orderTracking/index.vue
View file @
336d59a8
...
...
@@ -757,19 +757,6 @@ const handleSelectionChange = (val: PodUsOrderListData[]) => {
selection
.
value
=
val
}
// 修改行样式方法
const
getRowStyle
=
({
row
}:
{
row
:
PodUsOrderListData
})
=>
{
// 如果行被选中,设置背景色为 #fdf6ec
if
(
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
))
{
return
{
backgroundColor
:
'#fdf6ec'
,
}
}
return
{
backgroundColor
:
''
,
}
}
// 获取行类名方法
const
getRowClassName
=
({
row
}:
{
row
:
PodUsOrderListData
})
=>
{
return
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
)
...
...
@@ -1156,7 +1143,6 @@ onMounted(() => {
:serial-numberable=
"true"
:selectionable=
"true"
:paginated-data=
"tableData"
:row-style=
"getRowStyle"
:row-class-name=
"getRowClassName"
@
row-click=
"rowClick"
@
selection-change=
"handleSelectionChange"
...
...
@@ -1385,11 +1371,22 @@ onMounted(() => {
}
}
//
确保选中行的背景色在
hover
时也保持
//
设置选中行的背景色
:deep
(
.el-table__body
)
{
.
el-table__row
:
hover
{
td
{
background-color
:
#e1ebf5
!important
;
}
}
.el-table__row.row-selected
{
td
{
background-color
:
#faecd8
!important
;
}
}
//
确保选中行的背景色在
hover
时也保持
.el-table__row.row-selected
:hover
{
td
{
background-color
:
#f
df6ec
!important
;
background-color
:
#f
aecd8
!important
;
}
}
}
...
...
src/views/order/orderTracking/indexcn.vue
View file @
336d59a8
...
...
@@ -772,20 +772,6 @@ const handleSelectionChange = (val: PodCnOrderListData[]) => {
selection
.
value
=
val
}
// 修改行样式方法
const
getRowStyle
=
({
row
}:
{
row
:
PodCnOrderListData
})
=>
{
// 如果行被选中,设置背景色为 #fdf6ec
if
(
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
))
{
return
{
backgroundColor
:
'#fdf6ec'
,
}
}
return
{
backgroundColor
:
''
,
}
}
// 获取行类名方法
const
getRowClassName
=
({
row
}:
{
row
:
PodCnOrderListData
})
=>
{
return
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
)
...
...
@@ -1246,7 +1232,6 @@ onMounted(() => {
:serial-numberable=
"true"
:selectionable=
"true"
:paginated-data=
"tableData"
:row-style=
"getRowStyle"
:row-class-name=
"getRowClassName"
@
row-click=
"rowClick"
@
selection-change=
"handleSelectionChange"
...
...
@@ -1482,11 +1467,22 @@ onMounted(() => {
}
}
//
确保选中行的背景色在
hover
时也保持
//
设置选中行的背景色
:deep
(
.el-table__body
)
{
.
el-table__row
:
hover
{
td
{
background-color
:
#e1ebf5
!important
;
}
}
.el-table__row.row-selected
{
td
{
background-color
:
#faecd8
!important
;
}
}
//
确保选中行的背景色在
hover
时也保持
.el-table__row.row-selected
:hover
{
td
{
background-color
:
#f
df6ec
!important
;
background-color
:
#f
aecd8
!important
;
}
}
}
...
...
src/views/order/podCN/index.vue
View file @
336d59a8
...
...
@@ -5524,15 +5524,8 @@ const getRowStyle = ({ row }: { row: PodCnOrderListData }) => {
color
:
'#67c23a'
,
}
}
// 如果行被选中,设置背景色为 #fdf6ec
if
(
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
))
{
return
{
backgroundColor
:
'#fdf6ec'
,
}
}
return
{
backgroundColor
:
''
,
}
// 选中状态通过 CSS 类名控制,这里不再处理
return
{
}
}
// 获取行类名方法
...
...
@@ -6541,11 +6534,22 @@ const onUpdateCustomsDeclarationInfo = () => {
}
}
//
确保选中行的背景色在 hover 时也保持
//
设置选中行的背景色
:
deep
(.
el
-
table__body
)
{
.
el
-
table__row
:
hover
{
td
{
background
-
color
:
#
e1ebf5
!
important
;
}
}
.
el
-
table__row
.
row
-
selected
{
td
{
background
-
color
:
#
faecd8
!
important
;
}
}
// 确保选中行的背景色在 hover 时也保持
.
el
-
table__row
.
row
-
selected
:
hover
{
td
{
background
-
color
:
#
f
df6ec
!
important
;
background
-
color
:
#
f
aecd8
!
important
;
}
}
}
...
...
src/views/order/podUs/index.vue
View file @
336d59a8
...
...
@@ -6176,15 +6176,8 @@ const getRowStyle = ({ row }: { row: PodUsOrderListData }) => {
color
:
'#67c23a'
,
}
}
// 如果行被选中,设置背景色为 #fdf6ec
if
(
selection
.
value
.
some
((
item
)
=>
item
.
id
===
row
.
id
))
{
return
{
backgroundColor
:
'#fdf6ec'
,
}
}
return
{
backgroundColor
:
''
,
}
// 选中状态通过 CSS 类名控制,这里不再处理
return
{
}
}
// 获取行类名方法
...
...
@@ -7327,11 +7320,22 @@ useRouter().beforeEach((to, from, next) => {
}
}
//
确保选中行的背景色在 hover 时也保持
//
设置选中行的背景色
:
deep
(.
el
-
table__body
)
{
.
el
-
table__row
:
hover
{
td
{
background
-
color
:
#
e1ebf5
!
important
;
}
}
.
el
-
table__row
.
row
-
selected
{
td
{
background
-
color
:
#
faecd8
!
important
;
}
}
// 确保选中行的背景色在 hover 时也保持
.
el
-
table__row
.
row
-
selected
:
hover
{
td
{
background
-
color
:
#
f
df6ec
!
important
;
background
-
color
:
#
f
aecd8
!
important
;
}
}
}
...
...
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