From a3c508233dd94b50c8005ec3a5d40b91341d6434 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 29 一月 2026 17:58:30 +0800
Subject: [PATCH] Merge branch 'dev_New' of http://114.132.189.42:9002/r/product-inventory-management into dev_New

---
 src/views/productionManagement/productionOrder/index.vue |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 4c09ac7..ece5ca6 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -239,13 +239,16 @@
 
   // 娣诲姞琛ㄨ绫诲悕鏂规硶
   const tableRowClassName = ({ row }) => {
-    switch (row.deliveryDaysDiff) {
-      case 15:
-        return 'yellow'
-      case 10:
-        return 'red'
-      case 2:
-        return 'purple'
+    const diff = row.deliveryDaysDiff;
+
+    if (diff === 15) {
+      return 'yellow';
+    } else if (diff === 10) {
+      return 'pink';
+    } else if (diff === 2) {
+      return 'purple';
+    } else if (diff < 2) {
+      return 'red';
     }
   };
 
@@ -413,10 +416,14 @@
   background-color: #FAF0DE;
 }
 
-::v-deep .red {
+::v-deep .pink {
   background-color: #FAE1DE;
 }
 
+::v-deep .red {
+  background-color: #f80202;
+}
+
 ::v-deep .purple{
   background-color: #F4DEFA;
 }

--
Gitblit v1.9.3