This commit is contained in:
952108534@qq.com 2022-01-23 22:12:15 +08:00
parent 5b52ef02d4
commit 9b03ea93b9

View File

@ -261,6 +261,7 @@ userpay(){
let data=await userin(orderNumber);
if(data){
this.goldmedal=data;
console.log(this.goldmedal);
for(let i=0;i<this.goldmedal.length;i++){
this.goldastates=this.goldmedal[i].status;
this.userproductId=this.goldmedal[i].orderDetailList[0].productId;
@ -294,11 +295,9 @@ if(data){
console.log(user);
let userPayData = {
userprice: this.usersalesAmount,
userinformation:this.
addressUserName +
" " +
this.orderNumber,
wxPay: "weixin://wxpay/bizpayurl?pr=4RJbokxzz",
orderId:this.orderNumber,
userinformation:this.useraddress[0].recipient +
" "+this.userphone
};
this.$router.push({
path: "/personal/userpay",
@ -319,7 +318,6 @@ if(data){
async editaddress(user) {
// user.data.id=844350;
let data = await selectaddress(this.userid);
console.log(data);
let list=[]
this.useraddress=data.data;
for(let i =0;i<this.useraddress.length;i++){
@ -328,8 +326,8 @@ if(data){
}
}
this.useraddress=list;
console.log(list);
console.log(this.goldmedal);
console.log( this.useraddress[0].recipient);
// console.log(this.list);
},