diff --git a/fuintAdmin/src/api/EventMarketing/activeConsumption.js b/fuintAdmin/src/api/EventMarketing/activeConsumption.js index bf5f10526..5bd2999ea 100644 --- a/fuintAdmin/src/api/EventMarketing/activeConsumption.js +++ b/fuintAdmin/src/api/EventMarketing/activeConsumption.js @@ -8,6 +8,7 @@ export function listActiveConsumption(query) { params: query }) } +//优惠券 export function listFavorable(query) { return request({ url: 'business/marketingActivity/cardFavorable', @@ -15,11 +16,27 @@ export function listFavorable(query) { params: query }) } +// 兑换券 +export function listExchange(query) { + return request({ + url: 'business/marketingActivity/cardExchange', + method: 'get', + params: query + }) +} +// 实物 +export function listLJGoods(query) { + return request({ + url: 'business/convenience/goods/list', + method: 'get', + params: query + }) +} // 查询消费有礼活动详细 export function getActiveConsumption(id) { return request({ - url: '/business/marketingActivity/activeConsumption/' + id, + url: 'business/marketingActivity/activeConsumption/' + id, method: 'get' }) } @@ -36,7 +53,7 @@ export function addActiveConsumption(data) { // 修改消费有礼活动 export function updateActiveConsumption(data) { return request({ - url: '/business/marketingActivity/activeConsumption', + url: 'business/marketingActivity/activeConsumption', method: 'put', data: data }) diff --git a/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js b/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js index c42209ca9..b31763198 100644 --- a/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js +++ b/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js @@ -34,6 +34,14 @@ export function updateRecord(data) { data: data }) } +// 核销 +export function cardExchangeRecord(data) { + return request({ + url: 'business/marketingActivity/cardExchangeRecord', + method: 'put', + data: data + }) +} // 删除兑换券领取记录 export function delRecord(id) { diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue index 432f6536f..111d1319c 100644 --- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue @@ -398,7 +398,7 @@ }, form: { sort:1, - groupOriented:1, + groupOriented:'1', rechargeBalance:'', giftBalance:'', points:'', @@ -454,7 +454,7 @@ this.form = { sort:1, membershipLevel:'', - groupOriented:1, + groupOriented: '1', rechargeBalance:'', giftBalance:'', points:'', diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index 6f7263a9f..4e7620dc4 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -52,7 +52,11 @@ - + + + @@ -60,16 +64,48 @@ - + + + - - - + + + + + + + + + - + + - + + + + + + + + + @@ -107,7 +143,7 @@ - + @@ -140,18 +176,18 @@ border style="width: 100%">
-
选择兑换券
新增
+
选择兑换券
新增
+ width="80"> + width="80"> + width="80"> + width="240"> - + label="操作" + + > @@ -264,28 +301,66 @@
-
赠送实物
-
+
选择实物
新增
+
+ + + + + + + + + + + + + + + +
- - + + @@ -297,8 +372,8 @@ - - + + @@ -310,8 +385,8 @@ - - + + @@ -323,14 +398,14 @@ - + - + @@ -350,21 +425,22 @@ - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选择 + + +