mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-22 02:16:53 +08:00
更改提交
This commit is contained in:
@@ -117,18 +117,16 @@ export default {
|
||||
mounted() {
|
||||
let stype=this.$route.query.stype;
|
||||
console.log(stype)
|
||||
|
||||
if(stype==1){
|
||||
this.userData = this.$route.query.userData;
|
||||
this.repayOrde(this.userData);
|
||||
this.userPayData = JSON.parse(this.$route.query.userPayData);
|
||||
console.log(this.userPayData);
|
||||
this.qrtext=this.userPayData.wxPay
|
||||
}else{
|
||||
this.userPayData = JSON.parse(this.$route.query.userPayData);
|
||||
console.log(this.userPayData);
|
||||
}
|
||||
this.qrtext=this.userPayData.wxPay
|
||||
console.log(this.userData);
|
||||
|
||||
},
|
||||
methods: {
|
||||
@@ -148,8 +146,12 @@ export default {
|
||||
async repayOrde(ordernumber) {
|
||||
let res = await repayOrde(ordernumber);
|
||||
console.log(ordernumber);
|
||||
|
||||
if (res) {
|
||||
this.qrtext=res.data
|
||||
console.log(res)
|
||||
this.qrtext=res.msg
|
||||
debugger
|
||||
console.log(this.qrtext);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user