🐞 fix(ID1000731):面料详情的加入购物车剪版、散剪没有空差这个概念,空差去掉
This commit is contained in:
parent
5f5ae31c95
commit
ec748ea9ac
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user