From d5ea406aa49890a3d3111b14e920cdf038c18d65 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 15 四月 2026 09:44:32 +0800
Subject: [PATCH] 优化搜索功能:调整关键字匹配逻辑,确保英文模糊匹配不区分大小写,并添加输入事件处理以增强用户体验

---
 src/views/productionManagement/productionProcess/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index 9761f25..ffe13fc 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -179,7 +179,7 @@
         tableLoading.value = false;
         tableData.value = res.data.records.map(item => ({
           ...item,
-          typeText: item.type ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
+          typeText: item.type !== undefined && item.type !== null ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
         }));
         page.total = res.data.total;
       })

--
Gitblit v1.9.3