diff --git a/src/views/capital/rechangeChanl/options.ts b/src/views/capital/rechangeChanl/options.ts index 2b7ba4e..42cd584 100644 --- a/src/views/capital/rechangeChanl/options.ts +++ b/src/views/capital/rechangeChanl/options.ts @@ -4,7 +4,7 @@ export const tableColumns = [ //存款渠道名称 { label: '渠道名称', prop: 'name' }, //存款渠道费用 - { label: '渠道费用', prop: 'channel_fee', isNumber: true }, + { label: '渠道费用', prop: 'channel_fee' }, //存款渠道类型 { label: '入金货币', prop: 'currency.symbol' }, // 接口地址 @@ -18,8 +18,7 @@ export const formItemsData = [ { label: '渠道名称', prop: 'name', type: 'input', placeholder: '请输入渠道名称' }, { label: '渠道费用', - prop: 'channel_fee', - type: 'number', + prop: 'channel_fee', min: 0, max: 999999, controls: false, diff --git a/src/views/capital/withdrawChanl/options.ts b/src/views/capital/withdrawChanl/options.ts index 2380be0..d618b28 100644 --- a/src/views/capital/withdrawChanl/options.ts +++ b/src/views/capital/withdrawChanl/options.ts @@ -4,7 +4,7 @@ export const tableColumns = [ //渠道名称 { label: '渠道名称', prop: 'name' }, //渠道费用 - { label: '渠道费用', prop: 'channel_fee', isNumber: true }, + { label: '渠道费用', prop: 'channel_fee' }, //货币类型 // { label: '入金货币', prop: 'currency.name' }, // 接口地址 @@ -19,7 +19,6 @@ export const formItemsData = [ { label: '渠道费用', prop: 'channel_fee', - type: 'number', min: 0, max: 999999, controls: false, diff --git a/src/views/capital/withdrawCheck/index.vue b/src/views/capital/withdrawCheck/index.vue index 5826a90..5488bdb 100644 --- a/src/views/capital/withdrawCheck/index.vue +++ b/src/views/capital/withdrawCheck/index.vue @@ -329,9 +329,13 @@ const handleReject = async (row?: TableRow) => { // 导出 const handleExport = async () => { + // 筛选导出字段:收款人姓名、收款人英文名字、银行名称、银行账号、取款金额 + const exportColumns = withdrawCheckTableColumns.filter((col) => + ['beneficiary_name', 'beneficiary_enname', 'beneficiary_bank_name', 'beneficiary_bank_account', 'withdraw_amount'].includes(col.prop) + ) await exportToExcel({ tableData: tableData.value, - columns: withdrawCheckTableColumns, + columns: exportColumns, fileName: '提现审核列表' }) } diff --git a/src/views/capital/withdrawCheck/options.ts b/src/views/capital/withdrawCheck/options.ts index 0d919a9..b147bc4 100644 --- a/src/views/capital/withdrawCheck/options.ts +++ b/src/views/capital/withdrawCheck/options.ts @@ -51,6 +51,7 @@ export const withdrawCheckTableColumns = [ { prop: 'beneficiary_bank_name', label: '银行名称', align: 'center' as const, width: 180}, { prop: 'beneficiary_enname', label: '收款人英文名字', align: 'center' as const, width: 180}, { prop: 'fee', label: '通道费', align: 'center' as const, width: 180}, + { prop: 'withdraw_blance', label: '余额费用', align: 'center' as const, width: 180}, { prop: 'beneficiary_name', label: '收款人姓名', align: 'center' as const, width: 180}, { prop: 'created_at', label: '申请时间', align: 'center' as const, width: 180}, { label: '操作', align: 'center' as const, width: 140, fixed: 'right' as const, slotName: 'action' }, diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 6734d23..7ff89f6 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -198,7 +198,7 @@ onMounted(() => {