diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index e5d8d647..47257f4f 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -233,15 +233,15 @@ export const CouponTemplateTakeTypeEnum = {
export const PromotionProductScopeEnum = {
ALL: {
scope: 1,
- name: '全部商品参与'
+ name: '通用劵'
},
SPU: {
scope: 2,
- name: '指定商品参与'
+ name: '商品劵'
},
CATEGORY: {
scope: 3,
- name: '指定品类参与'
+ name: '品类劵'
}
}
diff --git a/src/views/mall/product/category/components/ProductCategorySelect.vue b/src/views/mall/product/category/components/ProductCategorySelect.vue
index b8011290..b257769a 100644
--- a/src/views/mall/product/category/components/ProductCategorySelect.vue
+++ b/src/views/mall/product/category/components/ProductCategorySelect.vue
@@ -24,7 +24,7 @@ const props = defineProps({
multiple: propTypes.bool.def(false) // 是否多选
})
-/** 选中的分类ID */
+/** 选中的分类 ID */
const selectCategoryId = computed({
get: () => {
return props.value
@@ -37,8 +37,8 @@ const selectCategoryId = computed({
/** 分类选择 */
const emit = defineEmits(['update:modelValue'])
+/** 初始化 **/
const categoryList = ref([]) // 分类树
-
onMounted(async () => {
// 获得分类树
const data = await ProductCategoryApi.getCategoryList({})
diff --git a/src/views/mall/promotion/coupon/components/CouponSend.vue b/src/views/mall/promotion/coupon/components/CouponSendForm.vue
similarity index 93%
rename from src/views/mall/promotion/coupon/components/CouponSend.vue
rename to src/views/mall/promotion/coupon/components/CouponSendForm.vue
index 44e6b13e..a4a90f43 100644
--- a/src/views/mall/promotion/coupon/components/CouponSend.vue
+++ b/src/views/mall/promotion/coupon/components/CouponSendForm.vue
@@ -1,5 +1,6 @@
-