🎈 perf(平台来源): 不显示陆盈字眼

This commit is contained in:
xuan 2023-02-27 10:43:23 +08:00
parent 495a043653
commit 08b8627ec9
5 changed files with 13 additions and 8 deletions

View File

@ -86,9 +86,11 @@ const CustomerDetails = () => {
<View className={styles.itemPhone}>{infoObj?.phone}</View>
</View>
<View className={styles.item_tag_box}>
<Tag type="primary" size="normal" circle customClassName={styles.item_tagItem} plain>
{
infoObj?.platform_source !== 1 && <Tag type="primary" size="normal" circle customClassName={styles.item_tagItem} plain>
{infoObj?.platform_source_name || '暂无'}
</Tag>
}
<Tag type="primary" size="normal" circle customClassName={styles.item_tagItem} plain>
{infoObj?.purchaser_type_name || '暂无'}
</Tag>

View File

@ -138,7 +138,7 @@ const CustomerPage = () => {
{ item.name }
</View>
<View className={styles.platform_source_name}>{
item?.platform_source_name
(item?.platform_source_name && item.platform_source !== 1)
&& <Tag type="primary" size="small" circle plain customClassName={styles.platform_name}>
{ item?.platform_source_name }
</Tag>

View File

@ -195,6 +195,7 @@ const ColorCardList = () => {
</View>
</View>
<View className={styles.addButton} onClick={noop}>
{/* multipleSelection.current.some(mul => mul.id === item.id) 确保加载新数据时保持选中状态 */}
<MCheckbox
disabled={item.is_add}
status={item.is_add || item.status || multipleSelection.current.some(mul => mul.id === item.id)}

View File

@ -55,7 +55,7 @@ const ItemList = (props: propsObj) => {
<View className={styles.flexBox}>
<View className={styles.pussName}>{obj?.purchaser_name}</View>
{
obj?.platform_source_name
(obj?.platform_source_name && obj?.platform_source !== 1)
&& <Tag type="primary" size="small" circle plain customClassName={styles.platform_name}>
{ obj?.platform_source_name }
</Tag>

View File

@ -834,9 +834,11 @@ const OrderDetails = () => {
<View className={styles.pussBox}>
<View className={styles.pussName}>{infoObj.purchaser_name}</View>
<View className={styles.pussName}>
<Tag type="primary" size="normal" circle customClassName={styles.platform_name} plain>
{
infoObj?.platform_source !== 1 && <Tag type="primary" size="normal" circle customClassName={styles.platform_name} plain>
{infoObj?.platform_source_name || '暂无'}
</Tag>
}
</View>
<View className={styles.pussPhone}>{infoObj.purchaser_phone}</View>
</View>