🐞 fix(【ID1001061】 【购物车】-客户价格小于或等于标准报价时,只显示客户价格):
This commit is contained in:
parent
9552921b82
commit
8626fe71ba
@ -85,7 +85,7 @@ const Index = memo((props: IndexItemType) => {
|
|||||||
<View className={styles.name_price}>
|
<View className={styles.name_price}>
|
||||||
<Text>{colorItem.product_color_code + colorItem.product_color_name}</Text>
|
<Text>{colorItem.product_color_code + colorItem.product_color_name}</Text>
|
||||||
<View className={styles.price}>
|
<View className={styles.price}>
|
||||||
{(colorItem.standard_price > colorItem.sale_price) && <Text>¥{formatPriceDiv(colorItem.sale_price)}</Text>}
|
<Text>{colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.sale_price)}`}</Text>
|
||||||
<Text>¥{formatPriceDiv(colorItem.standard_price)}/kg</Text>
|
<Text>¥{formatPriceDiv(colorItem.standard_price)}/kg</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@ -82,7 +82,7 @@ const Index = memo((props: ProductType) => {
|
|||||||
<View className={styles.name_price}>
|
<View className={styles.name_price}>
|
||||||
<Text>{colorItem?.screw_color_code + colorItem?.screw_color_name}</Text>
|
<Text>{colorItem?.screw_color_code + colorItem?.screw_color_name}</Text>
|
||||||
<View className={styles.price}>
|
<View className={styles.price}>
|
||||||
<Text>¥{formatPriceDiv(colorItem?.sale_price)}</Text>
|
<Text>{(colorItem?.standard_price > colorItem?.sale_price) && `¥${formatPriceDiv(colorItem?.sale_price)}`}</Text>
|
||||||
<Text>¥{formatPriceDiv(colorItem?.standard_price)}/kg</Text>
|
<Text>¥{formatPriceDiv(colorItem?.standard_price)}/kg</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user