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
cd1124dc
Commit
cd1124dc
authored
Apr 11, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复业务员业绩统计详情金额返回nul展示l的问题
parent
c0b9421b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
index.tsx
src/pages/transaction/salesPerformanceStatistics/index.tsx
+5
-5
index.tsx
...tics/statisticsDetail/components/statisticsList/index.tsx
+8
-8
No files found.
src/pages/transaction/salesPerformanceStatistics/index.tsx
View file @
cd1124dc
...
...
@@ -19,7 +19,7 @@ const SalesPerformanceStatistics: React.FC = () => {
const
[
paramsData
,
setParamsData
]
=
useState
<
{
name
:
string
,
time
:
string
,
organization
:
number
,
pageSize
:
number
,
current
:
number
}
>
()
const
defaultColumns
:
ColumnType
<
any
>
[]
=
[
{
title
:
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.name'
}),
dataIndex
:
'name'
,
...
...
@@ -93,14 +93,14 @@ const SalesPerformanceStatistics: React.FC = () => {
render
:
(
text
,
record
)
=>
(
<>
<
Link
to=
{
`/memberCenter/
tranactionAbility
/salesPerformanceStatistics/statisticsDetail?id=${record.userId}`
}
to=
{
`/memberCenter/
order
/salesPerformanceStatistics/statisticsDetail?id=${record.userId}`
}
>
<
Button
type=
"link"
>
{
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.view'
})
}
</
Button
>
</
Link
>
<
Link
to=
{
`/memberCenter/
tranactionAbility
/salesPerformanceStatistics/performanceDetail?id=${record.userId}`
}
to=
{
`/memberCenter/
order
/salesPerformanceStatistics/performanceDetail?id=${record.userId}`
}
>
<
Button
type=
"link"
>
{
intl
.
formatMessage
({
...
...
@@ -231,10 +231,10 @@ const SalesPerformanceStatistics: React.FC = () => {
type
:
'Search'
,
"x-component-props"
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.placeholder.name'
}),
allowClear
:
true
,
allowClear
:
true
,
}
},
}
}
}
...
...
src/pages/transaction/salesPerformanceStatistics/statisticsDetail/components/statisticsList/index.tsx
View file @
cd1124dc
...
...
@@ -78,7 +78,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -93,7 +93,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -105,7 +105,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -115,7 +115,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
align
:
'center'
,
width
:
260
,
render
:
(
text
,
record
)
=>
(
<
Button
type=
"link"
onClick=
{
()
=>
history
.
push
(
`/memberCenter/
tranactionAbility
/salesPerformanceStatistics/performanceDetail?id=${id}&subMemberId=${record.memberId}&subMemberRoleId=${record.memberRoleId}&memberName=${record.memberName}`
)
}
>
<
Button
type=
"link"
onClick=
{
()
=>
history
.
push
(
`/memberCenter/
order
/salesPerformanceStatistics/performanceDetail?id=${id}&subMemberId=${record.memberId}&subMemberRoleId=${record.memberRoleId}&memberName=${record.memberName}`
)
}
>
{
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.orderDetail'
,
})
}
...
...
@@ -172,7 +172,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -187,7 +187,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -198,7 +198,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
render
:
text
=>
`
${
intl
.
formatMessage
({
id
:
'salesPerformanceStatistics.currency'
,
})}${
text
}
`
,
})}${
text
||
'0'
}
`
,
},
{
title
:
intl
.
formatMessage
({
...
...
@@ -209,7 +209,7 @@ const StatistticsList: React.FC<{ searchType: string; id: number }> = ({
width
:
260
,
render
:
(
text
,
record
)
=>
(
<
Link
to=
{
`/memberCenter/
tranactionAbility
/salesPerformanceStatistics/performanceDetail?id=${id}&skuId=${record.skuId}&commodityName=${record.commodityName}`
}
to=
{
`/memberCenter/
order
/salesPerformanceStatistics/performanceDetail?id=${id}&skuId=${record.skuId}&commodityName=${record.commodityName}`
}
>
<
Button
type=
"link"
>
{
intl
.
formatMessage
({
...
...
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