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
d705b24e
Commit
d705b24e
authored
Apr 14, 2022
by
leimo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' into 'v2-220418'
V2 220418 See merge request linkseeks-design/pro-platform!299
parents
e7db0d60
86cb486b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
detailLibrary.tsx
src/pages/priceManage/priceLibrary/detailLibrary.tsx
+11
-4
No files found.
src/pages/priceManage/priceLibrary/detailLibrary.tsx
View file @
d705b24e
...
...
@@ -5,6 +5,7 @@ import StandardTable from '@/components/StandardTable';
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
getIntl
,
history
}
from
'umi'
;
import
{
getProductPriceManagementGetGoodsPriceHistory
}
from
'@/services/ProductV2Api'
;
import
moment
from
'moment'
;
const
DetailLibrary
:
React
.
FC
<
{}
>
=
()
=>
{
const
ref
=
useRef
<
any
>
({});
...
...
@@ -36,16 +37,16 @@ const DetailLibrary: React.FC<{}> = () => {
title
:
getIntl
().
formatMessage
({
id
:
'priceManage.schema.formProduct.pinlei'
,
}),
dataIndex
:
'c
ustomerCategory
'
,
key
:
'c
ustomerCategory
'
,
dataIndex
:
'c
ategoryName
'
,
key
:
'c
ategoryName
'
,
render
:
text
=>
text
?.
name
,
},
{
title
:
getIntl
().
formatMessage
({
id
:
'priceManage.schema.formProduct.pinpai'
,
}),
dataIndex
:
'
unit
Name'
,
key
:
'
unit
Name'
,
dataIndex
:
'
brand
Name'
,
key
:
'
brand
Name'
,
render
:
text
=>
text
?.
name
,
},
{
...
...
@@ -103,6 +104,9 @@ const DetailLibrary: React.FC<{}> = () => {
}),
dataIndex
:
'effectiveStartTime'
,
key
:
'effectiveStartTime'
,
render
:
text
=>
{
return
text
?
moment
(
text
).
format
(
'YYYY-MM-DD'
)
:
undefined
;
},
},
{
title
:
getIntl
().
formatMessage
({
...
...
@@ -110,6 +114,9 @@ const DetailLibrary: React.FC<{}> = () => {
}),
dataIndex
:
'effectiveEndTime'
,
key
:
'effectiveEndTime'
,
render
:
text
=>
{
return
text
?
moment
(
text
).
format
(
'YYYY-MM-DD'
)
:
undefined
;
},
},
];
const
fetchData
=
(
params
:
any
)
=>
{
...
...
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