[综法]
This commit is contained in:
@@ -137,6 +137,7 @@
|
||||
disabled : false,
|
||||
orderId : '', // 订单 ID
|
||||
orderType : '', // 订单类型
|
||||
orderPrice : '', // 订单金额
|
||||
voucherState : false, // 上传凭证弹出
|
||||
}
|
||||
},
|
||||
@@ -260,6 +261,7 @@
|
||||
expressSheet(id, type, can, price) {
|
||||
this.orderId = id
|
||||
this.orderType = type
|
||||
this.orderPrice = price
|
||||
uni.showActionSheet({
|
||||
itemList: ['线上支付', '线下支付'],
|
||||
success: sheetRes => {
|
||||
@@ -270,7 +272,7 @@
|
||||
}
|
||||
this.voucherState = true
|
||||
} else if (sheetRes.tapIndex == 1) {
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: id, orderType: type}})
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: id, orderType: type, price: price}})
|
||||
}
|
||||
},
|
||||
fail: sheetFail => {
|
||||
@@ -300,7 +302,7 @@
|
||||
// 上传凭证
|
||||
clickOpen() {
|
||||
this.voucherState = false
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType}})
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType, price: this.orderPrice}})
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user