From a3a071bc84c514df3dba26185c532db747f1bf78 Mon Sep 17 00:00:00 2001
From: Haiyi <1021441632@qq.com>
Date: Tue, 13 Dec 2022 14:20:18 +0800
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(=E4=BB=B7=E6=A0=BC=E5=AF=B9?=
=?UTF-8?q?=E6=AF=94):=E4=BB=B7=E6=A0=BC=E4=B8=80=E6=A0=B7=E7=9A=84?=
=?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=8E=9F?=
=?UTF-8?q?=E4=BB=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/details/components/orderCount/index.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pages/details/components/orderCount/index.tsx b/src/pages/details/components/orderCount/index.tsx
index 84a1b36..187d567 100644
--- a/src/pages/details/components/orderCount/index.tsx
+++ b/src/pages/details/components/orderCount/index.tsx
@@ -247,6 +247,7 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first
}, [])
const Rows = ({ id, index, style, data }: any) => {
const item = data[index]
+ console.log(item, 6666)
return (
<>
{(item && (
@@ -258,7 +259,7 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first
{formatHashTag(item.code, item.name)}
{/* {selectIndex == 0 && 空差:{formatWeightDiv(item.weight_error)}kg} */}
- {selectIndex === 0 && {formatOriginalPrice(item)}}
+ {(selectIndex === 0 && item.bulk_price !== item.last_bulk_price) && {formatOriginalPrice(item)}}
{formatPrice(item)}