🐞 fix:修复客户管理不允许二次弹窗

This commit is contained in:
Haiyi
2022-11-11 17:58:46 +08:00
parent 45c656e0ed
commit ca9638ca48
7 changed files with 59 additions and 33 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ 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}Kg</View>
<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>