pull/7/head^2
Aaaaaaaa 2024-09-05 11:28:55 +08:00
parent 99f54f306a
commit b1788762a7
1 changed files with 7 additions and 2 deletions

View File

@ -176,7 +176,7 @@
</el-table>
<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(row)"> </el-button>
</span>
</el-dialog>
@ -343,12 +343,17 @@ export default {
handleEdit(row) {
this.selectedRow = row;
},
confirmSelection() {
confirmSelection(row) {
this.dialogVisible1=false
if (this.selectedRow) {
//
startPayment(this.selectedRow);
console.log(row)
window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice)
this.$message.success('付款成功')
this.dialogVisible1 = false;
} else {
//
this.$message.warning('请先选择一项进行支付');