mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-03 02:36:39 +08:00
更改
This commit is contained in:
parent
5b52ef02d4
commit
9b03ea93b9
@ -261,6 +261,7 @@ userpay(){
|
|||||||
let data=await userin(orderNumber);
|
let data=await userin(orderNumber);
|
||||||
if(data){
|
if(data){
|
||||||
this.goldmedal=data;
|
this.goldmedal=data;
|
||||||
|
console.log(this.goldmedal);
|
||||||
for(let i=0;i<this.goldmedal.length;i++){
|
for(let i=0;i<this.goldmedal.length;i++){
|
||||||
this.goldastates=this.goldmedal[i].status;
|
this.goldastates=this.goldmedal[i].status;
|
||||||
this.userproductId=this.goldmedal[i].orderDetailList[0].productId;
|
this.userproductId=this.goldmedal[i].orderDetailList[0].productId;
|
||||||
@ -294,11 +295,9 @@ if(data){
|
|||||||
console.log(user);
|
console.log(user);
|
||||||
let userPayData = {
|
let userPayData = {
|
||||||
userprice: this.usersalesAmount,
|
userprice: this.usersalesAmount,
|
||||||
userinformation:this.
|
orderId:this.orderNumber,
|
||||||
addressUserName +
|
userinformation:this.useraddress[0].recipient +
|
||||||
" " +
|
" "+this.userphone
|
||||||
this.orderNumber,
|
|
||||||
wxPay: "weixin://wxpay/bizpayurl?pr=4RJbokxzz",
|
|
||||||
};
|
};
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/personal/userpay",
|
path: "/personal/userpay",
|
||||||
@ -319,7 +318,6 @@ if(data){
|
|||||||
async editaddress(user) {
|
async editaddress(user) {
|
||||||
// user.data.id=844350;
|
// user.data.id=844350;
|
||||||
let data = await selectaddress(this.userid);
|
let data = await selectaddress(this.userid);
|
||||||
console.log(data);
|
|
||||||
let list=[]
|
let list=[]
|
||||||
this.useraddress=data.data;
|
this.useraddress=data.data;
|
||||||
for(let i =0;i<this.useraddress.length;i++){
|
for(let i =0;i<this.useraddress.length;i++){
|
||||||
@ -328,8 +326,8 @@ if(data){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.useraddress=list;
|
this.useraddress=list;
|
||||||
console.log(list);
|
console.log( this.useraddress[0].recipient);
|
||||||
console.log(this.goldmedal);
|
|
||||||
// console.log(this.list);
|
// console.log(this.list);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user