mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
更改
This commit is contained in:
@@ -346,9 +346,10 @@ export default {
|
||||
let postData = [];
|
||||
let userPayData = {
|
||||
userprice: item.salesAmount,
|
||||
orderId:item.orderNumber,
|
||||
userinformation:item.addressUserName +
|
||||
" " +
|
||||
this.orderNumber,
|
||||
item.phoneNumber,
|
||||
wxPay: "weixin://wxpay/bizpayurl?pr=4RJbokxzz",
|
||||
};
|
||||
this.$router.push({
|
||||
|
||||
@@ -116,17 +116,17 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
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);
|
||||
}else{
|
||||
this.userPayData = JSON.parse(this.$route.query.userPayData);
|
||||
console.log(this.userPayData);
|
||||
}
|
||||
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);
|
||||
}else{
|
||||
this.userPayData = JSON.parse(this.$route.query.userPayData);
|
||||
console.log(this.userPayData);
|
||||
}
|
||||
this.qrtext=this.userPayData.wxPay
|
||||
this.payOrderWX();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user