diff --git a/src/pages/customerDetails/index.tsx b/src/pages/customerDetails/index.tsx index 5ece8ff..97b605f 100644 --- a/src/pages/customerDetails/index.tsx +++ b/src/pages/customerDetails/index.tsx @@ -86,9 +86,11 @@ const CustomerDetails = () => { {infoObj?.phone} - - {infoObj?.platform_source_name || '暂无'} - + { + infoObj?.platform_source !== 1 && + {infoObj?.platform_source_name || '暂无'} + + } {infoObj?.purchaser_type_name || '暂无'} diff --git a/src/pages/customerPage/index.tsx b/src/pages/customerPage/index.tsx index b97c364..b2621eb 100644 --- a/src/pages/customerPage/index.tsx +++ b/src/pages/customerPage/index.tsx @@ -138,7 +138,7 @@ const CustomerPage = () => { { item.name } { - item?.platform_source_name + (item?.platform_source_name && item.platform_source !== 1) && { item?.platform_source_name } diff --git a/src/pages/getColorCard/colorCardList/index.tsx b/src/pages/getColorCard/colorCardList/index.tsx index 58aca5f..bf6dbd9 100644 --- a/src/pages/getColorCard/colorCardList/index.tsx +++ b/src/pages/getColorCard/colorCardList/index.tsx @@ -195,6 +195,7 @@ const ColorCardList = () => { + {/* multipleSelection.current.some(mul => mul.id === item.id) 确保加载新数据时保持选中状态 */} mul.id === item.id)} diff --git a/src/pages/order/components/itemList/index.tsx b/src/pages/order/components/itemList/index.tsx index 9ef912d..1c86143 100644 --- a/src/pages/order/components/itemList/index.tsx +++ b/src/pages/order/components/itemList/index.tsx @@ -55,7 +55,7 @@ const ItemList = (props: propsObj) => { {obj?.purchaser_name} { - obj?.platform_source_name + (obj?.platform_source_name && obj?.platform_source !== 1) && { obj?.platform_source_name } diff --git a/src/pages/orderDetails/index.tsx b/src/pages/orderDetails/index.tsx index abe3bfc..283f9bd 100644 --- a/src/pages/orderDetails/index.tsx +++ b/src/pages/orderDetails/index.tsx @@ -834,9 +834,11 @@ const OrderDetails = () => { {infoObj.purchaser_name} - - {infoObj?.platform_source_name || '暂无'} - + { + infoObj?.platform_source !== 1 && + {infoObj?.platform_source_name || '暂无'} + + } {infoObj.purchaser_phone}