promotion:增加满减送活动的前端 50%

pull/2/head
YunaiV 2022-11-05 00:14:02 +08:00
parent 0e5b7734ac
commit 74b6ff1eef
2 changed files with 16 additions and 0 deletions

View File

@ -278,3 +278,17 @@ export const PromotionProductScopeEnum = {
name: '指定商品参与'
}
}
/**
* 营销的条件类型枚举
*/
export const PromotionConditionTypeEnum = {
PRICE: {
type: 10,
name: '满 N 元'
},
COUNT: {
type: 20,
name: '满 N 件'
}
}

View File

@ -66,6 +66,8 @@ export const DICT_TYPE = {
PROMOTION_COUPON_TEMPLATE_VALIDITY_TYPE: 'promotion_coupon_template_validity_type', // 优惠劵模板的有限期类型
PROMOTION_COUPON_STATUS: 'promotion_coupon_status', // 优惠劵的状态
PROMOTION_COUPON_TAKE_TYPE: 'promotion_coupon_take_type', // 优惠劵的领取方式
PROMOTION_ACTIVITY_STATUS: 'promotion_activity_status', // 优惠活动的状态
PROMOTION_CONDITION_TYPE: 'promotion_condition_type', // 营销的条件类型枚举
}
/**