Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
ab6b380b
Commit
ab6b380b
authored
Apr 22, 2022
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-v2-220418' into 'v2-220418'
fix: 修复筛选条件不起作用的问题 See merge request linkseeks-design/pro-platform!485
parents
01de8236
b5d3e524
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
20 deletions
+9
-20
useHandleSettlementList.tsx
...sPayable/settlementList/hooks/useHandleSettlementList.tsx
+1
-1
index.tsx
...s/balance/accountsPayable/settlementList/schema/index.tsx
+8
-19
No files found.
src/pages/balance/accountsPayable/settlementList/hooks/useHandleSettlementList.tsx
View file @
ab6b380b
...
...
@@ -211,7 +211,7 @@ function useHandleSettlementList() {
value
:
6
}
],
//
onFilter: (value: number, record: any) => record.orderType === value,
onFilter
:
(
value
:
number
,
record
:
any
)
=>
record
.
orderType
===
value
,
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.jiesuanjine'
}),
...
...
src/pages/balance/accountsPayable/settlementList/schema/index.tsx
View file @
ab6b380b
...
...
@@ -32,30 +32,25 @@ export const schema: ISchema = {
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'
flex
-layout'
,
'x-component'
:
'
mega
-layout'
,
'x-component-props'
:
{
rowStyle
:
{
justifyContent
:
"flex-start"
,
},
colStyle
:
{
marginRight
:
20
,
},
grid
:
true
,
full
:
true
,
autoRow
:
true
,
columns
:
6
,
},
properties
:
{
"[startTime, endTime]"
:
{
type
:
'
object
'
,
type
:
'
string
'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.schema.schema.startTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.schema.schema.endTime'
})],
style
:
{
minWidth
:
"320px"
}
}
},
/** 预计付款时间 */
"[prePayStartTime, prePayEndTime]"
:
{
type
:
'
object
'
,
type
:
'
string
'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
...
...
@@ -64,14 +59,11 @@ export const schema: ISchema = {
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.prePayStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.prePayEndTime'
})
],
style
:
{
minWidth
:
"320px"
}
}
},
/** 实际付款时间 */
"[payStartTime, payEndTime]"
:
{
type
:
'
object
'
,
type
:
'
string
'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
...
...
@@ -80,9 +72,6 @@ export const schema: ISchema = {
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
})
],
style
:
{
minWidth
:
"320px"
}
}
},
status
:
{
...
...
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