From ec748ea9acf2efb3e9279eca509472922d9a8bd7 Mon Sep 17 00:00:00 2001
From: Haiyi <1021441632@qq.com>
Date: Thu, 17 Nov 2022 18:17:43 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1000731):=E9=9D=A2?=
=?UTF-8?q?=E6=96=99=E8=AF=A6=E6=83=85=E7=9A=84=E5=8A=A0=E5=85=A5=E8=B4=AD?=
=?UTF-8?q?=E7=89=A9=E8=BD=A6=E5=89=AA=E7=89=88=E3=80=81=E6=95=A3=E5=89=AA?=
=?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=A9=BA=E5=B7=AE=E8=BF=99=E4=B8=AA=E6=A6=82?=
=?UTF-8?q?=E5=BF=B5=EF=BC=8C=E7=A9=BA=E5=B7=AE=E5=8E=BB=E6=8E=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/goodsItem/index.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/goodsItem/index.tsx b/src/components/goodsItem/index.tsx
index 6915265..134dc55 100644
--- a/src/components/goodsItem/index.tsx
+++ b/src/components/goodsItem/index.tsx
@@ -70,7 +70,9 @@ export default memo((props: props) => {
{props.value?.code} {props.value?.name}
剩:{props.value?.roll}件
- 空差:{props?.value?.weight_error as number / 1000 || 0}Kg
+ {
+ props?.modeFont === 0 && 空差:{props?.value?.weight_error as number / 1000 || 0}Kg
+ }
¥{props?.modeFont === 0 ? Number(props.value?.bulk_price) / 100 : props.modeFont === 1 ? Number(props.value?.length_cut_price) / 100 : Number(props.value?.weight_cut_price) / 100}{props.modeFont != 1 ? '/Kg' : '/m'}