From 20dbdee5a002544f6a4e12b5e39e338052418782 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 26 十二月 2025 10:36:27 +0800
Subject: [PATCH] fix: 完成成品单丝报工逻辑
---
src/components/product_card/index.vue | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/components/product_card/index.vue b/src/components/product_card/index.vue
index 92b2413..08ae612 100644
--- a/src/components/product_card/index.vue
+++ b/src/components/product_card/index.vue
@@ -3,6 +3,13 @@
<template #title>
<view class="flex justify-between w-full">
<text class="font-medium text-[#252525]">璁惧缂栧彿: {{ data[map.deviceModel] }}</text>
+ <wd-tag
+ :color="data[map.isMonofil] == 1 ? '#0D867F' : '#e6a23c'"
+ :bg-color="data[map.isMonofil] == 1 ? '#E7F4EC' : '#fdf6ec'"
+ >
+ <text class="text-xs">{{ data[map.isMonofil] == 1 ? "鎴愬搧" : "鍗婃垚鍝�" }}</text>
+ </wd-tag>
+ <!-- #fdf6ec #e6a23c-->
<wd-tag color="#0D867F" bg-color="#E7F4EC">
<text class="text-xs">{{ data[map.model] }}</text>
</wd-tag>
@@ -60,6 +67,19 @@
</view>
</wd-col>
</wd-row>
+ <wd-row class="my-2" v-if="data.type === '鎷変笣' && data.contractNo && data[map.isMonofil] == 1">
+ <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.totalWeight }} kg</text>
+ </text>
+ </view>
+ </wd-col>
+ </wd-row>
<wd-row class="my-2">
<wd-col :span="12">
<view class="flex">
--
Gitblit v1.9.3