推线上
parent
f69dc7f21b
commit
7ad5bac015
|
@ -554,7 +554,7 @@ export default {
|
||||||
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
||||||
// startPayment(this.selectedRow);
|
// startPayment(this.selectedRow);
|
||||||
console.log(row)
|
console.log(row)
|
||||||
window.open("http://21.12.0.10:8080/alipay/pay?middlePrice="+row.middlePrice)
|
window.open("http://21.12.0.10:80/alipay/pay?middlePrice="+row.middlePrice)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
|
|
||||||
// 创建一个容器来展示数据
|
// 创建一个容器来展示数据
|
||||||
|
|
|
@ -308,8 +308,11 @@ export default {
|
||||||
|
|
||||||
pay(row){
|
pay(row){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
window.open("http://21.12.0.10:8080/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
|
window.open("http://21.12.0.10:80/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getOut(){
|
getOut(){
|
||||||
|
|
|
@ -190,10 +190,10 @@ export default {
|
||||||
insertmoney(moneyForm){
|
insertmoney(moneyForm){
|
||||||
if (moneyForm.pay==1){
|
if (moneyForm.pay==1){
|
||||||
if (moneyForm.resource!=''){
|
if (moneyForm.resource!=''){
|
||||||
window.open("http://21.12.0.10:8080/alipay/pay?ordersPrice="+moneyForm.resource)
|
window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
}else {
|
}else {
|
||||||
window.open("http://21.12.0.10:8080/alipay/pay?ordersPrice="+moneyForm.resource)
|
window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue