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)}