diff --git a/src/api/mall/promotion/bargain/bargainActivity.ts b/src/api/mall/promotion/bargain/bargainActivity.ts index 1e5d5f78..a4b543a6 100644 --- a/src/api/mall/promotion/bargain/bargainActivity.ts +++ b/src/api/mall/promotion/bargain/bargainActivity.ts @@ -7,17 +7,16 @@ export interface BargainActivityVO { startTime?: Date endTime?: Date status?: number - userSize?: number // 达到该人数,才能砍到低价 + helpMaxCount?: number // 达到该人数,才能砍到低价 bargainCount?: number // 最大帮砍次数 totalLimitCount?: number // 最大购买次数 spuId: number skuId: number bargainFirstPrice: number // 砍价起始价格,单位分 - bargainPrice: number // 砍价底价 + bargainMinPrice: number // 砍价底价 stock: number // 活动库存 randomMinPrice?: number // 用户每次砍价的最小金额,单位:分 randomMaxPrice?: number // 用户每次砍价的最大金额,单位:分 - successCount?: number // 砍价成功数量 } // 砍价活动所需属性。选择的商品和属性的时候使用方便使用活动的通用封装 diff --git a/src/api/mall/promotion/bargain/bargainHelp.ts b/src/api/mall/promotion/bargain/bargainHelp.ts new file mode 100644 index 00000000..4308ae66 --- /dev/null +++ b/src/api/mall/promotion/bargain/bargainHelp.ts @@ -0,0 +1,14 @@ +import request from '@/config/axios' + +export interface BargainHelpVO { + id: number + record: number + userId: number + reducePrice: number + endTime: Date +} + +// 查询砍价记录列表 +export const getBargainHelpPage = async (params) => { + return await request.get({ url: `/promotion/bargain-help/page`, params }) +} diff --git a/src/views/mall/promotion/bargain/record/BargainRecordListDialog.vue b/src/views/mall/promotion/bargain/record/BargainRecordListDialog.vue new file mode 100644 index 00000000..9637ac88 --- /dev/null +++ b/src/views/mall/promotion/bargain/record/BargainRecordListDialog.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/views/mall/promotion/bargain/record/index.vue b/src/views/mall/promotion/bargain/record/index.vue index e3f284d2..80d5ce40 100644 --- a/src/views/mall/promotion/bargain/record/index.vue +++ b/src/views/mall/promotion/bargain/record/index.vue @@ -113,10 +113,10 @@ - 编辑 + 助力 @@ -130,8 +130,8 @@ /> - - + +