pull/7/head^2
parent
99f54f306a
commit
b1788762a7
|
@ -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('请先选择一项进行支付');
|
||||
|
|
Loading…
Reference in New Issue