Skip to content

Commit d1eab9e

Browse files
committed
promotion:增加满减送活动的前端 50%
1 parent 2a8e8e8 commit d1eab9e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/utils/constants.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,17 @@ export const PromotionProductScopeEnum = {
278278
name: '指定商品参与'
279279
}
280280
}
281+
282+
/**
283+
* 营销的条件类型枚举
284+
*/
285+
export const PromotionConditionTypeEnum = {
286+
PRICE: {
287+
type: 10,
288+
name: '满 N 元'
289+
},
290+
COUNT: {
291+
type: 20,
292+
name: '满 N 件'
293+
}
294+
}

src/utils/dict.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export const DICT_TYPE = {
6666
PROMOTION_COUPON_TEMPLATE_VALIDITY_TYPE: 'promotion_coupon_template_validity_type', // 优惠劵模板的有限期类型
6767
PROMOTION_COUPON_STATUS: 'promotion_coupon_status', // 优惠劵的状态
6868
PROMOTION_COUPON_TAKE_TYPE: 'promotion_coupon_take_type', // 优惠劵的领取方式
69+
PROMOTION_ACTIVITY_STATUS: 'promotion_activity_status', // 优惠活动的状态
70+
PROMOTION_CONDITION_TYPE: 'promotion_condition_type', // 营销的条件类型枚举
6971
}
7072

7173
/**

0 commit comments

Comments
 (0)