更改表格尺寸

This commit is contained in:
tao
2025-12-31 16:39:39 +08:00
parent a6fb67e374
commit 281e1dfc83
3 changed files with 10 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ fetchBoundEquipmentList()
<a-col :span="14">
<div class="table-wrapper" ref="customTable">
<a-table :dataSource="equipmentTableData" :columns="equipmentColumns as ColumnsType<EquipmentTableItem>"
:pagination="false" bordered sticky size="middle" :scroll="{ y: tableHeight }" :loading="loadingEquipmentTableData">
:pagination="false" bordered sticky :scroll="{ y: tableHeight }" :loading="loadingEquipmentTableData">
<template #bodyCell="{ column, index, record }">
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
<template v-if="column.key === 'action'">

View File

@@ -140,7 +140,7 @@ fetchBoundMaskList()
<a-button size="large" @click="() => openMaskModal = true">绑定治具组合</a-button>
<div class="table-wrapper" ref="customTable">
<a-table :dataSource="maskTableData" :columns="maskColumns as ColumnsType<MaskTableItem>"
:pagination="false" bordered sticky size="middle" :scroll="{ y: tableHeight }" :loading="loadingMask">
:pagination="false" bordered sticky :scroll="{ y: tableHeight }" :loading="loadingMask">
<template #bodyCell="{ column, index, record }">
<template v-if="column.key === 'index'">{{ index + 1 }}</template>
<template v-if="column.key === 'action'">