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
720c3f5e
Commit
720c3f5e
authored
Jun 25, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pod us 添加自定义分页数量,选中数量
parent
2290b3c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
16 deletions
+65
-16
src/views/order/podUs/index.vue
+65
-16
No files found.
src/views/order/podUs/index.vue
View file @
720c3f5e
...
@@ -678,8 +678,8 @@
...
@@ -678,8 +678,8 @@
status
===
'EXCEPTION_ORDER'
||
status
===
'EXCEPTION_ORDER'
||
status
===
'PICKING'
||
status
===
'PICKING'
||
status
===
'TO_BE_CONFIRMED'
||
status
===
'TO_BE_CONFIRMED'
||
status
===
'STOCK_OUT'
||
status
===
'STOCK_OUT'
||
status
===
'CREATE_LOGISTICS'
?
'数量:'
status
===
'CREATE_LOGISTICS'
?
'数量:'
:
'已生产数量:'
:
'已生产数量:'
}}
</span>
}}
</span>
<span
class=
"goods-item-info-item-value"
>
<span
class=
"goods-item-info-item-value"
>
...
@@ -1169,9 +1169,9 @@
...
@@ -1169,9 +1169,9 @@
<
/span
>
<
/span
>
<
/div
>
<
/div
>
<
div
<
div
v
-
if
=
"cardItem.batchArrangeNumber"
class
=
"grid-item"
class
=
"grid-item"
title
=
"批次号"
title
=
"批次号"
v
-
if
=
"cardItem.batchArrangeNumber"
>
>
<
span
<
span
class
=
"grid-item-value"
class
=
"grid-item-value"
...
@@ -1192,17 +1192,36 @@
...
@@ -1192,17 +1192,36 @@
<
/div
>
<
/div
>
<
div
v
-
else
class
=
"empty"
>
暂无数据
<
/div
>
<
div
v
-
else
class
=
"empty"
>
暂无数据
<
/div
>
<
/div
>
<
/div
>
<
ElPagination
<
div
class
=
"pagination"
>
v
-
model
:
current
-
page
=
"currentPage"
<
div
class
=
"total"
>
v
-
model
:
page
-
size
=
"pageSize"
<
span
:
page
-
sizes
=
"[100, 200, 300, 400, 500]"
>
已选择
background
<
span
style
=
"color: red"
>
{{
selection
.
length
||
cardSelection
.
length
}}
<
/span> 条数据</
span
layout
=
"total, sizes, prev, pager, next, jumper"
>
:
total
=
"total"
<
/div
>
style
=
"margin: 10px auto 0; text-align: right"
<
ElPagination
@
size
-
change
=
"handleSizeChange"
v
-
model
:
current
-
page
=
"currentPage"
@
current
-
change
=
"handleCurrentChange"
v
-
model
:
page
-
size
=
"pageSize"
><
/ElPagination
>
:
page
-
sizes
=
"[50,100, 200, 300, 400, 500]"
background
layout
=
"total, sizes, prev, pager, next, jumper"
:
total
=
"total"
style
=
"margin: 10px auto 0; text-align: right"
@
size
-
change
=
"handleSizeChange"
@
current
-
change
=
"handleCurrentChange"
><
/ElPagination
>
<
div
class
=
"pageSize"
>
<
span
>
自定义条数
<
span
><
el
-
input
v
-
model
=
"pageSize"
type
=
"number"
style
=
"width: 100px;"
clearable
@
blur
=
"inputBlur"
><
/el-input></
span
>
条
/
页
<
/spa
n
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
RightClickMenu
<
RightClickMenu
...
@@ -1530,8 +1549,8 @@
...
@@ -1530,8 +1549,8 @@
<
div
v
-
if
=
"logisticsForm.expressSheet"
class
=
"file"
>
<
div
v
-
if
=
"logisticsForm.expressSheet"
class
=
"file"
>
<
span
>
{{
logisticsForm
.
expressSheet
.
name
}}
<
/span
>
<
span
>
{{
logisticsForm
.
expressSheet
.
name
}}
<
/span
>
<
el
-
icon
<
el
-
icon
@
click
=
"logisticsForm.expressSheet = null"
class
=
"expressSheetClose"
class
=
"expressSheetClose"
@
click
=
"logisticsForm.expressSheet = null"
>
>
<
Close
><
/Close
>
<
Close
><
/Close
>
<
/el-icon
>
<
/el-icon
>
...
@@ -1664,6 +1683,7 @@ const currentRow = ref<AddressInfo>({
...
@@ -1664,6 +1683,7 @@ const currentRow = ref<AddressInfo>({
}
)
}
)
const
updateAddVisible
=
ref
(
false
)
const
updateAddVisible
=
ref
(
false
)
const
initPageSize
=
ref
(
50
)
const
logisticsVisible
=
ref
(
false
)
const
logisticsVisible
=
ref
(
false
)
const
logisticsFormRef
=
ref
()
const
logisticsFormRef
=
ref
()
const
logistics
=
{
const
logistics
=
{
...
@@ -1963,6 +1983,7 @@ const {
...
@@ -1963,6 +1983,7 @@ const {
onCurrentPageChange
:
handleCurrentChange
,
onCurrentPageChange
:
handleCurrentChange
,
onPageSizeChange
:
handleSizeChange
,
onPageSizeChange
:
handleSizeChange
,
}
=
usePageList
({
}
=
usePageList
({
initPageSize
:
initPageSize
.
value
,
query
:
(
page
,
pageSize
)
=>
{
query
:
(
page
,
pageSize
)
=>
{
if
(
if
(
status
.
value
!==
'IN_PRODUCTION'
&&
status
.
value
!==
'IN_PRODUCTION'
&&
...
@@ -2440,7 +2461,12 @@ const changeExceptionOrder = async () => {
...
@@ -2440,7 +2461,12 @@ const changeExceptionOrder = async () => {
currentOrderIds
.
value
=
selection
.
value
.
map
((
item
)
=>
item
.
id
)
currentOrderIds
.
value
=
selection
.
value
.
map
((
item
)
=>
item
.
id
)
exceptionDialogVisible
.
value
=
true
exceptionDialogVisible
.
value
=
true
}
}
const
inputBlur
=
()
=>
{
if
(
!
pageSize
.
value
||
Number
(
pageSize
.
value
)
<=
0
)
{
pageSize
.
value
=
initPageSize
.
value
}
search
()
}
const
handleExceptionConfirm
=
async
()
=>
{
const
handleExceptionConfirm
=
async
()
=>
{
try
{
try
{
await
exceptionFormRef
.
value
.
validate
()
await
exceptionFormRef
.
value
.
validate
()
...
@@ -3669,6 +3695,29 @@ const replenishmentSuccess = async () => {
...
@@ -3669,6 +3695,29 @@ const replenishmentSuccess = async () => {
}
}
}
}
}
}
.
pagination
{
display
:
flex
;
justify
-
content
:
center
;
align
-
items
:
center
;
gap
:
15
px
;
margin
:
10
px
0
;
:
deep
(.
el
-
pagination
)
{
margin
:
0
!
important
;
}
.
total
{
color
:
#
606266
;
font
-
size
:
15
px
;
}
.
pageSize
{
line
-
height
:
39
px
;
color
:
#
606266
;
font
-
size
:
15
px
;
}
}
<
/style
>
<
/style
>
<
style
lang
=
"scss"
>
<
style
lang
=
"scss"
>
.
customize
-
select
-
style
{
.
customize
-
select
-
style
{
...
...
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