From 527b5009256cbf4a30a4f154d0c1b7dbeb11472f Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 28 十一月 2025 16:41:28 +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