diff --git a/src/api/mall/promotion/combination/combinationactivity.ts b/src/api/mall/promotion/combination/combinationactivity.ts
index 8ecf85bd..1e211c86 100644
--- a/src/api/mall/promotion/combination/combinationactivity.ts
+++ b/src/api/mall/promotion/combination/combinationactivity.ts
@@ -4,7 +4,7 @@ import { Sku, Spu } from '@/api/mall/product/spu'
export interface CombinationActivityVO {
id?: number
name?: string
- spuIds?: number[]
+ spuId?: number
totalLimitCount?: number
singleLimitCount?: number
startTime?: Date
@@ -27,7 +27,7 @@ export interface CombinationProductVO {
}
// 扩展 Sku 配置
-type SkuExtension = Sku & {
+export type SkuExtension = Sku & {
productConfig: CombinationProductVO
}
@@ -59,8 +59,3 @@ export const updateCombinationActivity = async (data: CombinationActivityVO) =>
export const deleteCombinationActivity = async (id: number) => {
return await request.delete({ url: '/promotion/combination-activity/delete?id=' + id })
}
-
-// 导出拼团活动 Excel
-export const exportCombinationActivity = async (params) => {
- return await request.download({ url: '/promotion/combination-activity/export-excel', params })
-}
diff --git a/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue b/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue
index cfbe107f..36ede848 100644
--- a/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue
+++ b/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue
@@ -7,7 +7,7 @@
:rules="rules"
:schema="allSchemas.formSchema"
>
-
+
选择商品
取 消
-
+
diff --git a/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue b/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue
index b71b3b90..ac7a06b6 100644
--- a/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue
+++ b/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue
@@ -87,7 +87,6 @@ const selectSpu = (spuId: number, skuIds: number[]) => {
}
/**
* 获取 SPU 详情
- * @param spuIds
*/
const getSpuDetails = async (
spuId: number,
@@ -113,7 +112,7 @@ const getSpuDetails = async (
if (typeof products !== 'undefined') {
const product = products.find((item) => item.skuId === sku.id)
if (product) {
- // 元转分
+ // 分转元
product.seckillPrice = formatToFraction(product.seckillPrice)
}
config = product || config