From 557d377ef576104d07588e99cbcc11cb2c61df3a Mon Sep 17 00:00:00 2001 From: zhaohengkun Date: Wed, 30 Oct 2024 14:38:47 +0800 Subject: [PATCH] 1 --- .../impl/CardValueRecordServiceImpl.java | 2 +- .../service/impl/AllOrderInfoServiceImpl.java | 24 +++++++++++++++---- .../views/cashier/NewComponents/newHome.vue | 7 +++--- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java index a7df27c20..888de5d06 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java @@ -559,7 +559,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl m1 = new HashMap<>(); // 根据油号 店铺id 用户id 锁定唯一囤油卡 m1.put("mt_user_id",ljUserVo.getId()); - m1.put("store_id",ljUserVo.getStoreId()); + m1.put("store_id",fuelDiesel.getStoreId()); m1.put("oil_name",fuelDiesel.getOilNumberId()); List userFuels = mtUserFuelMapper.selectByMap(m1); // 没有油卡则新建 有则追加囤油升数 diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java index df6fe719a..9d8189908 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java @@ -568,11 +568,8 @@ public class AllOrderInfoServiceImpl extends ServiceImpl refund = fyPayService.refund(map); - } else { - throw new RuntimeException("其它类型支付正在维护中!"); } - allOrder.setRefMoney(allOrder.getGoodsMoney()); allOrder.setRefBy(String.valueOf(now.getId())); allOrder.setStatus("refund"); @@ -583,10 +580,29 @@ public class AllOrderInfoServiceImpl extends ServiceImpl -
+
付款金额
¥{{ payForm.realyPayBills }} @@ -1056,6 +1056,7 @@ export default { } }, async collection1() { + console.log(this.flag) // 这里是收银台结算 下面是会员充值 if (this.flag == 3) { this.collection() @@ -1145,6 +1146,7 @@ export default { // 确认充值 async rechargeConfirm() { let selectCard = this.$refs.rechargeRef.selectCard + console.log("子弹窗表单属性", selectCard) if (!selectCard.paymentType) { this.$message.error('请选择支付方式') return @@ -1508,7 +1510,7 @@ export default { } }) this.loading = true - console.log(1480, isPaySuccess) + if (!isPaySuccess) { await _this.queryPayStatus() _this.resetting1() @@ -1517,7 +1519,6 @@ export default { // 立即结算 async settlement() { - this.cardBalance=0 // 囤油 这时候卡余额是 升 if (this.payType == 'fule_card') {