diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java index dc77700a8..137c28041 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java @@ -743,11 +743,12 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService { } // 获取结算账户信息 - AdapayMemberAccount adapayMemberAccount = adapayMemberAccountService.selectByMerchantId(merchantId); - if (adapayMemberAccount == null) { - logger.info("订单分账逻辑-订单:{}, 运营商id:{}, 没有配置结算账户信息", orderCode, merchantId); - return null; - } + // AdapayMemberAccount adapayMemberAccount = adapayMemberAccountService.selectByMerchantId(merchantId); + AdapayMemberAccount adapayMemberAccount = null; + // if (adapayMemberAccount == null) { + // logger.info("订单分账逻辑-订单:{}, 运营商id:{}, 没有配置结算账户信息", orderCode, merchantId); + // return null; + // } // 获取一级运营商的 延时分账设置 String delayMode = merchantInfo.getDelayMode(); diff --git a/jsowell-ui/src/views/order/order/orderDetail.vue b/jsowell-ui/src/views/order/order/orderDetail.vue index 3c6658d2f..053c6f652 100644 --- a/jsowell-ui/src/views/order/order/orderDetail.vue +++ b/jsowell-ui/src/views/order/order/orderDetail.vue @@ -192,37 +192,36 @@
+

实时订单数据

- - - - - - - - - - - - + + {{ + orderRealTimeInfo.time + }} + {{ + orderRealTimeInfo.orderAmount === "0.0000" + ? "0" + : orderRealTimeInfo.orderAmount + }} + {{ + orderRealTimeInfo.chargedDegree === "0.0000" + ? "0" + : orderRealTimeInfo.chargedDegree + }} + {{ + orderRealTimeInfo.chargingTime + }} + {{ + orderRealTimeInfo.soc + }} +
@@ -480,21 +479,20 @@ export default { }, async getOrderDetail() { const { data } = await getOrder(this.orderCode); - - // console.log("getOrder", data); + console.log("getOrder", data); this.obj = data; this.orderInfo = data.orderInfo; - this.payDetail = data.payRecordList; - this.orderRefundInfoList = data.orderRefundInfoList; + this.payDetail = data.payRecordList; // 数组 + this.orderRefundInfoList = data.orderRefundInfoList; // 数组 this.userInfo = [data.memberInfo]; // console.log("this.userInfo", this.userInfo); this.pileIn = [data.pileInfo]; // console.log("this.pileIn", this.pileIn); this.orderRealTimeInfo = data.orderRealTimeInfo; this.orderDetail = [data.billingDetails]; - this.tableData = data.chargeDetails; + this.tableData = data.chargeDetails; // array this.lastMonitorData = data.lastMonitorData; - + console.log("orderInfo.orderStatus", this.orderInfo.orderStatus); // 是否显示重试退款按钮 // if (data.orderInfo.orderStatus === '6' && data.payRecordList[0].payMode === '4' && data.orderRefundInfoList.length === 0) { // this.retryRefundFlag = true; @@ -510,7 +508,7 @@ export default { if (this.orderInfo == null || this.orderInfo.orderStatus !== "6") { return false; } - if (this.payDetail[0] == null || this.payDetail.payMode[0] !== "4") { + if (this.payDetail[0] == null || this.payDetail[0].payMode !== "4") { return false; } if (