From a7e784555d188c64fa8fa92df7a7727d391ef679 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 4 Jul 2023 22:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=AE=A2=E5=8D=95=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E9=A1=B5=E3=80=91=201.=20=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/cashier/index.vue | 2 + pages/order_details/index.vue | 9 +- pages/order_pay_status/index.vue | 204 ++++++++++++++----------------- 3 files changed, 97 insertions(+), 118 deletions(-) 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 @@ - -