<template>
    <a-table :columns="columns" :data-source="tableData" :loading="loading" :pagination="{
        current: pagination.current,
        pageSize: pagination.pageSize,
        total: pagination.total,
        showSizeChanger: true,
        showQuickJumper: true,
        showTotal: (total) => `共 ${total} 条`,
        onChange: handleTableChange,
        onShowSizeChange: handleTableChange,
    }" @change="handleTableChange">

        <template #bodyCell="{ column, record, text }">
            <template v-if="column.key === 'supplier_t'">
                <a @click="handleSupplierClick(record.supplier_id)">{{ text }}</a>
            </template>
        </template>
    </a-table>
</template>

<script setup lang="ts">
    
</script>

