From a62eb3273405da700929641af961f5ad530eeb6f Mon Sep 17 00:00:00 2001 From: "@QQNZX" Date: Mon, 20 Nov 2023 09:28:45 +0800 Subject: [PATCH 1/6] 11.20 --- .../views/EventMarketing/SaveBlock/index.vue | 2 +- .../activeConsumption/index.vue | 4 ++-- .../EventMarketing/activeDiscount/index.vue | 4 ++-- .../EventMarketing/activeFullminus/index.vue | 4 ++-- .../EventMarketing/cardFavorable/index.vue | 20 +++++++++++++------ fuintAdmin/src/views/member/index.vue | 2 +- fuintAdmin/src/views/userGrade/index.vue | 2 +- .../views/cashier/components/memberList.vue | 2 +- .../views/cashier/components/memberList.vue | 2 +- .../views/cashier/vipComponents/vipList.vue | 2 +- 10 files changed, 26 insertions(+), 18 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue index 111d1319c..2b85187c9 100644 --- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue @@ -176,7 +176,7 @@ - + diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index 48e1b26ee..f1d47ff7f 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -321,8 +321,8 @@ placeholder="请选择活动结束时间"> - - + + diff --git a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue index f38b4ec1f..4d3ae203b 100644 --- a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue @@ -135,8 +135,8 @@ - - + + diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index cbc38cd02..fcb8805b5 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -141,8 +141,8 @@ {{item.oilType}}{{item.oilName}} - - + + diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue index bbc2d8332..1d077bda2 100644 --- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue +++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue @@ -144,10 +144,6 @@ - - - - @@ -186,7 +182,15 @@ - 领券后立即生效,有效期 + + + 领券后立即生效,有效期 + + + + + + 固定有效周期,固定开始日期 - 领券后第 有效期 + + 领券后第 + + 有效期 + diff --git a/fuintAdmin/src/views/member/index.vue b/fuintAdmin/src/views/member/index.vue index 4167c3486..43f8240f6 100644 --- a/fuintAdmin/src/views/member/index.vue +++ b/fuintAdmin/src/views/member/index.vue @@ -549,7 +549,7 @@ export default { { required: true, message: "会员名称不能为空", trigger: "blur" }, { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' } ], - gradeId: [{ required: true, message: "请选择会员等级", trigger: "blur" }], + gradeId: [{ required: true, message: "会员等级", trigger: "blur" }], mobile: [ { required: true, message: "请输入手机号", trigger: "blur" }, ], diff --git a/fuintAdmin/src/views/userGrade/index.vue b/fuintAdmin/src/views/userGrade/index.vue index b39808b1f..f8c175994 100644 --- a/fuintAdmin/src/views/userGrade/index.vue +++ b/fuintAdmin/src/views/userGrade/index.vue @@ -549,7 +549,7 @@ export default { { required: true, message: "请选择优惠类型", trigger: "blur" }, ], status: [ - { required: true, message: "请选择会员等级状态", trigger: "blur" }, + { required: true, message: "会员等级状态", trigger: "blur" }, ], discount: [ { required: true, message: "请输入支付折扣", trigger: "blur" }, diff --git a/fuintCashier/src/renderer/views/cashier/components/memberList.vue b/fuintCashier/src/renderer/views/cashier/components/memberList.vue index c7e8d031b..6758e9901 100644 --- a/fuintCashier/src/renderer/views/cashier/components/memberList.vue +++ b/fuintCashier/src/renderer/views/cashier/components/memberList.vue @@ -358,7 +358,7 @@ export default { { required: true, message: "会员名称不能为空", trigger: "blur" }, { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' } ], - gradeId: [{ required: true, message: "请选择会员等级", trigger: "blur" }] + gradeId: [{ required: true, message: "会员等级", trigger: "blur" }] } }; }, diff --git a/fuintCashierWeb/src/views/cashier/components/memberList.vue b/fuintCashierWeb/src/views/cashier/components/memberList.vue index 744957e53..10db77dff 100644 --- a/fuintCashierWeb/src/views/cashier/components/memberList.vue +++ b/fuintCashierWeb/src/views/cashier/components/memberList.vue @@ -358,7 +358,7 @@ export default { { required: true, message: "会员名称不能为空", trigger: "blur" }, { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' } ], - gradeId: [{ required: true, message: "请选择会员等级", trigger: "blur" }] + gradeId: [{ required: true, message: "会员等级", trigger: "blur" }] } }; }, diff --git a/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue b/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue index c27d42456..9baf7bfc5 100644 --- a/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue +++ b/fuintCashierWeb/src/views/cashier/vipComponents/vipList.vue @@ -608,7 +608,7 @@ { required: true, message: "会员名称不能为空", trigger: "blur" }, { min: 2, max: 200, message: '会员名称长度必须介于2 和 100 之间', trigger: 'blur' } ], - gradeId: [{ required: true, message: "请选择会员等级", trigger: "blur" }], + gradeId: [{ required: true, message: "会员等级", trigger: "blur" }], mobile: [ { required: true, message: "请输入手机号", trigger: "blur" }, ], From 53524364dc140cbdf7b7c720cb603d4e1bc9a273 Mon Sep 17 00:00:00 2001 From: "@QQNZX" Date: Mon, 20 Nov 2023 11:23:38 +0800 Subject: [PATCH 2/6] =?UTF-8?q?11.20=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/Sidebar/Logo.vue | 1 + .../layout/components/Sidebar/SidebarItem.vue | 3 +- .../src/layout/components/Sidebar/index.vue | 4 +- .../activeConsumption/index.vue | 54 +++++++++++++------ .../EventMarketing/activeDiscount/index.vue | 53 +++++++++++------- .../EventMarketing/activeFullminus/index.vue | 51 ++++++++++++------ .../EventMarketing/activeNewlyweds/index.vue | 54 +++++++++++++------ .../EventMarketing/cardFavorable/index.vue | 43 ++++++++++----- .../views/cashier/NewComponents/WriteOff.vue | 5 +- 9 files changed, 180 insertions(+), 88 deletions(-) diff --git a/fuintAdmin/src/layout/components/Sidebar/Logo.vue b/fuintAdmin/src/layout/components/Sidebar/Logo.vue index 116863e0a..32af97d43 100644 --- a/fuintAdmin/src/layout/components/Sidebar/Logo.vue +++ b/fuintAdmin/src/layout/components/Sidebar/Logo.vue @@ -4,6 +4,7 @@

{{ title }}

+
diff --git a/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue b/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue index d15016d1e..b03d1a487 100644 --- a/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue +++ b/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue @@ -10,7 +10,7 @@ + diff --git a/fuintAdmin/src/layout/components/Sidebar/index.vue b/fuintAdmin/src/layout/components/Sidebar/index.vue index dfecc0fd4..6c6122398 100644 --- a/fuintAdmin/src/layout/components/Sidebar/index.vue +++ b/fuintAdmin/src/layout/components/Sidebar/index.vue @@ -10,9 +10,9 @@ :default-active="activeMenu" :collapse="false" :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground" - :text-color="settings.sideTheme === 'theme-dark' ? variables.menuColor : variables.menuLightColor" + text-color="#ffffff" :unique-opened="true" - :active-text-color="settings.theme" + active-text-color="#409eff" :collapse-transition="false" mode="vertical" style="margin-bottom: 80px;" diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index f1d47ff7f..379bd8c36 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -44,6 +44,12 @@ + + @@ -305,22 +311,32 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -621,7 +637,7 @@ export default { activeStartTime: [ { required: true, message: '必填项不能为空', trigger: 'blur' }, ], - activeEndTime00: [ + activeEndTime: [ { required: true, message: '必填项不能为空', trigger: 'blur' }, ], adaptUserType: [ @@ -666,6 +682,9 @@ export default { this.listUserGrade() }, methods: { + indexMethod(index) { + return index * 2; + }, /** 查询消费有礼活动列表 */ getList() { this.loading = true; @@ -1044,5 +1063,6 @@ export default { display: flex; justify-content: space-between; align-items: center; + font-size: 18px; } diff --git a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue index 4d3ae203b..7a04c721b 100644 --- a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue @@ -43,7 +43,12 @@ - + + @@ -90,7 +95,7 @@ - + @@ -113,22 +118,34 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + {{item.oilType}}{{item.oilName}} diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index fcb8805b5..e4da99429 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -43,7 +43,12 @@ - + + @@ -120,22 +125,34 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + {{item.oilType}}{{item.oilName}} diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue index 0a9296dcf..b083e3067 100644 --- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue @@ -44,7 +44,12 @@ - + + @@ -116,22 +121,28 @@ - - - - - - - - + + + + + + + + + + + + + + @@ -813,3 +824,12 @@ export default { } }; + diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue index 1d077bda2..03568b261 100644 --- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue +++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue @@ -183,27 +183,35 @@ - - 领券后立即生效,有效期 - + +
领券后立即生效,有效期 - +
+ +
- - 固定有效周期,固定开始日期 +
+ 固定有效周期,固定开始日期 + - 有效期 - + 有效期 + +
- 领券后第 + +
+ 领券后第 有效期 +
+
@@ -295,7 +303,6 @@
- 取 消 确 定 @@ -450,6 +457,7 @@ export default { count: null, qrCodeLink: null, status: null, + effectiveDateType:'0' }, tongji:{ id:'', @@ -580,8 +588,8 @@ export default { storeId: null, isonline: 0, name: null, - type: null, - discountType: null, + type: "0", + discountType: "0", oilType: [], fullDeduction: null, discountAmount: null, @@ -717,6 +725,10 @@ export default { }; diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/WriteOff.vue b/fuintCashierWeb/src/views/cashier/NewComponents/WriteOff.vue index 7332c39e8..c5ef4be91 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/WriteOff.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/WriteOff.vue @@ -75,7 +75,7 @@ export default { this.couponList = response.data.records; this.total = response.data.total if( response.data.total == 0){ - this.$message.error("未找到兑换券") + }else{ } @@ -98,9 +98,6 @@ export default { this.getList() } }) - - - }).catch(() => { this.$message({ type: 'info', From 5568c13c047c7936b3ed47cb80b0b7f8964d82db Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Mon, 20 Nov 2023 14:27:22 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E6=94=B6=E9=93=B6=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ActiveExchangeServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java index 1a1699159..846cb55f6 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java @@ -157,10 +157,10 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { MaxoutVO maxoutVO = new MaxoutVO(); BeanUtils.copyProperties(activeFullminus,maxoutVO); LambdaQueryWrapper queryWrappers = new LambdaQueryWrapper<>(); - queryWrappers.eq(ActiveDiscountChild::getActiveDiscountId,activeFullminus.getId()); + queryWrappers.eq(ActiveDiscountChild::getActiveFullminusId,activeFullminus.getId()); //判断符合金额 queryWrappers.le(ActiveDiscountChild::getAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters()); - queryWrappers.orderByDesc(ActiveDiscountChild::getCreateTime); + queryWrappers.orderByDesc(ActiveDiscountChild::getAmount); maxoutVO.setActiveDiscountChildList(activeDiscountChildService.list(queryWrappers)); maxoutVOArrayList.add(maxoutVO); } @@ -184,7 +184,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { queryWrappers.eq(ActiveDiscountChild::getActiveDiscountId,activeDiscount.getId()); //判断符合金额 queryWrappers.le(ActiveDiscountChild::getAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters()); - queryWrappers.orderByDesc(ActiveDiscountChild::getCreateTime); + queryWrappers.orderByDesc(ActiveDiscountChild::getAmount); maxoutVO.setActiveDiscountChildList(activeDiscountChildService.list(queryWrappers)); maxoutVOArrayList.add(maxoutVO); } From 0524b13b3cd025e15326e7e4aa7eb62b1959ae8e Mon Sep 17 00:00:00 2001 From: "@QQNZX" Date: Mon, 20 Nov 2023 17:52:14 +0800 Subject: [PATCH 4/6] =?UTF-8?q?11.20=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/router/index.js | 1 - .../views/EventMarketing/SaveBlock/index.vue | 6 - .../activeConsumption/index.vue | 3 +- .../EventMarketing/activeDiscount/index.vue | 2 +- .../EventMarketing/activeFullminus/index.vue | 2 +- .../EventMarketing/activeNewlyweds/index.vue | 2 +- .../EventMarketing/activeRecommend/index.vue | 2 +- .../src/views/EventMarketing/center/index.vue | 104 +++++++++++++++--- .../src/views/EventMarketing/coupon/index.vue | 1 - 9 files changed, 93 insertions(+), 30 deletions(-) diff --git a/fuintAdmin/src/router/index.js b/fuintAdmin/src/router/index.js index 4e1449667..3fbc1454c 100644 --- a/fuintAdmin/src/router/index.js +++ b/fuintAdmin/src/router/index.js @@ -83,7 +83,6 @@ export const constantRoutes = [ } ] }, - { path: '/oilPurchase', component: Layout, diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue index 2b85187c9..aeeeaf951 100644 --- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue @@ -30,7 +30,6 @@ 普通群体 等级会员 -
- - - - - diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index 379bd8c36..2b0b243aa 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -1,5 +1,5 @@