Commit 006bb6da authored by 前端-许冠华's avatar 前端-许冠华

Merge branch 'fix-220418' into 'v2-220418'

fix: 业绩订单明细没有商品售后退款金额时显示0 See merge request linkseeks-design/pro-platform!155
parents 4f716d01 21002b86
...@@ -63,7 +63,7 @@ const PerformanceDetail: React.FC = () => { ...@@ -63,7 +63,7 @@ const PerformanceDetail: React.FC = () => {
render: text => render: text =>
`${intl.formatMessage({ `${intl.formatMessage({
id: 'salesPerformanceStatistics.currency', id: 'salesPerformanceStatistics.currency',
})}${text}`, })}${text || '0.00'}`,
}, },
{ {
title: intl.formatMessage({ title: intl.formatMessage({
...@@ -74,7 +74,7 @@ const PerformanceDetail: React.FC = () => { ...@@ -74,7 +74,7 @@ const PerformanceDetail: React.FC = () => {
render: text => render: text =>
(<span style={{color:'#ce586c'}}>{`-${intl.formatMessage({ (<span style={{color:'#ce586c'}}>{`-${intl.formatMessage({
id: 'salesPerformanceStatistics.currency', id: 'salesPerformanceStatistics.currency',
})}${text}`}</span>) , })}${text || '0.00'}`}</span>) ,
}, },
{ {
title: intl.formatMessage({ title: intl.formatMessage({
...@@ -85,7 +85,7 @@ const PerformanceDetail: React.FC = () => { ...@@ -85,7 +85,7 @@ const PerformanceDetail: React.FC = () => {
render: text => render: text =>
`${intl.formatMessage({ `${intl.formatMessage({
id: 'salesPerformanceStatistics.currency', id: 'salesPerformanceStatistics.currency',
})}${text}`, })}${text || '0.00'}`,
}, },
{ {
title: intl.formatMessage({ title: intl.formatMessage({
...@@ -96,7 +96,7 @@ const PerformanceDetail: React.FC = () => { ...@@ -96,7 +96,7 @@ const PerformanceDetail: React.FC = () => {
render: text => render: text =>
`${intl.formatMessage({ `${intl.formatMessage({
id: 'salesPerformanceStatistics.currency', id: 'salesPerformanceStatistics.currency',
})}${text}`, })}${text || '0.00'}`,
}, },
{ {
title: intl.formatMessage({ title: intl.formatMessage({
...@@ -107,7 +107,7 @@ const PerformanceDetail: React.FC = () => { ...@@ -107,7 +107,7 @@ const PerformanceDetail: React.FC = () => {
render: text => render: text =>
`${intl.formatMessage({ `${intl.formatMessage({
id: 'salesPerformanceStatistics.currency', id: 'salesPerformanceStatistics.currency',
})}${text}`, })}${text || '0.00'}`,
}, },
{ {
title: intl.formatMessage({ title: intl.formatMessage({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment