From 273351cb351bceaa903c3792efb62475eabfe415 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Fri, 17 Nov 2023 17:26:12 +0800 Subject: [PATCH] =?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 --- fuintCashierWeb/src/api/cashier/preferential.js | 10 ++++++++++ .../src/views/cashier/NewComponents/homeindex.vue | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 fuintCashierWeb/src/api/cashier/preferential.js diff --git a/fuintCashierWeb/src/api/cashier/preferential.js b/fuintCashierWeb/src/api/cashier/preferential.js new file mode 100644 index 000000000..f782629f2 --- /dev/null +++ b/fuintCashierWeb/src/api/cashier/preferential.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 扫码支付接口 +export function selectPreferential(data) { + return request({ + url: '/business/marketingActivity/activeExchange/selectConsumptionList', + method: 'get', + params: data + }) +} diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue index c8ab4fda7..79c0eaba2 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue @@ -1271,6 +1271,11 @@ this.getGrade(data.gradeId) this.changeRefuelMoney(); this.handleChange(); + + }, + // 调用优惠参数接口 + preferential(){ + }, // 查询该会员是否可使用优惠券 queryCoupon(list,id){