🐞 fix(色卡): 修复无法显示的问题

This commit is contained in:
xuan 2023-02-23 19:08:40 +08:00
parent e83a28e461
commit 35318bb333
2 changed files with 14 additions and 14 deletions

View File

@ -49,11 +49,11 @@ const ItemList = (props: PropsType) => {
<View className={styles.rightCont}> <View className={styles.rightCont}>
<View className={styles.rightTop}> <View className={styles.rightTop}>
<View className={styles.productName}>{data.color_card_info[0].name}</View> <View className={styles.productName}>{data.color_card_info[0]?.name}</View>
<View className={styles.shipMode}>{data.shipment_mode_name}</View> <View className={styles.shipMode}>{data.shipment_mode_name}</View>
</View> </View>
<View className={styles.colorsBox}> <View className={styles.colorsBox}>
<View className={styles.colorName}>x{data.color_card_info[0].count || 0}</View> <View className={styles.colorName}>x{data.color_card_info[0]?.count || 0}</View>
</View> </View>
</View> </View>
</View> </View>

View File

@ -80,18 +80,18 @@ const feature: IconCardType[] = [
path: '/pages/customerManagement/index', path: '/pages/customerManagement/index',
jurisdiction: 'customer_list_page', jurisdiction: 'customer_list_page',
}, },
{ // {
iconName: 'icon-lingquseka', // iconName: 'icon-lingquseka',
name: '领取色卡', // name: '领取色卡',
path: '/pages/getColorCard/index', // path: '/pages/getColorCard/index',
jurisdiction: 'ignore', // jurisdiction: 'ignore',
}, // },
{ // {
iconName: 'icon-jianyang', // iconName: 'icon-jianyang',
name: '领取剪样', // name: '领取剪样',
path: '/pages/sampleCutting/index', // path: '/pages/sampleCutting/index',
jurisdiction: 'ignore', // jurisdiction: 'ignore',
}, // },
] ]
const fabric: IconCardType[] = [ const fabric: IconCardType[] = [