添加 Title 组件

This commit is contained in:
tao
2025-12-30 15:51:13 +08:00
parent 1b4c9bcc8d
commit 7b36211f04
8 changed files with 60 additions and 462 deletions

View File

@@ -63,7 +63,7 @@ defineExpose({
<template>
<div class="raw-material__container">
<div class="main-title">材料确认</div>
<Title name="材料确认" showRefresh @refresh="" />
<div class="table-wrapper" ref="customTable">
<a-table :dataSource="materialTableData" :columns="materialColumns as ColumnsType<MaterialTableItem>"
:pagination="false" bordered sticky :scroll="{ y: tableHeight }">
@@ -88,13 +88,6 @@ defineExpose({
overflow: hidden;
height: 100%;
.main-title {
font-size: 20px;
font-weight: 600;
border-bottom: 1px solid #c9c9c9;
padding: 0 0 8px;
}
.table-wrapper {
flex: 1;
overflow: auto;