pull/7/head^2
parent
ea1c143e80
commit
f4443a7b7e
|
@ -342,14 +342,15 @@ export default {
|
||||||
},
|
},
|
||||||
handleEdit(row) {
|
handleEdit(row) {
|
||||||
this.selectedRow = row;
|
this.selectedRow = row;
|
||||||
|
console.log(row)
|
||||||
},
|
},
|
||||||
confirmSelection(row) {
|
confirmSelection(row) {
|
||||||
this.dialogVisible1=false
|
this.dialogVisible1=false
|
||||||
if (this.selectedRow) {
|
if (this.selectedRow) {
|
||||||
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
||||||
startPayment(this.selectedRow);
|
startPayment(this.selectedOption);
|
||||||
console.log(row)
|
console.log(row)
|
||||||
window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice)
|
window.open("http://21.12.0.10:80/alipay/pay?middlePrice="+row.middlePrice)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
|
|
||||||
this.dialogVisible1 = false;
|
this.dialogVisible1 = false;
|
||||||
|
|
|
@ -308,7 +308,7 @@ export default {
|
||||||
|
|
||||||
pay(row){
|
pay(row){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
window.open("http://localhost:9701/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('付款成功')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -194,10 +194,10 @@ export default {
|
||||||
insertmoney(moneyForm){
|
insertmoney(moneyForm){
|
||||||
if (moneyForm.pay==1){
|
if (moneyForm.pay==1){
|
||||||
if (moneyForm.resource!=''){
|
if (moneyForm.resource!=''){
|
||||||
window.open("http://localhost:9701/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://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource1)
|
window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource1)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue