|
@@ -111,7 +111,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 支付方式 -->
|
|
|
- <PaymentMethod :payWayPop="payWayPop" :curOrderList="orderList" :jumpUrl="jumpUrl"
|
|
|
+ <PaymentMethod :payWayPop="payWayPop" :exportFlag="exportFlag" :curOrderList="orderList" :jumpUrl="jumpUrl"
|
|
|
@closePaymentMethod="closePaymentMethod"></PaymentMethod>
|
|
|
|
|
|
<!-- 加载中遮罩 -->
|
|
@@ -148,7 +148,8 @@
|
|
|
orderList: [],
|
|
|
// 重定向页面
|
|
|
jumpUrl: location.href + '&type=open',
|
|
|
- loadingMask: false
|
|
|
+ loadingMask: false,
|
|
|
+ exportFlag:false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(page) {
|
|
@@ -192,6 +193,7 @@
|
|
|
.then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.orderInfo = res.data
|
|
|
+ console.log(this.orderInfo)
|
|
|
} else {
|
|
|
this.$refs.uToast.show({
|
|
|
title: res.msg,
|
|
@@ -206,6 +208,7 @@
|
|
|
.then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.orderInfo = res.data
|
|
|
+ console.log(this.orderInfo)
|
|
|
} else {
|
|
|
this.$refs.uToast.show({
|
|
|
title: res.msg,
|
|
@@ -244,10 +247,17 @@
|
|
|
})
|
|
|
},
|
|
|
goPay(orderId) {
|
|
|
+
|
|
|
this.orderList = []
|
|
|
this.orderList.push(orderId)
|
|
|
+ if(this.openFlag == 'park'){
|
|
|
+ this.exportFlag = true
|
|
|
+ }else{
|
|
|
+ this.exportFlag = false
|
|
|
+ }
|
|
|
if (this.orderList.length > 0) {
|
|
|
this.payWayPop = true
|
|
|
+
|
|
|
} else {
|
|
|
this.$refs.uToast.show({
|
|
|
title: '当前订单编号不存在,请重新进入当前页面!',
|