Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
15f17fb2
Commit
15f17fb2
authored
Apr 11, 2025
by
shida.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 默认100条,批量操作也是最大100条
parent
4a13425a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
index.jsx
src/pages/ReconciliationQuery/index.jsx
+6
-3
No files found.
src/pages/ReconciliationQuery/index.jsx
View file @
15f17fb2
...
@@ -31,13 +31,13 @@ const ReconciliationQuery = props => {
...
@@ -31,13 +31,13 @@ const ReconciliationQuery = props => {
const
checkedBillType
=
data
=>
{
const
checkedBillType
=
data
=>
{
const
billType
=
data
[
0
]?.
billType
;
const
billType
=
data
[
0
]?.
billType
;
const
sameData
=
data
.
filter
(
item
=>
item
.
billType
===
billType
);
const
sameData
=
data
.
filter
(
item
=>
item
.
billType
===
billType
);
if
(
data
.
length
===
sameData
.
length
&&
sameData
.
length
<
32
)
{
if
(
data
.
length
===
sameData
.
length
&&
sameData
.
length
<
101
)
{
const
billName
=
billType
===
10
?
'
销售
'
:
'
售后
'
;
const
billName
=
billType
===
10
?
'
销售
'
:
'
售后
'
;
setbillName
(
billName
);
setbillName
(
billName
);
return
true
;
return
true
;
}
}
if
(
sameData
.
length
>
31
)
{
if
(
sameData
.
length
>
100
)
{
notification
.
error
({
message
:
'
一次最多选择
31
个账单批次
'
});
notification
.
error
({
message
:
'
一次最多选择
100
个账单批次
'
});
return
false
;
return
false
;
}
}
notification
.
error
({
message
:
'
不同账单类型不可批量操作
'
});
notification
.
error
({
message
:
'
不同账单类型不可批量操作
'
});
...
@@ -161,6 +161,9 @@ const ReconciliationQuery = props => {
...
@@ -161,6 +161,9 @@ const ReconciliationQuery = props => {
bordered
bordered
toolBarRender=
{
onToolBarRender
}
toolBarRender=
{
onToolBarRender
}
scroll=
{
{
x
:
'
100%
'
,
y
:
400
}
}
scroll=
{
{
x
:
'
100%
'
,
y
:
400
}
}
pagination=
{
{
pageSize
:
100
,
}
}
/>
/>
</
PageHeaderWrapper
>
</
PageHeaderWrapper
>
</
Spin
>
</
Spin
>
...
...
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