This commit is contained in:
BianLzhaoMin 2025-12-12 15:05:33 +08:00
parent 71bbf49885
commit ad01758eea
1 changed files with 77 additions and 66 deletions

View File

@ -91,7 +91,15 @@
<el-button size="mini" @click="codeTool" type="primary" class="primary-lease"> 上架编码工具 </el-button> <el-button size="mini" @click="codeTool" type="primary" class="primary-lease"> 上架编码工具 </el-button>
</el-row> </el-row>
<el-table :data="toolList" show-overflow-tooltip border @selection-change="handleSelectionChange"> <div>
<el-table
:data="toolList"
show-overflow-tooltip
border
stripe
height="546"
@selection-change="handleSelectionChange"
>
<!-- 修复后的表格列代码 --> <!-- 修复后的表格列代码 -->
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column align="center" label="序号" type="index" width="80" /> <el-table-column align="center" label="序号" type="index" width="80" />
@ -128,7 +136,9 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div>
<!-- 分页组件 --> <!-- 分页组件 -->
<div class="pagination-wrapper">
<el-pagination <el-pagination
background background
layout="total,sizes,prev, pager, next" layout="total,sizes,prev, pager, next"
@ -138,6 +148,7 @@
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
/> />
</div>
</el-card> </el-card>
<!-- 上架数量工具 --> <!-- 上架数量工具 -->
@ -1001,30 +1012,30 @@ export default {
} }
.content-box { .content-box {
// height: calc(100vh - 220px); height: calc(100vh - 220px);
// border-radius: 8px; border-radius: 8px;
// display: flex; display: flex;
// flex-direction: column; flex-direction: column;
// overflow: hidden; overflow: hidden;
// ::v-deep .el-card__body { ::v-deep .el-card__body {
// display: flex !important; display: flex !important;
// flex-direction: column !important; flex-direction: column !important;
// height: 100% !important; height: 100% !important;
// padding: 20px; padding: 20px;
// } }
// .el-row:first-child { .el-row:first-child {
// margin-bottom: 16px; margin-bottom: 16px;
// flex-shrink: 0; flex-shrink: 0;
// .el-col { .el-col {
// display: flex; display: flex;
// justify-content: flex-end; justify-content: flex-end;
// align-items: center; align-items: center;
// gap: 12px; gap: 12px;
// } }
// } }
.table-container { .table-container {
overflow: hidden; overflow: hidden;