diff --git a/common/common.js b/common/common.js
index dd43f6e..8dc7f8b 100644
--- a/common/common.js
+++ b/common/common.js
@@ -52,6 +52,10 @@ const walletDetailsPage = serverUrl + "/business/h5/wallet/detailsPage";
// 钱包充值-微信
const publicUnifiedOrder = serverUrl + "/business/h5/pay/weixinpay/publicUnifiedOrder";
+// 钱包-根据订单ID获取购买优惠券信息
+const couponInfo = serverUrl + "/business/h5/wallet/detail/couponInfo";
+// const couponInfo = "http://127.0.0.1:8075/business/h5/wallet/detail/couponInfo";
+
@@ -223,5 +227,6 @@ export default {
detailSummary,
walletDetailsPage,
publicUnifiedOrder,
+ couponInfo,
}
diff --git a/pages/rechargeDetail/outDetail.vue b/pages/rechargeDetail/outDetail.vue
index 9110b6b..a350f34 100644
--- a/pages/rechargeDetail/outDetail.vue
+++ b/pages/rechargeDetail/outDetail.vue
@@ -1,201 +1,204 @@
-
-
- -5.2
-
-
+
+
+ {{changeFeeDetail | toFixed2}}
+
+
-
-
-
- 订单编号
-
-
- 12313123128787312673
-
-
-
-
- 支付时间
-
-
- 2020-10-01 19:19:19
-
-
-
-
- 支付方式
-
-
- 商户余额
-
-
-
-
- 交易类型
-
-
- 停车支付
-
-
-
+
+
+
+ 订单编号
+
+
+ {{orderId | tranNull}}
+
+
+
+
+ 支付时间
+
+
+ {{payTime | tranNull}}
+
+
+
+
+ 支付方式
+
+
+ {{payType | tranNull}}
+
+
+
+
+ 交易类型
+
+
+ {{typeName | tranNull}}
+
+
+
+
+
+ 卡券类型
+
+
+ {{cardType | tranNull}}
+
+
+
+
+ 卡规则名称
+
+
+ {{cardRuleName | tranNull}}
+
+
+
+
+ 购买数量
+
+
+ {{cardNum | tranNull}}张
+
+
+
+
+
-
-
-
-
-
- 订单编号
-
-
- 12313123128787312673
-
-
-
-
- 支付时间
-
-
- 2020-10-01 19:19:19
-
-
-
-
- 支付方式
-
-
- 商户余额
-
-
-
-
- 交易类型
-
-
- 购买卡券
-
-
-
-
- 卡券类型
-
-
- 金额券
-
-
-
-
- 卡规则名称
-
-
- 5元金额券
-
-
-
-
- 购买数量
-
-
- 20张
-
-
-
-
-
-
-
-
-
-
+
diff --git a/pages/rechargeDetail/rechargeDetail.vue b/pages/rechargeDetail/rechargeDetail.vue
index c9ea541..aa4847d 100644
--- a/pages/rechargeDetail/rechargeDetail.vue
+++ b/pages/rechargeDetail/rechargeDetail.vue
@@ -60,21 +60,24 @@
-
-
- {{item.changeFeeDetail}}
- {{item.payStateDesc}}
-
-
- {{item.typeName}}
- {{item.typeName}}
- {{item.typeName}}
- {{item.typeName}}
- {{item.typeName}}
- {{item.opTime}}
-
-
-
+
+
+
+ {{item.changeFeeDetail}}
+ {{item.payStateDesc}}
+
+
+ {{item.typeName}}
+ {{item.typeName}}
+ {{item.typeName}}
+ {{item.typeName}}
+ {{item.typeName}}
+ {{item.opTime}}
+
+
+
+
+
@@ -192,6 +195,11 @@
that.type = that.kindArray[that.index].typeList[0].type;
console.log(that.kind, that.type)
that.getDetailSummary();
+
+ that.page = 1
+ that.pageSize = this.pageSize
+ that.totalPages = 1
+ that.orderList = []
that.fetchData()
},
bindPickerChangeWay: function(e) {
@@ -200,16 +208,28 @@
this.type = this.arrayWay[this.indexWay].type;
console.log(this.kind, this.type)
this.getDetailSummary();
+ this.page = 1
+ this.pageSize = this.pageSize
+ this.totalPages = 1
+ this.orderList = []
this.fetchData()
},
bindStartDateChange: function(e) {
this.beginDate = e.detail.value
this.getDetailSummary();
+ this.page = 1
+ this.pageSize = this.pageSize
+ this.totalPages = 1
+ this.orderList = []
this.fetchData()
},
bindEndDateChange: function(e) {
this.overDate = e.detail.value
this.getDetailSummary();
+ this.page = 1
+ this.pageSize = this.pageSize
+ this.totalPages = 1
+ this.orderList = []
this.fetchData()
},
getDate(type) {
@@ -274,17 +294,16 @@
} else {
this.status = 'more'
}
-
that.totalPages = res.data.pageTotals;
that.orderList = that.orderList.concat(res.data.dataList)
-
-
})
-
-
-
-
},
+ toOutDetail(i){
+ console.log('详情')
+ uni.navigateTo({
+ url: '../rechargeDetail/outDetail?optionData='+JSON.stringify(i)
+ });
+ }
}
}