mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
[NEW] 尝试修改卡单支付微信打开直接调起收银台问题
This commit is contained in:
@@ -222,12 +222,16 @@ export default {
|
||||
created() {
|
||||
if (this.isWeixin) {
|
||||
this.radio = '3'
|
||||
let token = this.$route.query.token
|
||||
let orderNo = this.$route.query.orderNo
|
||||
localStorage.token = token
|
||||
localStorage.orderNo = orderNo
|
||||
this.isLoading = true
|
||||
// 再次支付 调详情 获取信息
|
||||
this.getOrderDetail()
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// 再次支付 调详情 获取信息
|
||||
this.getOrderDetail()
|
||||
setTimeout(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
@@ -252,16 +256,11 @@ export default {
|
||||
// this.underWrite()
|
||||
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
// } else {
|
||||
|
||||
// 再次支付 调详情 获取信息
|
||||
this.getOrderDetail()
|
||||
// this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
// }
|
||||
// console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData))
|
||||
} else {
|
||||
let token = this.$route.query.token
|
||||
let orderNo = this.$route.query.orderNo
|
||||
localStorage.token = token
|
||||
localStorage.orderNo = orderNo
|
||||
this.pay()
|
||||
}
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
@@ -411,7 +410,9 @@ export default {
|
||||
uwResult: '02'
|
||||
}
|
||||
this.bankListName = res.orderDTO.orderAccountDTO.bankName
|
||||
// window.localStorage.setItem('underWriteData', JSON.stringify(underWriteData))
|
||||
if (this.isWeixin) {
|
||||
this.pay()
|
||||
}
|
||||
} else {
|
||||
this.underWriteData = {
|
||||
accountName: '',
|
||||
@@ -470,8 +471,7 @@ export default {
|
||||
return this.$toast(this.$validator.errors.all()[0])
|
||||
}
|
||||
}
|
||||
let Status = await this.orderStatus
|
||||
switch (Status) {
|
||||
switch (this.orderStatus) {
|
||||
case '56':
|
||||
this.payMent()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user