|
@@ -100,7 +100,6 @@ export default {
|
|
|
...mapGetters({ dictInfo:"getDictionariesInfo" }),
|
|
...mapGetters({ dictInfo:"getDictionariesInfo" }),
|
|
|
},
|
|
},
|
|
|
onShow(){
|
|
onShow(){
|
|
|
- // #ifdef APP-PLUS
|
|
|
|
|
let that = this
|
|
let that = this
|
|
|
if(that.needCheck == 1){
|
|
if(that.needCheck == 1){
|
|
|
that.needCheck = 0
|
|
that.needCheck = 0
|
|
@@ -108,7 +107,6 @@ export default {
|
|
|
that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.id, type: 2 })
|
|
that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.id, type: 2 })
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
- // #endif
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
init(){
|
|
init(){
|
|
@@ -194,11 +192,7 @@ export default {
|
|
|
path: '/pagesPurchase/wechatPay?id='+id+'&realPrice='+realPrice+'&orderSn='+orderSn,
|
|
path: '/pagesPurchase/wechatPay?id='+id+'&realPrice='+realPrice+'&orderSn='+orderSn,
|
|
|
type: 0
|
|
type: 0
|
|
|
});
|
|
});
|
|
|
- setTimeout(function(){
|
|
|
|
|
- that.$util.confirmModal({content:'已付款成功?',okText:'是的',cancelText:'没有'},() => {
|
|
|
|
|
- that.pageTo({ url: '/pagesPurchase/particulars?id=' + id, type: 2 })
|
|
|
|
|
- })
|
|
|
|
|
- },3000)
|
|
|
|
|
|
|
+ that.needCheck = 1
|
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
|
} else {
|
|
} else {
|
|
|
that.$msg("没有找到微信服务")
|
|
that.$msg("没有找到微信服务")
|