From 2de633725d5e5d843853240933f63220dc4e4cb2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 03 十二月 2025 16:53:57 +0800
Subject: [PATCH] fix: 导体会存在每隔一段距离需要标记的情况,需要通知工人进行标记。

---
 src/pages/production/detail/twistDetail.vue |    3 +++
 src/components/product_card/index.vue       |   13 +++++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/components/product_card/index.vue b/src/components/product_card/index.vue
index e6f64b6..92b2413 100644
--- a/src/components/product_card/index.vue
+++ b/src/components/product_card/index.vue
@@ -84,6 +84,19 @@
         </view>
       </wd-col>
     </wd-row>
+    <wd-row class="my-2" v-if="data[map.segmentLengthNote]">
+      <wd-col :span="24">
+        <view class="flex">
+          <view class="icon_box">
+            <wd-icon name="folder" color="#0D867F"></wd-icon>
+          </view>
+          <text class="text-[#646874] mx-2">
+            娈甸暱澶囨敞:
+            <text class="text-[#252525]">{{ data[map.segmentLengthNote] }}</text>
+          </text>
+        </view>
+      </wd-col>
+    </wd-row>
   </wd-card>
 </template>
 
diff --git a/src/pages/production/detail/twistDetail.vue b/src/pages/production/detail/twistDetail.vue
index ed3d10f..cfb6e49 100644
--- a/src/pages/production/detail/twistDetail.vue
+++ b/src/pages/production/detail/twistDetail.vue
@@ -9,6 +9,7 @@
         totalAmount: 'totalAmount',
         amount: 'amount',
         unAmount: 'unAmount',
+        segmentLengthNote: 'segmentLengthNote',
       }"
     />
     <view class="mx-3">
@@ -52,6 +53,7 @@
   totalAmount: undefined,
   amount: undefined,
   unAmount: undefined,
+  segmentLengthNote: undefined,
 });
 const detailData = ref<any>({});
 
@@ -66,6 +68,7 @@
   cardData.totalAmount = data.totalLength;
   cardData.amount = data.length;
   cardData.unAmount = data.unLength;
+  cardData.segmentLengthNote = data.segmentLengthNote;
 };
 
 // 鑾峰彇骞剁紦瀛樼敓浜у噯澶嘔D

--
Gitblit v1.9.3