mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-09-10 23:22:01 +08:00
feat: mall 优惠券 初稿
This commit is contained in:
@@ -220,3 +220,81 @@ export const PayRefundStatusEnum = {
|
||||
name: '退款关闭'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 优惠劵模板的有限期类型的枚举
|
||||
*/
|
||||
export const CouponTemplateValidityTypeEnum = {
|
||||
DATE: {
|
||||
type: 1,
|
||||
name: '固定日期可用'
|
||||
},
|
||||
TERM: {
|
||||
type: 2,
|
||||
name: '领取之后可用'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 营销的商品范围枚举
|
||||
*/
|
||||
export const PromotionProductScopeEnum = {
|
||||
ALL: {
|
||||
scope: 1,
|
||||
name: '全部商品参与'
|
||||
},
|
||||
SPU: {
|
||||
scope: 2,
|
||||
name: '指定商品参与'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 营销的条件类型枚举
|
||||
*/
|
||||
export const PromotionConditionTypeEnum = {
|
||||
PRICE: {
|
||||
type: 10,
|
||||
name: '满 N 元'
|
||||
},
|
||||
COUNT: {
|
||||
type: 20,
|
||||
name: '满 N 件'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 促销活动的状态枚举
|
||||
*/
|
||||
export const PromotionActivityStatusEnum = {
|
||||
WAIT: {
|
||||
type: 10,
|
||||
name: '未开始'
|
||||
},
|
||||
RUN: {
|
||||
type: 20,
|
||||
name: '进行中'
|
||||
},
|
||||
END: {
|
||||
type: 30,
|
||||
name: '已结束'
|
||||
},
|
||||
CLOSE: {
|
||||
type: 40,
|
||||
name: '已关闭'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 优惠类型枚举
|
||||
*/
|
||||
export const PromotionDiscountTypeEnum = {
|
||||
PRICE: {
|
||||
type: 1,
|
||||
name: '满减'
|
||||
},
|
||||
PERCENT: {
|
||||
type: 2,
|
||||
name: '折扣'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user