推线上

yuan
Aaaaaaaa 2024-09-08 21:20:48 +08:00
parent 7ad5bac015
commit 2e83199138
2 changed files with 10 additions and 8 deletions

View File

@ -549,13 +549,7 @@ export default {
}); });
}}, }},
confirmSelection(row) { confirmSelection(row) {
this.dialogVisible1=false
if (this.selectedRow) { if (this.selectedRow) {
//
// startPayment(this.selectedRow);
console.log(row)
window.open("http://21.12.0.10:80/alipay/pay?middlePrice="+row.middlePrice)
this.$message.success('付款成功')
// //
var container = document.getElementById('news-list'); var container = document.getElementById('news-list');
@ -581,14 +575,22 @@ export default {
resultDiv.innerHTML += '<p>Result: ' + jsonData.result.res + '</p>'; resultDiv.innerHTML += '<p>Result: ' + jsonData.result.res + '</p>';
} else { } else {
resultDiv.innerHTML += '<p>Result information is not available.</p>'; resultDiv.innerHTML += '<p>Result information is not available.</p>';
//
// startPayment(this.selectedRow);
console.log(row)
window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice)
this.$message.success('付款成功')
} }
// div // div
container.appendChild(resultDiv); container.appendChild(resultDiv);
} }
//-1 //-1
reducetestcount(this.myapi).then(response=>{}) reducetestcount(this.myapi).then(response=>{})
} }
}, },
// - 访this", // - 访this",
created() { created() {

View File

@ -308,7 +308,7 @@ export default {
pay(row){ pay(row){
console.log(row) console.log(row)
window.open("http://21.12.0.10:80/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) window.open("http://localhost:9701/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
this.$message.success('付款成功') this.$message.success('付款成功')