promotion:实现部分优惠劵模板的前端表单 80%

This commit is contained in:
YunaiV
2022-11-02 00:35:53 +08:00
parent dc51a93533
commit 2aaeb7af88
4 changed files with 119 additions and 95 deletions

View File

@ -264,3 +264,17 @@ export const CouponTemplateValidityTypeEnum = {
name: '领取之后可用'
}
}
/**
* 营销的商品范围枚举
*/
export const PromotionProductScopeEnum = {
ALL: {
scope: 1,
name: '全部商品参与'
},
SPU: {
scope: 2,
name: '指定商品参与'
}
}

View File

@ -62,6 +62,8 @@ export const DICT_TYPE = {
// ========== MALL - PROMOTION 模块 ==========
PROMOTION_DISCOUNT_TYPE: 'promotion_discount_type', // 优惠类型
PROMOTION_PRODUCT_SCOPE: 'promotion_product_scope', // 营销的商品范围
COUPON_TEMPLATE_VALIDITY_TYPE: 'coupon_template_validity_type', // 优惠劵模板的有限期类型
}
/**