master
parent
4af2830df2
commit
a5e8a318a7
|
@ -186,7 +186,8 @@ export default {
|
|||
pageNum:1,
|
||||
pageSize:10,
|
||||
total:1,
|
||||
typeId:0
|
||||
ordersId:3,
|
||||
productId:3
|
||||
},
|
||||
arr:[],
|
||||
type:[],
|
||||
|
@ -318,14 +319,15 @@ export default {
|
|||
},
|
||||
|
||||
pay(row){
|
||||
|
||||
console.log(row)
|
||||
updateByordersState1(row.ordersId,row.productId).then(
|
||||
res =>{
|
||||
this.$message.success(res.msg)
|
||||
updateByordersState1(this.orders).then(res =>{
|
||||
this.orders.ordersId=this.orders.ordersId;
|
||||
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('付款成功')
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue