From 31529c9b7c993b409b3a369492f232fe38850ec4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 03 二月 2026 16:42:34 +0800
Subject: [PATCH] 原材料检验增加采购订单号;过程检验和出厂检验增加生产工单号
---
src/views/productionManagement/productionOrder/index.vue | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 4c09ac7..9a4620f 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -239,13 +239,17 @@
// 娣诲姞琛ㄨ绫诲悕鏂规硶
const tableRowClassName = ({ row }) => {
- switch (row.deliveryDaysDiff) {
- case 15:
- return 'yellow'
- case 10:
- return 'red'
- case 2:
- return 'purple'
+ if (row.isFh) return '';
+
+ 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 +417,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