|
@@ -60,7 +60,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="remark" label="备注" show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" v-if="isShowOperate" fixed="right">
|
|
|
+ <el-table-column label="操作" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" size="small" v-if="query.status == 1"
|
|
|
@click="openType('withdrawDetailVisible', scope.row)">提现详情</el-button>
|
|
@@ -80,6 +80,8 @@
|
|
|
@click="openType('applyVisible', scope.row, '打款失败')">打款失败</el-button>
|
|
|
<br />
|
|
|
</div>
|
|
|
+ <el-button link type="primary" size="small" @click="lookInvoice(scope.row)"
|
|
|
+ v-if="scope.row.ticket_link">查看电子发票</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -133,6 +135,11 @@ const statusList = ref([
|
|
|
{ name: '打款成功', value: 4 },
|
|
|
{ name: '打款失败', value: 5 },
|
|
|
])
|
|
|
+// 查看电子发票
|
|
|
+const lookInvoice = (row: object) => {
|
|
|
+ window.open(row.ticket_link)
|
|
|
+ console.log(row, 'uploadInvoiceuploadInvoice');
|
|
|
+}
|
|
|
const { data, query, search, reset, loading } = useGetList(api);
|
|
|
const dialogFormVisible = ref(false)
|
|
|
const userDetailData = ref({})
|