Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
31b7c6b4
Commit
31b7c6b4
authored
Nov 30, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复字段取错的问题
parent
d85b260e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
index.tsx
...ingManage/platformCoupon/components/RunningInfo/index.tsx
+9
-6
No files found.
src/pages/marketingManage/platformCoupon/components/RunningInfo/index.tsx
View file @
31b7c6b4
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-28 18:06:53
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-11-
12 14:25:22
* @LastEditTime: 2021-11-
30 19:46:56
* @Description: 执行明细
*/
import
React
,
{
useRef
,
}
from
'react'
;
...
...
@@ -178,19 +178,22 @@ const RunningInfo: React.FC<IProps> = (props) => {
},
{
title
:
'适用用户'
,
dataIndex
:
'
bransuitableMemberTypeNamed
'
,
dataIndex
:
'
suitableMemberTypeName
'
,
},
{
title
:
'领(发)放劵时间'
,
dataIndex
:
'createTimeStart'
,
dataIndex
:
'createTime'
,
render
:
(
text
)
=>
text
?
moment
(
text
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
},
{
title
:
'劵有效期起始时间'
,
dataIndex
:
'effectiveTimeStart'
,
dataIndex
:
'validTimeStart'
,
render
:
(
text
)
=>
text
?
moment
(
text
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
},
{
title
:
'券有效期截止时间'
,
dataIndex
:
'effectiveTimeEnd'
,
dataIndex
:
'validTimeEnd'
,
render
:
(
text
)
=>
text
?
moment
(
text
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
},
{
title
:
'关联订单'
,
...
...
@@ -207,7 +210,7 @@ const RunningInfo: React.FC<IProps> = (props) => {
{
title
:
'订单金额'
,
dataIndex
:
'amount'
,
render
:
(
text
)
=>
`¥
${
text
||
''
}
`
,
render
:
(
text
)
=>
`¥
${
text
||
'
0
'
}
`
,
},
{
title
:
'订单状态'
,
...
...
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