diff --git a/pages/goods/cashier/index.vue b/pages/goods/cashier/index.vue
index fc1ceeb0..0805eb82 100644
--- a/pages/goods/cashier/index.vue
+++ b/pages/goods/cashier/index.vue
@@ -107,6 +107,8 @@
title: '加载订单中'
});
PayOrderApi.getOrder(this.orderId).then(res => {
+ // TODO 芋艿:如果已支付,则跳转回
+
console.log(res)
this.payPrice = res.data.price
this.invalidTime = res.data.expireTime
diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue
index 49a7efa2..7173f7d8 100644
--- a/pages/order_details/index.vue
+++ b/pages/order_details/index.vue
@@ -175,14 +175,13 @@
已支付
未支付
-
支付方式:
- {{orderInfo.payTypeStr}}
+ {{ orderInfo.payChannelName }}
买家留言:
- {{orderInfo.userRemark}}
+ {{ orderInfo.userRemark }}
@@ -304,9 +303,7 @@
import { qrcodeApi } from '@/api/order.js';
import * as OrderApi from '@/api/trade/order.js';
import * as DeliveryApi from '@/api/trade/delivery.js';
- import {
- openOrderRefundSubscribe
- } from '@/utils/SubscribeMessage.js';
+ import { openOrderRefundSubscribe } from '@/utils/SubscribeMessage.js';
import home from '@/components/home';
import payment from '@/components/payment';
import orderGoods from "@/components/orderGoods";
diff --git a/pages/order_pay_status/index.vue b/pages/order_pay_status/index.vue
index a142d0d0..268cea27 100644
--- a/pages/order_pay_status/index.vue
+++ b/pages/order_pay_status/index.vue
@@ -1,97 +1,76 @@
-
-
-
-
- {{order_pay_info.paid ? '订单支付成功':'订单支付失败'}}
- 订单创建成功
-
+
+
+
+ {{order_pay_info.payStatus ? '订单支付成功':'订单支付失败'}}
+
+
+
订单编号
- {{order_pay_info.orderId}}
+ {{order_pay_info.no}}
下单时间
- {{order_pay_info.createTime?order_pay_info.createTime:'-'}}
+ {{ order_pay_info.createTime ? formatDate(order_pay_info.createTime) : '-' }}
支付方式
- 微信支付
- 余额支付
- 线下支付
- 支付宝支付
+ {{ order_pay_info.payChannelName }}
支付金额
- {{order_pay_info.payPrice}}
+ {{ fen2yuan(order_pay_info.payPrice) }}
-
-
+
+
失败原因
- {{status==2 ? '取消支付':msg}}
+ {{ msg || '取消支付' }}
-
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
-
-