11
This commit is contained in:
1 parent
9f8d7a648a
commit
283a87dc51
3 files changed
+36
-41
No files matched your search
@@ -87,7 +87,7 @@
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="120">
|
||||
<el-table-column label="操作" align="center" width="250">
|
||||
<template #default="{ row }">
|
||||
<el-tooltip class="box-item" effect="dark" content="只有合作商家能结账" placement="top">
|
||||
<el-button icon="Tickets" text :disabled="row.merchantType != 2" type="primary"
|
||||
@@ -95,6 +95,9 @@
|
||||
商户结账
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<el-button icon="Tickets" type="primary" text @click="exportMchExcel(row)">
|
||||
导出商户流水
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -138,6 +141,10 @@ const doCheckout = (row: any) => {
|
||||
push({ path: "/mch/mch-checkout/index", query: { mchId: row.merchantId } })
|
||||
}
|
||||
|
||||
const exportMchExcel = (row: any) => {
|
||||
postDownBlobFile("/hard/hard-total/export-mch-cs", { ...state.queryForm, merchantId: row.merchantId }, "商户流水.xlsx")
|
||||
}
|
||||
|
||||
const getSummaries = (param: any) => {
|
||||
const { columns, data } = param
|
||||
const totalColumns = ["totalPayPrice", "totalPayCount", "totalRefundPrice", "totalRefundCount", "totalProfitPrice", "totalProfitCount"]
|
||||
|
||||
Reference in new issue
Block a user