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
黄庭坚
jinfa-platform
Commits
0d402da9
Commit
0d402da9
authored
Feb 10, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加结算应付实付预付搜索条件
parent
adfe103b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
96 additions
and
28 deletions
+96
-28
balance.ts
src/locales/en-US/balance.ts
+5
-0
balance.ts
src/locales/ko-KR/balance.ts
+4
-0
balance.ts
src/locales/zh-CN/balance.ts
+4
-1
index.tsx
src/pages/balance/accountsPayable/settlementList/index.tsx
+10
-2
index.tsx
...s/balance/accountsPayable/settlementList/schema/index.tsx
+32
-0
index.tsx
...pages/balance/accountsReceivable/settlementList/index.tsx
+9
-1
index.tsx
...alance/accountsReceivable/settlementList/schema/index.tsx
+31
-23
index.tsx
...ty/marketingActivitiesManagement/activePage/add/index.tsx
+1
-1
No files found.
src/locales/en-US/balance.ts
View file @
0d402da9
...
@@ -576,4 +576,8 @@ export default {
...
@@ -576,4 +576,8 @@ export default {
'balance.querenduizhangdan'
:
'Confirm the statement'
,
'balance.querenduizhangdan'
:
'Confirm the statement'
,
'balance.coupon.amout'
:
'couponAmount'
,
'balance.coupon.amout'
:
'couponAmount'
,
'balance.coupon.couponNo'
:
'couponNo'
,
'balance.coupon.couponNo'
:
'couponNo'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayStartTime'
:
'prePayStartTime'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayEndTime'
:
'prePayEndTime'
,
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
:
'payStartTime'
,
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
:
'payEndTime'
,
}
}
\ No newline at end of file
src/locales/ko-KR/balance.ts
View file @
0d402da9
...
@@ -577,4 +577,8 @@ export default {
...
@@ -577,4 +577,8 @@ export default {
'balance.querenduizhangdan'
:
'청구서 확인'
,
'balance.querenduizhangdan'
:
'청구서 확인'
,
'balance.coupon.amout'
:
'쿠폰 금액'
,
'balance.coupon.amout'
:
'쿠폰 금액'
,
'balance.coupon.couponNo'
:
'쿠폰 쿠폰'
,
'balance.coupon.couponNo'
:
'쿠폰 쿠폰'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayStartTime'
:
'시작 시간 선불'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayEndTime'
:
'선불 종료 시간'
,
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
:
'실제 지불 시작 시간'
,
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
:
'실불 종료 시간'
,
}
}
src/locales/zh-CN/balance.ts
View file @
0d402da9
...
@@ -764,5 +764,8 @@ export default {
...
@@ -764,5 +764,8 @@ export default {
'balance.businessRequestFunds.search.columns.payee'
:
'收款方'
,
'balance.businessRequestFunds.search.columns.payee'
:
'收款方'
,
'balance.coupon.amout'
:
'优惠券金额'
,
'balance.coupon.amout'
:
'优惠券金额'
,
'balance.coupon.couponNo'
:
'优惠券券码'
,
'balance.coupon.couponNo'
:
'优惠券券码'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayStartTime'
:
'预付开始时间'
,
'balance.accountsReceivable.settlementList.schema.schema.prePayEndTime'
:
'预付开始时间'
,
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
:
'实付开始时间'
,
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
:
'实付结束时间'
,
}
}
src/pages/balance/accountsPayable/settlementList/index.tsx
View file @
0d402da9
...
@@ -44,6 +44,10 @@ interface SearchParams {
...
@@ -44,6 +44,10 @@ interface SearchParams {
isSettlement
:
number
,
isSettlement
:
number
,
startTime
?:
Moment
,
startTime
?:
Moment
,
endTime
?:
Moment
,
endTime
?:
Moment
,
prePayStartTime
:
Moment
,
prePayEndTime
:
Moment
,
payStartTime
:
Moment
,
payEndTime
:
Moment
,
orderType
?:
number
,
orderType
?:
number
,
status
?:
number
,
status
?:
number
,
current
:
number
,
current
:
number
,
...
@@ -256,9 +260,12 @@ const SettlementList = () => {
...
@@ -256,9 +260,12 @@ const SettlementList = () => {
*/
*/
const
handleSearch
=
(
values
:
SearchParams
)
=>
{
const
handleSearch
=
(
values
:
SearchParams
)
=>
{
const
format
=
'YYYY-MM-DD'
const
format
=
'YYYY-MM-DD'
const
{
payStartTime
,
payEndTime
,
prePayStartTime
,
prePayEndTime
,
...
rest
}
=
values
;
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
endTime
=
values
.
endTime
?
values
.
endTime
.
endOf
(
"days"
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
:
""
;
const
endTime
=
values
.
endTime
?
values
.
endTime
.
endOf
(
"day"
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
""
;
ref
.
current
.
reload
({
...
values
,
startTime
,
endTime
});
const
withPayStartTime
=
payStartTime
?
{
payStartTime
:
payStartTime
.
valueOf
(),
payEndTime
:
payEndTime
.
valueOf
()
}
:
{};
const
withPrePayEndTime
=
prePayStartTime
?
{
prePayStartTime
:
prePayStartTime
.
valueOf
(),
prePayEndTime
:
prePayEndTime
.
valueOf
()
}
:
{};
ref
.
current
.
reload
({
...
rest
,
startTime
,
endTime
,
...
withPayStartTime
,
...
withPrePayEndTime
});
}
}
const
handleIhadPay
=
()
=>
{
const
handleIhadPay
=
()
=>
{
...
@@ -273,6 +280,7 @@ const SettlementList = () => {
...
@@ -273,6 +280,7 @@ const SettlementList = () => {
tableProps=
{
{
tableProps=
{
{
rowKey
:
'id'
,
rowKey
:
'id'
,
}
}
}
}
keepAlive=
{
false
}
columns=
{
columns
}
columns=
{
columns
}
currentRef=
{
ref
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsPayable/settlementList/schema/index.tsx
View file @
0d402da9
...
@@ -53,6 +53,38 @@ export const schema: ISchema = {
...
@@ -53,6 +53,38 @@ export const schema: ISchema = {
}
}
}
}
},
},
/** 预计付款时间 */
"[prePayStartTime, prePayEndTime]"
:
{
type
:
'object'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
showTime
:
true
,
placeholder
:
[
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'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
showTime
:
true
,
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
})
],
style
:
{
minWidth
:
"320px"
}
}
},
status
:
{
status
:
{
type
:
'string'
,
type
:
'string'
,
enum
:
[],
enum
:
[],
...
...
src/pages/balance/accountsReceivable/settlementList/index.tsx
View file @
0d402da9
...
@@ -28,6 +28,10 @@ type requestDataType = {
...
@@ -28,6 +28,10 @@ type requestDataType = {
orderType
:
string
|
number
,
orderType
:
string
|
number
,
startTime
?:
Moment
,
startTime
?:
Moment
,
endTime
?:
Moment
,
endTime
?:
Moment
,
prePayStartTime
:
Moment
,
prePayEndTime
:
Moment
,
payStartTime
?:
Moment
,
payEndTime
?:
Moment
,
settlementName
:
string
,
settlementName
:
string
,
payName
:
string
,
payName
:
string
,
settlementNo
:
number
,
settlementNo
:
number
,
...
@@ -110,9 +114,12 @@ const SettlementList = () => {
...
@@ -110,9 +114,12 @@ const SettlementList = () => {
*/
*/
const
handleSearch
=
(
values
:
requestDataType
)
=>
{
const
handleSearch
=
(
values
:
requestDataType
)
=>
{
const
format
=
'YYYY-MM-DD'
const
format
=
'YYYY-MM-DD'
const
{
payStartTime
,
payEndTime
,
prePayStartTime
,
prePayEndTime
,
...
rest
}
=
values
;
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
endTime
=
values
.
endTime
?
values
.
endTime
.
endOf
(
"day"
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
""
;
const
endTime
=
values
.
endTime
?
values
.
endTime
.
endOf
(
"day"
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
""
;
ref
.
current
.
reload
({
...
values
,
startTime
,
endTime
});
const
withPayStartTime
=
payStartTime
?
{
payStartTime
:
payStartTime
.
valueOf
(),
payEndTime
:
payEndTime
.
valueOf
()
}
:
{};
const
withPrePayEndTime
=
prePayStartTime
?
{
prePayStartTime
:
prePayStartTime
.
valueOf
(),
prePayEndTime
:
prePayEndTime
.
valueOf
()
}
:
{};
ref
.
current
.
reload
({
...
rest
,
startTime
,
endTime
,
...
withPayStartTime
,
...
withPrePayEndTime
});
}
}
return
(
return
(
...
@@ -122,6 +129,7 @@ const SettlementList = () => {
...
@@ -122,6 +129,7 @@ const SettlementList = () => {
tableProps=
{
{
tableProps=
{
{
rowKey
:
'id'
,
rowKey
:
'id'
,
}
}
}
}
keepAlive=
{
false
}
columns=
{
columns
}
columns=
{
columns
}
currentRef=
{
ref
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsReceivable/settlementList/schema/index.tsx
View file @
0d402da9
...
@@ -54,29 +54,37 @@ export const schema: ISchema = {
...
@@ -54,29 +54,37 @@ export const schema: ISchema = {
}
}
},
},
/** 预计付款时间 */
/** 预计付款时间 */
// "[startTime, endTime]": {
"[prePayStartTime, prePayEndTime]"
:
{
// type: 'object',
type
:
'object'
,
// "x-component": 'RangePicker',
"x-component"
:
'RangePicker'
,
// 'x-component-props': {
'x-component-props'
:
{
// allowClear: true,
allowClear
:
true
,
// placeholder: [intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.startTime'}), intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.endTime'})],
showTime
:
true
,
// style: {
placeholder
:
[
// minWidth: "320px"
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.prePayStartTime'
}),
// }
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.prePayEndTime'
})
// }
],
// },
style
:
{
/** 实际付款时间 */
minWidth
:
"320px"
// "[startTime, endTime]": {
}
// type: 'object',
}
// "x-component": 'RangePicker',
},
// 'x-component-props': {
// /** 实际付款时间 */
// allowClear: true,
"[payStartTime, payEndTime]"
:
{
// placeholder: [intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.startTime'}), intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.endTime'})],
type
:
'object'
,
// style: {
"x-component"
:
'RangePicker'
,
// minWidth: "320px"
'x-component-props'
:
{
// }
allowClear
:
true
,
// }
showTime
:
true
,
// },
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.schema.payEndTime'
})
],
style
:
{
minWidth
:
"320px"
}
}
},
status
:
{
status
:
{
type
:
'string'
,
type
:
'string'
,
enum
:
[],
enum
:
[],
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/add/index.tsx
View file @
0d402da9
...
@@ -181,7 +181,7 @@ const Add = () => {
...
@@ -181,7 +181,7 @@ const Add = () => {
return
(
return
(
<
PageHeaderWrapper
<
PageHeaderWrapper
title=
{
renderTitle
()
}
title=
{
renderTitle
()
}
onBack=
{
()
=>
history
.
goBack
(
)
}
onBack=
{
()
=>
history
.
push
(
'/memberCenter/marketingAbility/activityPages/management'
)
}
backIcon=
{
<
ReutrnEle
/>
}
backIcon=
{
<
ReutrnEle
/>
}
extra=
{
extra=
{
!
isView
&&
(
!
isView
&&
(
...
...
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