From 53531219512bd3085903ebb11cf1184b66b05461 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 29 六月 2026 18:15:07 +0800
Subject: [PATCH] feat: 根据备件数量展示不同背景颜色

---
 src/components/PIMTable/PIMTable.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index 631d956..aad24fa 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -8,6 +8,7 @@
             :highlight-current-row="highlightCurrentRow"
             :row-class-name="rowClassName"
             :row-style="rowStyle"
+            :cell-style="cellStyle"
             :row-key="rowKey"
             :style="tableStyle"
             tooltip-effect="dark"
@@ -293,6 +294,10 @@
       type: [Object, Function],
       default: () => ({}),
     },
+    cellStyle: {
+      type: [Object, Function],
+      default: () => ({}),
+    },
     tableData: {
       type: Array,
       default: () => [],

--
Gitblit v1.9.3