From 85832c85a73adfbef540b57777791cfaa2776727 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 20 十一月 2025 10:27:23 +0800
Subject: [PATCH] fix: 优化绞线报工

---
 src/pages/production/twist/report/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pages/production/twist/report/index.vue b/src/pages/production/twist/report/index.vue
index c1b3b25..5a0fe0d 100644
--- a/src/pages/production/twist/report/index.vue
+++ b/src/pages/production/twist/report/index.vue
@@ -176,9 +176,9 @@
     const { data } = await HomeApi.getIndex();
     if (data) {
       // 瀛樺偍鐝粍ID
-      if (data.team) {
-        teamId.value = data.team;
-        setTeamId(data.team);
+      if (data.id) {
+        teamId.value = data.id;
+        setTeamId(data.id);
       }
       // 瀛樺偍鐢熶骇鍑嗗ID
       if (data.prepareId) {

--
Gitblit v1.9.3