master
Aaaaaaaa 2024-09-11 12:24:29 +08:00
parent 4af2830df2
commit a5e8a318a7
1 changed files with 8 additions and 6 deletions

View File

@ -186,7 +186,8 @@ export default {
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
total:1, total:1,
typeId:0 ordersId:3,
productId:3
}, },
arr:[], arr:[],
type:[], type:[],
@ -318,14 +319,15 @@ export default {
}, },
pay(row){ pay(row){
console.log(row) console.log(row)
updateByordersState1(row.ordersId,row.productId).then( updateByordersState1(this.orders).then(res =>{
res =>{ this.orders.ordersId=this.orders.ordersId;
this.$message.success(res.msg) this.orders.productId=this.orders.productId;
window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
this.$message.success('付款成功')
} }
) )
window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
this.$message.success('付款成功')
}, },