diff --git a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue index a6dce5e34..5a1eb701f 100644 --- a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue @@ -278,6 +278,9 @@ export default { isonline:[ { required: true, message: '不能为空', trigger: 'change' } ], + activeDiscountChildList:[ + { required: true, message: '不能为空', trigger: 'change' } + ], } }; }, diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index d39de6699..70239e74e 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -281,6 +281,9 @@ export default { isonline:[ { required: true, message: '不能为空', trigger: 'change' } ], + activeDiscountChildList:[ + { required: true, message: '不能为空', trigger: 'change' } + ], } }; }, diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue index 9ef4a8c21..84b628326 100644 --- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue +++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue @@ -144,8 +144,10 @@ + + @@ -165,15 +167,28 @@ {{item.oilType}}{{item.oilName}} - - - - - - - - - +
+ + + + + +
+
+ + + + + +
+
+ + + + + +
+ @@ -711,5 +726,9 @@ export default { align-items: center; } + ._k{ + box-sizing: border-box; + width: 300px; + } 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 779383f55..c1a42a4a0 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 @@ -485,7 +485,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { } //折扣+优惠券 for (ActiveDiscountPayVO activeDiscountPayVO : activeDiscountVOList) { - if (activeDiscountPayVO.getParticipationCondition().equals("1")){ + if (!activeDiscountPayVO.getParticipationCondition().equals("1")){ for (CardFavorableRecordVO cardFavorableRecordVO : canUserCardFavorableList) { if(cardFavorableRecordVO.getExclusiveFunction().equals("2") && !cardFavorableRecordVO.getExclusiveFunction().equals("0")){ ActiveDiscountPayVO activeDiscountPayVO1 = new ActiveDiscountPayVO(); @@ -525,7 +525,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { } //满减+优惠券 for (ActiveDiscountPayVO activeDiscountPayVO : activeFuletVOList) { - if (activeDiscountPayVO.getParticipationCondition().equals("1")){ + if (!activeDiscountPayVO.getParticipationCondition().equals("1")){ for (CardFavorableRecordVO cardFavorableRecordVO : canUserCardFavorableList) { if(cardFavorableRecordVO.getType().equals("2") && !cardFavorableRecordVO.getExclusiveFunction().equals("0")){ ActiveDiscountPayVO activeDiscountPayVO1 = new ActiveDiscountPayVO(); diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/controller/CardFavorableRecordController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/controller/CardFavorableRecordController.java index 88c4011b0..a8a3f11df 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/controller/CardFavorableRecordController.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/controller/CardFavorableRecordController.java @@ -57,7 +57,7 @@ public class CardFavorableRecordController extends BaseController { @GetMapping("getCardFavorableList") public ResponseObject getCardFavorableList(@RequestParam(value = "pageNo",defaultValue = "1") Integer pageNo, @RequestParam(value = "pageSize",defaultValue = "10") Integer pageSize, - @Param("cardFuelDiesel") CardFavorableRecord cardFavorableRecord) { + @Param("cardFavorableRecord") CardFavorableRecord cardFavorableRecord) { Page page = new Page(pageNo, pageSize); return getSuccessResult(this.cardFavorableRecordService.getCardFavorableList(page,cardFavorableRecord)); } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml index 407ec9bec..8764d558e 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml @@ -43,7 +43,7 @@ left join mt_store ms on ms.id = cfr.store_id - and cfr.store_id = #{cardFavorableRecord.storeId} + and cf.store_id = #{cardFavorableRecord.storeId} and cfr.mt_user_id = #{cardFavorableRecord.mtUserId} diff --git a/fuintCashierWeb/src/views/details/index.vue b/fuintCashierWeb/src/views/details/index.vue index 8f835bba4..bdd54c268 100644 --- a/fuintCashierWeb/src/views/details/index.vue +++ b/fuintCashierWeb/src/views/details/index.vue @@ -119,8 +119,8 @@ - - + @@ -1690,7 +1690,10 @@ export default { height: 100%; background: #f6f8f9; } +._l{ + +} .left { width: 20%; display: table-cell; diff --git a/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue b/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue index 35ee17d52..1961508ee 100644 --- a/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue +++ b/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue @@ -76,9 +76,9 @@ export default { } }, created() { - // this.userId = this.pUserId; - this.userId = this.$route.query.id; - + this.userId = this.pUserId; + // this.userId = this.$route.query.id; + console.log( "111111",this.userId) this.getList() this.getOilName() }, @@ -86,14 +86,18 @@ export default { getOilNames(list,oilIds){ let name = ""; let oilNames = [] - let oilId = oilIds.split(",") - list.forEach(item => { - oilId.forEach(i => { - if (item.oilName == i){ - oilNames.push(item.oilNames) - } + if(oilIds){ + let oilId = oilIds.split(",") + list.forEach(item => { + oilId.forEach(i => { + if (item.oilName == i){ + oilNames.push(item.oilNames) + } + }) }) - }) + } + + let arr = [] for (let i = 0;i{ if (res.code == 200) { + this.list = res.data.records this.total = res.data.total this.loading = false + } }) }, diff --git a/fuintCashierWeb/src/views/details/userInfoOrder/pointsRecord.vue b/fuintCashierWeb/src/views/details/userInfoOrder/pointsRecord.vue index dc046061d..1797b6490 100644 --- a/fuintCashierWeb/src/views/details/userInfoOrder/pointsRecord.vue +++ b/fuintCashierWeb/src/views/details/userInfoOrder/pointsRecord.vue @@ -45,7 +45,7 @@ export default { created() { // this.userId = this.pUserId; this.userId = this.$route.query.id; - + console.log('1212',this.userId) this.getList() }, methods:{