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
黄庭坚
jinfa-platform
Commits
91674da4
Commit
91674da4
authored
Nov 12, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 没有领取条件不做展示
parent
4f480dc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
index.tsx
...ngAbility/merchantCoupon/components/CouponRules/index.tsx
+11
-6
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/components/CouponRules/index.tsx
View file @
91674da4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-22 16:45:58
* @Date: 2021-06-22 16:45:58
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-
09-22 15:39:01
* @LastEditTime: 2021-
11-12 11:47:16
* @Description: 优惠券规则
* @Description: 优惠券规则
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
...
@@ -86,10 +86,15 @@ const CouponRules: React.FC<PropsType> = (props: PropsType) => {
...
@@ -86,10 +86,15 @@ const CouponRules: React.FC<PropsType> = (props: PropsType) => {
title
:
'使用条件'
,
title
:
'使用条件'
,
value
:
`订单满 ¥
${
dataSource
.
useConditionMoney
||
''
}
使用`
,
value
:
`订单满 ¥
${
dataSource
.
useConditionMoney
||
''
}
使用`
,
},
},
{
(
title
:
'领取条件'
,
dataSource
.
conditionGetTotal
value
:
`每会员ID总共可领取
${
dataSource
.
conditionGetTotal
}
张,每日
${
dataSource
.
conditionGetDay
}
张`
,
&&
dataSource
.
conditionGetDay
},
?
{
title
:
'领取条件'
,
value
:
`每会员ID总共可领取
${
dataSource
.
conditionGetTotal
}
张,每日
${
dataSource
.
conditionGetDay
}
张`
,
}
:
null
),
{
{
title
:
'有效期结束时间'
,
title
:
'有效期结束时间'
,
value
:
dataSource
.
effectiveTimeEnd
?
moment
(
dataSource
.
effectiveTimeEnd
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
`领取
${
dataSource
.
invalidDay
||
''
}
天后失效`
,
value
:
dataSource
.
effectiveTimeEnd
?
moment
(
dataSource
.
effectiveTimeEnd
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
`领取
${
dataSource
.
invalidDay
||
''
}
天后失效`
,
...
@@ -98,7 +103,7 @@ const CouponRules: React.FC<PropsType> = (props: PropsType) => {
...
@@ -98,7 +103,7 @@ const CouponRules: React.FC<PropsType> = (props: PropsType) => {
title
:
'使用说明'
,
title
:
'使用说明'
,
value
:
dataSource
.
useConditionDesc
,
value
:
dataSource
.
useConditionDesc
,
},
},
];
]
.
filter
(
Boolean
)
;
return
(
return
(
<
CustomizeColumn
<
CustomizeColumn
...
...
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