🐞 fix(ID1000731):面料详情的加入购物车剪版、散剪没有空差这个概念,空差去掉

This commit is contained in:
Haiyi 2022-11-17 18:17:43 +08:00
parent 5f5ae31c95
commit ec748ea9ac

View File

@ -70,7 +70,9 @@ export default memo((props: props) => {
<View className={styles.leftFontsbox}>
<View className={styles.title}>{props.value?.code} {props.value?.name}</View>
<View className={styles.productNums}>{props.value?.roll}</View>
<View className={styles.productName}>{props?.value?.weight_error as number / 1000 || 0}Kg</View>
{
props?.modeFont === 0 && <View className={styles.productName}>{props?.value?.weight_error as number / 1000 || 0}Kg</View>
}
</View>
<View className={styles.rightFontsbox}>
<View className={styles.money}>¥{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'}</View>