From 484b6a6dad785646fb6f24acd1dda0280a857156 Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Tue, 3 Nov 2026 16:29:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81?= =?UTF-8?q?=E4=BF=83=E9=94=80=E9=A1=B5=E9=9D=A2=E5=B9=B6=E7=8B=AC=E7=AB=8B?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=AE=9A=E6=97=B6=E4=B8=8A=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增平台、商家定时上架独立页面,平台列表仅供查看 - 虚拟销量支持状态筛选及右侧抽屉设置,修复编码显示问题 - 统一列表操作栏,优化商品选择器、砍价、积分及优惠券页面 - 两端新增活动优惠券入口,隐藏创建表单中的活动类型字段 - 移除限时直降、第 N 件优惠页面、路由、接口调用及缓存菜单入口 验证:26 个改动前端文件编译或语法检查通过,暂存差异格式检查通过。 --- manager/src/api/promotion.js | 5 - .../components/lili-dialog/goods-dialog.vue | 4 +- manager/src/components/lili-dialog/index.vue | 3 +- manager/src/components/list-action-bar.vue | 30 ++ manager/src/libs/util.js | 2 + manager/src/router/router.js | 18 +- manager/src/views/goods-unit/index.vue | 5 +- manager/src/views/goods/goods-info/goods.vue | 28 +- .../src/views/goods/goods-manage/brand.vue | 39 +- .../src/views/goods/goods-manage/category.vue | 5 +- .../views/goods/goods-manage/parameter.vue | 12 +- manager/src/views/goods/group/index.vue | 39 +- .../src/views/goods/scheduled-upper/index.vue | 14 + .../src/views/goods/virtual-sales/index.vue | 81 +++- .../promotions/coupon/coupon-publish.vue | 261 ++++++++----- .../src/views/promotions/coupon/coupon.vue | 27 +- .../flash-discount/flash-discount.vue | 30 -- .../gift-card-cash-activity-add.vue | 15 +- .../kanjia/kanjia-activity-add-goods.vue | 148 +++++--- .../nth-item-discount/nth-item-discount.vue | 31 -- .../points-goods/points-goods-add.vue | 347 +++++++++++------- seller/src/api/promotion.js | 13 - seller/src/libs/util.js | 9 + seller/src/router/router.js | 18 +- seller/src/views/goods/goods-seller/goods.vue | 17 +- .../src/views/goods/scheduled-upper/index.vue | 14 + .../views/promotion/coupon/coupon-publish.vue | 16 +- seller/src/views/promotion/coupon/coupon.vue | 18 + .../flash-discount/flash-discount-add.vue | 151 -------- .../flash-discount/flash-discount.vue | 100 ----- .../nth-item-discount-add.vue | 139 ------- .../nth-item-discount/nth-item-discount.vue | 107 ------ 32 files changed, 735 insertions(+), 1011 deletions(-) create mode 100644 manager/src/components/list-action-bar.vue create mode 100644 manager/src/views/goods/scheduled-upper/index.vue delete mode 100644 manager/src/views/promotions/flash-discount/flash-discount.vue delete mode 100644 manager/src/views/promotions/nth-item-discount/nth-item-discount.vue create mode 100644 seller/src/views/goods/scheduled-upper/index.vue delete mode 100644 seller/src/views/promotion/flash-discount/flash-discount-add.vue delete mode 100644 seller/src/views/promotion/flash-discount/flash-discount.vue delete mode 100644 seller/src/views/promotion/nth-item-discount/nth-item-discount-add.vue delete mode 100644 seller/src/views/promotion/nth-item-discount/nth-item-discount.vue diff --git a/manager/src/api/promotion.js b/manager/src/api/promotion.js index 28de8cc2a..7196bd34b 100644 --- a/manager/src/api/promotion.js +++ b/manager/src/api/promotion.js @@ -283,11 +283,6 @@ export const getCouponReceiveList = (params) => { return getRequest("/promotion/coupon/received", params); }; -export const getFlashDiscountList = (params) => getRequest("/promotion/flashDiscount", params); -export const getFlashDiscountDetail = (id) => getRequest(`/promotion/flashDiscount/${id}`); -export const updateFlashDiscountStatus = (id, params) => putRequest(`/promotion/flashDiscount/status/${id}`, params); -export const deleteFlashDiscount = (id) => deleteRequest(`/promotion/flashDiscount/${id}`); -export const getNthItemDiscountList = (params) => getRequest("/promotion/nthItemDiscount", params); // 现金礼品卡活动分页 export const getGiftCardCashActivityPage = (params) => { diff --git a/manager/src/components/lili-dialog/goods-dialog.vue b/manager/src/components/lili-dialog/goods-dialog.vue index 028c3844b..498088384 100644 --- a/manager/src/components/lili-dialog/goods-dialog.vue +++ b/manager/src/components/lili-dialog/goods-dialog.vue @@ -61,7 +61,7 @@ align="center" reserve-selection /> - + +