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