From f0a4c2e1985a56362a30004b06e7bad5fef4efc0 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 17 三月 2026 15:47:59 +0800
Subject: [PATCH] fix: 修正标签数据中重量字段的取值逻辑
---
src/pages/production/components/ProductionCard.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pages/production/components/ProductionCard.vue b/src/pages/production/components/ProductionCard.vue
index d691c8c..108eae9 100644
--- a/src/pages/production/components/ProductionCard.vue
+++ b/src/pages/production/components/ProductionCard.vue
@@ -1,8 +1,8 @@
<template>
<wd-row>
- <wd-col v-for="(item, index) in data" :key="index" :span="item.span ?? 12" class="my-1">
- <view class="flex justify-between w-full h-[20px]">
- <view class="text-[#646874] pl-1">{{ item.label }}</view>
+ <wd-col v-for="(item, index) in data" :key="index" :span="24" class="my-1">
+ <view class="flex w-full h-[20px]">
+ <view class="text-[#646874] pl-1 mr-3">{{ item.label }}</view>
<view class="font-medium pr-1" :style="{ color: item.color ?? color }">
{{ value[item.prop] }} {{ value[item.unitProp] }} {{ item.unit }}
</view>
--
Gitblit v1.9.3