From 8a03335551f1440258e29beeaa805c583c3f88d4 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Sat, 13 Nov 2021 16:07:17 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E8=AF=9D=E8=B4=B9=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
high-unionPay/Utils/Api.js | 5 +-
high-unionPay/pages.json | 9 +
.../unionPay-entrance/unionPay-entrance.vue | 2 +-
.../unionorder-des/unionorder-des.vue | 467 ++++++++++++++++++
.../unionPay-orderList/unionPay-orderList.vue | 8 +-
5 files changed, 488 insertions(+), 3 deletions(-)
create mode 100644 high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js
index 01c77f8..d84af82 100644
--- a/high-unionPay/Utils/Api.js
+++ b/high-unionPay/Utils/Api.js
@@ -177,7 +177,10 @@ export const unionPay = params => {
export const orderToUnionPayphone = params => {
return POST('POST', `${base}/outRechargeOrder/orderToUnionPay`, params).then(res => res.data);
}
-
+//银联查询详情接口
+export const paygetOrderById = params => {
+ return POST('GET', `${base}/outRechargeOrder/getOrderById`, params).then(res => res.data);
+}
/**
* 工会卡
diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json
index 9c300be..28b0e5b 100644
--- a/high-unionPay/pages.json
+++ b/high-unionPay/pages.json
@@ -511,6 +511,15 @@
}
+ ,{
+ "path" : "pages/unionPay/unionorder-des/unionorder-des",
+ "style" :
+ {
+ "navigationBarTitleText": "充值详情",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"subpackages": [{
"root": "subPages",
diff --git a/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue b/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue
index 2dff50c..5b642f5 100644
--- a/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue
+++ b/high-unionPay/pages/unionPay/unionPay-entrance/unionPay-entrance.vue
@@ -37,7 +37,7 @@
methods: {
//跳转充值
jumprecharge(item) {
- if (!app.globalData.latitude) {
+ if (app.globalData.latitude) {
this.hqaddress(item);
return;
}
diff --git a/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
new file mode 100644
index 0000000..6427002
--- /dev/null
+++ b/high-unionPay/pages/unionPay/unionorder-des/unionorder-des.vue
@@ -0,0 +1,467 @@
+
+
+ 待支付
+ 已支付
+ 已完成
+ 已取消
+ 已退款
+
+
+
+
+
+
+
+
+ {{recinfo.remarks}}
+
+ ¥{{recinfo.payPrice}}x1
+
+
+
+
+
+
+
+
+
+ 订单流水号 :
+
+
+ {{recinfo.orderNo}}
+
+
+
+
+ 支付流水号 :
+
+
+ {{recinfo.paySerialNo}}
+
+
+
+
+ 订单总额 :
+
+
+ ¥{{recinfo.payPrice}}
+
+
+
+
+ 实付金额 :
+
+
+ ¥{{recinfo.payRealPrice}}
+
+
+
+
+ 下单时间 :
+
+
+ {{recinfo.createTime | formatDate('-')}}
+
+
+
+
+ 支付时间 :
+
+
+ {{recinfo.payTime | formatDate('-')}}
+
+
+
+
+ 取消时间 :
+
+
+ {{recinfo.cancelTime | formatDate('-')}}
+
+
+
+
+ 完成时间 :
+
+
+ {{recinfo.finishTime | formatDate('-')}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue
index 8924a3c..87e25e9 100644
--- a/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue
+++ b/high-unionPay/subPages/unionPay-orderList/unionPay-orderList.vue
@@ -12,7 +12,7 @@
-
+
@@ -173,6 +173,12 @@
}
this.getUserOrderListhuafei();
},
+ //跳转详情
+ jumpuniondes(item){
+ uni.navigateTo({
+ url:'../../pages/unionPay/unionorder-des/unionorder-des?id='+item.id
+ })
+ }
}
}