diff --git a/inventory-web/src/views/material/list.vue b/inventory-web/src/views/material/list.vue
index 9027b8a..f4b3531 100644
--- a/inventory-web/src/views/material/list.vue
+++ b/inventory-web/src/views/material/list.vue
@@ -508,11 +508,11 @@
-
+
库存数量 ≤ 此值时显示红色预警
-
+
红色阈值 < 库存 ≤ 此值时显示黄色预警
@@ -1426,15 +1426,17 @@ onMounted(() => {
.file-preview-cell { display: flex; align-items: center; justify-content: center; position: relative; }
.more-badge { position: absolute; top: -5px; right: -5px; background: #909399; color: #fff; border-radius: 10px; padding: 0 4px; font-size: 10px; transform: scale(0.9); }
-/* 预警行样式 */
+/* 预警行样式 - 加深颜色 */
:deep(.warning-row-red) {
- background-color: rgba(245, 108, 108, 0.15) !important;
+ --el-table-tr-bg-color: #ffcdd2 !important;
+ background-color: #ffcdd2 !important;
}
:deep(.warning-row-red td) {
background-color: transparent !important;
}
:deep(.warning-row-yellow) {
- background-color: rgba(230, 162, 60, 0.15) !important;
+ --el-table-tr-bg-color: #fff59d !important;
+ background-color: #fff59d !important;
}
:deep(.warning-row-yellow td) {
background-color: transparent !important;