From 12ee7baa78483a3077ac55cc6d11a0ebc543daf4 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 12 十一月 2025 11:14:06 +0800
Subject: [PATCH] 1、中空避免不出片调度修改 2、钢化指定的工程,自动取消指定规则变更 3、中空打印标签修改为只打印配对玻璃的标签

---
 UI-Project/src/views/hollow/hollowequipmenttwo.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowequipmenttwo.vue b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
index f3491af..61f5366 100644
--- a/UI-Project/src/views/hollow/hollowequipmenttwo.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -8,9 +8,9 @@
         <el-button id="searchButton" type="primary" @click="handlezhiban">
           {{ $t('hellow.createtask') }}
         </el-button>
-        <el-button type="primary" @click="selectproject">
+        <!-- <el-button type="primary" @click="selectproject">
           {{ $t('hellow.reviewproject') }}
-        </el-button>
+        </el-button> -->
         <el-button style="margin-left: 10px;" id="searchButton" type="primary" @click="handlehistorical">{{
           $t('searchOrder.historicaltasks') }}</el-button>
         <el-button style="margin-left: 10px;" id="searchButton" type="success" @click="handleBinda">
@@ -617,16 +617,20 @@
   currentPage.value = newPage;
 };
 const handleMessage = (data) => {
-  if (data.queueInfo != null) {
+  if (data.queueInfo[0] != null) {
   const rawData = data.queueInfo[0]
   const formattedData = Object.entries(rawData).map(([key, data]) => ({  
     title: key,  
     tableDataa: Array.isArray(data) ? data : [data]  
   }));  
   tabList.value = formattedData;  
-}
+}else{
+      tabList.value = [];
+  }
   if (tabList.value.length > 0) {  
     activeTab.value = tabList.value[0].title;  
+  }else {
+      activeTab.value = '';
   }
   internalInstance.ctx.$forceUpdate();  
   try {
@@ -677,7 +681,9 @@
   blindc.value = true;
 };
 const handleBinde = (flowCard) => {
-  const summary = flowCard.reduce((map, item) => {
+  const summary = flowCard
+        .filter(item => item.isPair !== 0) 
+        .reduce((map, item) => {
         const key = `${item.hollowSequence}`;
         if (!map[key]) {
           map[key] = {

--
Gitblit v1.8.0