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
XieZhiXiong
jinfa-platform
Commits
392f3145
Commit
392f3145
authored
Feb 17, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改结算应收应付订单详情搜索以及翻译bug
parent
5c03bcba
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
11 deletions
+17
-11
logisticsDetail.tsx
...alance/accountsPayable/settlementList/logisticsDetail.tsx
+1
-0
orderDetail.tsx
...es/balance/accountsPayable/settlementList/orderDetail.tsx
+1
-0
productNoticeSettlementDetail.tsx
...sPayable/settlementList/productNoticeSettlementDetail.tsx
+1
-0
index.tsx
...s/balance/accountsPayable/settlementList/schema/index.tsx
+2
-2
useHandleSettlementList.tsx
...ceivable/settlementList/hooks/useHandleSettlementList.tsx
+3
-3
logisticsDetail.tsx
...nce/accountsReceivable/settlementList/logisticsDetail.tsx
+1
-0
orderDetail.tsx
...balance/accountsReceivable/settlementList/orderDetail.tsx
+1
-0
productNoticeSettlementDetail.tsx
...ceivable/settlementList/productNoticeSettlementDetail.tsx
+1
-0
index.tsx
...alance/accountsReceivable/settlementList/schema/index.tsx
+2
-2
useFetchBillData.tsx
src/pages/balance/hooks/useFetchBillData.tsx
+4
-4
No files found.
src/pages/balance/accountsPayable/settlementList/logisticsDetail.tsx
View file @
392f3145
...
...
@@ -84,6 +84,7 @@ const logisticsDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'id'
,
}
}
keepAlive=
{
false
}
columns=
{
logisticsColumn
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsPayable/settlementList/orderDetail.tsx
View file @
392f3145
...
...
@@ -49,6 +49,7 @@ const OrderDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
keepAlive=
{
false
}
columns=
{
orderColumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
getSettleAccountsMemberSettlementPagePayableOrderSettlement
,
{
settlementId
:
id
,
...
params
})
}
...
...
src/pages/balance/accountsPayable/settlementList/productNoticeSettlementDetail.tsx
View file @
392f3145
...
...
@@ -72,6 +72,7 @@ const ProductNoticeSettlementDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
keepAlive=
{
false
}
columns=
{
productNoticecolumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsPayable/settlementList/schema/index.tsx
View file @
392f3145
...
...
@@ -179,13 +179,13 @@ export const detailSchema: ISchema = {
}
},
},
"[
receiveStartTime, receive
EndTime]"
:
{
"[
payStartTime, pay
EndTime]"
:
{
type
:
'array'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
showTime
:
false
,
allowClear
:
true
,
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accounts
Payable.settlementList.schema.detailSchema.receiveStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsPayable.settlementList.schema.detailSchema.receive
EndTime'
})],
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accounts
Receivable.invoice.schema.payStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.invoice.schema.pay
EndTime'
})],
style
:
{
minWidth
:
"320px"
}
...
...
src/pages/balance/accountsReceivable/settlementList/hooks/useHandleSettlementList.tsx
View file @
392f3145
...
...
@@ -91,16 +91,16 @@ function useHandleSettlementList() {
switch
(
record
.
orderType
)
{
// 生产单
case
1
:
fullUrl
=
`/memberCenter/balance/accounts
Pay
able/settlementList/productNoticeSettlementDetail?id=
${
record
.
id
}
`
;
fullUrl
=
`/memberCenter/balance/accounts
Receiv
able/settlementList/productNoticeSettlementDetail?id=
${
record
.
id
}
`
;
break
;
// 物流单
case
2
:
fullUrl
=
`/memberCenter/balance/accounts
Pay
able/settlementList/logisticsDetail?id=
${
record
.
id
}
`
;
fullUrl
=
`/memberCenter/balance/accounts
Receiv
able/settlementList/logisticsDetail?id=
${
record
.
id
}
`
;
break
;
// 订单
case
3
:
case
4
:
fullUrl
=
`/memberCenter/balance/accounts
Pay
able/settlementList/orderDetail?id=
${
record
.
id
}
`
fullUrl
=
`/memberCenter/balance/accounts
Receiv
able/settlementList/orderDetail?id=
${
record
.
id
}
`
break
;
// 退货
case
5
:
...
...
src/pages/balance/accountsReceivable/settlementList/logisticsDetail.tsx
View file @
392f3145
...
...
@@ -70,6 +70,7 @@ const logisticsDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
keepAlive=
{
false
}
columns=
{
logisticsColumn
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsReceivable/settlementList/orderDetail.tsx
View file @
392f3145
...
...
@@ -46,6 +46,7 @@ const OrderDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
keepAlive=
{
false
}
columns=
{
orderColumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
getSettleAccountsMemberSettlementPagePayableOrderSettlement
,
{
settlementId
:
id
,
...
params
})
}
...
...
src/pages/balance/accountsReceivable/settlementList/productNoticeSettlementDetail.tsx
View file @
392f3145
...
...
@@ -73,6 +73,7 @@ const ProductNoticeSettlementDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
(
record
)
=>
`${record.orderNo}-${record.batch}`
,
}
}
keepAlive=
{
false
}
columns=
{
productNoticecolumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
...
...
src/pages/balance/accountsReceivable/settlementList/schema/index.tsx
View file @
392f3145
...
...
@@ -175,13 +175,13 @@ export const detailSchema: ISchema = {
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.detailSchema.startTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.detailSchema.endTime'
})]
},
},
"[
receiveStartTime, receive
EndTime]"
:
{
"[
payStartTime, pay
EndTime]"
:
{
type
:
'array'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
showTime
:
false
,
allowClear
:
true
,
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.
settlementList.schema.detailSchema.receiveStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.settlementList.schema.detailSchema.receiveEndTime'
})]
placeholder
:
[
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.
invoice.schema.payStartTime'
}),
intl
.
formatMessage
({
id
:
'balance.accountsReceivable.invoice.schema.payEndTime'
})],
},
},
...
...
src/pages/balance/hooks/useFetchBillData.tsx
View file @
392f3145
...
...
@@ -32,10 +32,10 @@ function useFetchBillData(getDetailApi) {
const
handleSearch
=
(
values
)
=>
{
const
format
=
'YYYY-MM-DD'
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
endTime
=
values
.
endTime
?
values
.
endTime
.
format
(
format
)
+
" 23:59:59"
:
""
;
const
receiveStartTime
=
values
.
receive
StartTime
?.
format
(
format
);
const
receiveEndTime
=
values
.
receiveEndTime
?
values
.
receiveEndTime
?.
format
(
format
)
+
" 23:59:59"
:
""
;
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
,
receiveStartTime
,
receive
EndTime
});
const
endTime
=
values
.
endTime
?
values
.
endTime
.
endOf
(
"day"
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
""
;
const
payStartTime
=
values
.
pay
StartTime
?.
format
(
format
);
const
payEndTime
=
values
.
payEndTime
?
values
.
payEndTime
.
endOf
(
"day"
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
""
;
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
,
payStartTime
,
pay
EndTime
});
}
return
{
ref
,
handleSearch
,
fetchListData
,
infoDetail
}
...
...
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