From 25b23881b08fa729241ea96702d24971ec364f51 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 22 Aug 2024 17:25:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91MALL:=20=E6=BB=A1=E5=87=8F=E9=80=81=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/promotion/reward/rewardActivity.ts | 4 +- .../promotion/rewardActivity/RewardForm.vue | 80 +++++++++++++------ 2 files changed, 58 insertions(+), 26 deletions(-) diff --git a/src/api/mall/promotion/reward/rewardActivity.ts b/src/api/mall/promotion/reward/rewardActivity.ts index b5c75570..0e7630ae 100644 --- a/src/api/mall/promotion/reward/rewardActivity.ts +++ b/src/api/mall/promotion/reward/rewardActivity.ts @@ -9,7 +9,9 @@ export interface RewardActivityVO { remark?: string conditionType?: number productScope?: number - productSpuIds?: number[] + productScopeValues?: number[] // 商品范围:值为 品类编号列表 或 商品编号列表 ,用于提交 + productCategoryIds?: number[] // 仅用于表单,不提交 + productSpuIds?: number[] // 仅用于表单,不提交 rules?: RewardRule[] } diff --git a/src/views/mall/promotion/rewardActivity/RewardForm.vue b/src/views/mall/promotion/rewardActivity/RewardForm.vue index 8bf14f3c..d1dfa9df 100644 --- a/src/views/mall/promotion/rewardActivity/RewardForm.vue +++ b/src/views/mall/promotion/rewardActivity/RewardForm.vue @@ -33,7 +33,7 @@ - + - - - - {{ item.name }} - - ¥{{ fenToYuan(item.price) }} - - - + + + + @@ -77,11 +69,11 @@