mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 10:16:38 +08:00
commit
82bab052ce
@ -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);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user