推线上

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

@ -285,7 +285,7 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible1 = false"> </el-button>
<el-button type="primary" @click="confirmSelection"> </el-button>
<el-button type="primary" @click=" confirmSelection"> </el-button>
</span>
</el-dialog>
@ -549,13 +549,7 @@ export default {
});
}},
confirmSelection(row) {
this.dialogVisible1=false
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');
@ -581,14 +575,22 @@ export default {
resultDiv.innerHTML += '<p>Result: ' + jsonData.result.res + '</p>';
} else {
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
container.appendChild(resultDiv);
}
//-1
reducetestcount(this.myapi).then(response=>{})
}
},
// - 访this",
created() {

View File

@ -308,7 +308,7 @@ export default {
pay(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('付款成功')