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
linweijiong
jinfa-platform
Commits
0e8c6e5d
Commit
0e8c6e5d
authored
Nov 30, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复字段取错的问题
parent
c6f89914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
index.tsx
...ngAbility/merchantCoupon/components/RunningInfo/index.tsx
+10
-7
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/components/RunningInfo/index.tsx
View file @
0e8c6e5d
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-28 18:06:53
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-
08-02 11:16:1
5
* @LastEditTime: 2021-
11-30 19:43:4
5
* @Description: 执行明细
*/
import
React
,
{
useRef
,
}
from
'react'
;
...
...
@@ -10,13 +10,13 @@ import { createFormActions } from '@formily/antd';
import
{
DatePicker
}
from
'@formily/antd-components'
;
import
{
StandardTable
}
from
'god'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
moment
from
'moment'
;
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
MellowCard
,
{
MellowCardProps
}
from
'@/components/MellowCard'
;
import
{
querySchema
}
from
'./schema'
;
import
moment
from
'moment'
;
import
{
getMarketingCouponWaiteExecuteDetailPage
,
getMarketingCouponWaiteExecuteDetailPageCondition
}
from
'@/services/MarketingV2Api'
;
const
formActions
=
createFormActions
();
...
...
@@ -175,19 +175,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
:
'关联订单'
,
...
...
@@ -204,7 +207,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