diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index e97a32b..18f9b6b 100644 --- a/src/pages/details/index.tsx +++ b/src/pages/details/index.tsx @@ -343,7 +343,7 @@ const Details = (props: Params) => { {item.name} {formatPriceDiv(item.bulk_price)}/Kg{ - item.length_cut_price ? (item.bulk_price > item.length_cut_price) ? : : null + (currentDialogDetail.current!.last_bulk_price && currentDialogDetail.current!.bulk_price !== currentDialogDetail.current!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null } ) @@ -416,7 +416,7 @@ const Details = (props: Params) => { ¥{formatPriceDiv(currentDialogDetail.current!.bulk_price)}/KG { - currentDialogDetail.current!.length_cut_price ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.length_cut_price) ? : : null + (currentDialogDetail.current!.last_bulk_price && currentDialogDetail.current!.bulk_price !== currentDialogDetail.current!.last_bulk_price) ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.last_bulk_price) ? : : null }