Commit 58663c33 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 隐藏待审核商品上架商城

parent 26b0f7ae
......@@ -227,11 +227,11 @@ const CheckProductDetail: React.FC<{}> = () => {
<Descriptions colon={true} style={{ paddingLeft: 128 }}>
<Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.1' })}>{productDetail?.brand?.name}</Descriptions.Item>
<Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.2' })}>{productDetail?.customerCategory?.fullName}</Descriptions.Item>
<Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.3' })}>
{/* <Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.3' })}>
{
productDetail?.commodityShopList?.length>0 && productDetail.commodityShopList.map((item, index)=><span key={index}>{item.name}&nbsp;</span>)
}
</Descriptions.Item>
</Descriptions.Item> */}
{renderStatus(productDetail?.status, 1) && <Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.4' })}>{renderStatus(productDetail?.status, 1)}</Descriptions.Item>}
{renderStatus(productDetail?.status, 2) && <Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.5' })}>{renderStatus(productDetail?.status, 2)}</Descriptions.Item>}
<Descriptions.Item label={intl.formatMessage({ id: 'commodity.checkProductDetail.description.label.6' })}><span className="commonStatusValid"></span>{renderCustomerCategoryType(productDetail?.customerCategory?.type)}</Descriptions.Item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment