From a918d3676da9024c668c02e4a328d67285c7eac3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 26 九月 2025 08:59:20 +0800
Subject: [PATCH] 领用单丝,字段回显实际生产长度和重量
---
src/pages/production/components/ProductionCard.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/pages/production/components/ProductionCard.vue b/src/pages/production/components/ProductionCard.vue
index cf16aae..d691c8c 100644
--- a/src/pages/production/components/ProductionCard.vue
+++ b/src/pages/production/components/ProductionCard.vue
@@ -4,7 +4,7 @@
<view class="flex justify-between w-full h-[20px]">
<view class="text-[#646874] pl-1">{{ item.label }}</view>
<view class="font-medium pr-1" :style="{ color: item.color ?? color }">
- {{ value[item.prop] }}
+ {{ value[item.prop] }} {{ value[item.unitProp] }} {{ item.unit }}
</view>
</view>
</wd-col>
@@ -29,5 +29,9 @@
type: String,
default: "#333333",
},
+ unit: {
+ type: String,
+ default: "",
+ },
});
</script>
--
Gitblit v1.9.3