fix: 修正库存查询,优化展示。

This commit is contained in:
c
2026-03-13 17:34:05 +08:00
parent 8628776104
commit 48cd47dd72
14 changed files with 463 additions and 43 deletions

View File

@@ -199,20 +199,41 @@ defineExpose({
<style scoped>
.footer-actions {
display: flex;
gap: 12px;
align-items: center;
gap: 12px; /* 确保附加组件和按钮之间有间距 */
}
.dialog-footer-container {
display: flex;
justify-content: space-between; /* 左右两端对齐 */
align-items: center;
justify-content: space-between;
width: 100%;
}
.footer-summary {
display: flex;
gap: 8px;
align-items: center;
}
.total-count {
font-size: 14px;
font-weight: 500;
color: var(--el-text-color-primary);
}
.selected-count {
font-size: 13px;
font-weight: 500;
color: var(--el-color-primary);
}
.dialog-filter-area {
padding: 12px 16px;
margin-bottom: 16px;
padding: 10px;
background-color: var(--el-fill-color-lighter);
border-radius: 4px;
border: 1px solid var(--el-border-color-lighter);
border-radius: 6px;
}
.dialog-table-area {
@@ -223,7 +244,38 @@ defineExpose({
.dialog-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
justify-content: flex-end;
}
:deep(.el-dialog) {
overflow: hidden;
border-radius: 8px;
}
:deep(.el-dialog__header) {
padding: 16px 20px;
margin-right: 0;
background-color: var(--el-fill-color-light);
border-bottom: 1px solid var(--el-border-color-lighter);
}
:deep(.el-dialog__title) {
font-size: 16px;
font-weight: 600;
color: var(--el-text-color-primary);
}
:deep(.el-dialog__headerbtn) {
top: 16px;
}
:deep(.el-table) {
font-size: 13px;
}
:deep(.el-table th.el-table__cell) {
font-weight: 600;
background-color: var(--el-fill-color-light);
}
</style>