Commit f1894344 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改营销活动活动规则秒杀的展示

parent 079143d4
...@@ -292,18 +292,18 @@ export const GeneralEffect = (int, data) => { ...@@ -292,18 +292,18 @@ export const GeneralEffect = (int, data) => {
return [ return [
{ {
col: [ col: [
{ label: '每日秒杀时间段', extra: '' }, { label: '每日秒杀时间段', extra: <>{format(data.startTime, 'HH:mm:ss')}~{format(data.endTime, 'HH:mm:ss')}</> },
{ label: '活动描述', extra: data.describe } { label: '活动描述', extra: data.describe }
] ]
}, },
{ {
col: [ col: [
{ label: '叠加优惠券', extra: '' }, { label: '叠加优惠券', extra: data.allowCoupon ? '允许叠加' : '不允许叠加' },
] ]
}, },
{ {
col: [ col: [
{ label: '超限规则', extra: '' }, { label: '超限规则', extra: data.exceedRule === 1 ? '原价购买' : '不可购买' },
] ]
} }
] ]
...@@ -341,18 +341,18 @@ export const GeneralEffect = (int, data) => { ...@@ -341,18 +341,18 @@ export const GeneralEffect = (int, data) => {
return [ return [
{ {
col: [ col: [
{ label: '定金支付时间', extra: '' }, { label: '定金支付时间', extra: <>{format(data.depositPayStartTime, 'HH:mm:ss')}~{format(data.depositPayEndTime, 'HH:mm:ss')}</> },
{ label: '活动描述', extra: data.describe }, { label: '活动描述', extra: data.describe },
] ]
}, },
{ {
col: [ col: [
{ label: '尾款支付时间', extra: '' }, { label: '尾款支付时间', extra: <>{format(data.balancePaymentPayStartTime, 'HH:mm:ss')}~{format(data.balancePaymentPayEndTime, 'HH:mm:ss')}</> },
] ]
}, },
{ {
col: [ col: [
{ label: '开始发货时间', extra: '' }, { label: '开始发货时间', extra: format(data.deliverTime, 'HH:mm:ss') },
] ]
} }
] ]
......
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