mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 06:56:44 +08:00
微信支付页面无法打开,如果是微信直接调支付
This commit is contained in:
@@ -197,10 +197,23 @@ export default {
|
||||
let orderNo = this.$route.query.orderNo
|
||||
localStorage.token = token
|
||||
localStorage.orderNo = orderNo
|
||||
this.payMent()
|
||||
// this.twounderWrite().then
|
||||
this.payMentWx(orderNo) //直接调支付
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async payMentWx(orderNo){
|
||||
const res = await payFlag({ orderNo: orderNo })
|
||||
console.dir(res)
|
||||
if (res.content.payFlag == 'Y') {
|
||||
this.getAcceptInsurance()
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
setTimeout(() => {
|
||||
this.$router.push({ path: '/sale/payResultFail' })
|
||||
}, 2000)
|
||||
}
|
||||
},
|
||||
getAcceptInsurance() {
|
||||
let that = this
|
||||
let data = {
|
||||
@@ -326,6 +339,7 @@ export default {
|
||||
}
|
||||
let mobile = res.orderDTO.appntDTO.mobile
|
||||
this.encyCustomerMobile = mobile.slice(0, 3) + '****' + mobile.slice(-4)
|
||||
console.log(this.encyCustomerMobil,'手机号')
|
||||
} else {
|
||||
let underWriteData = {
|
||||
accountName: '',
|
||||
|
||||
Reference in New Issue
Block a user