供应商退出申请弹窗/黑名单申请与供应商名称弹出
This commit is contained in:
@ -9,25 +9,13 @@ const AccessCategoryTable = ({id}:{id:string}) => {
|
||||
const columns = [
|
||||
{
|
||||
title: '准入单位',
|
||||
dataIndex: 'deptId',
|
||||
key: 'deptId',
|
||||
dataIndex: 'deptName',
|
||||
key: 'deptName',
|
||||
},
|
||||
{
|
||||
title: '准入品类',
|
||||
dataIndex: 'categoryNames',
|
||||
key: 'categoryNames',
|
||||
render: (_: any, record: any) => {
|
||||
console.log(record.categoryNames);
|
||||
const arr = record.categoryNames ? record.categoryNames.split(',') : [];
|
||||
|
||||
return arr.length
|
||||
? arr.map((item: string, idx: number) => (
|
||||
<div key={idx} style={{ marginBottom: 4 }}>
|
||||
{item}
|
||||
</div>
|
||||
))
|
||||
: '';
|
||||
},
|
||||
dataIndex: 'categoryName',
|
||||
key: 'categoryName',
|
||||
},
|
||||
{
|
||||
title: '准入时间',
|
||||
|
@ -18,7 +18,7 @@ export const SupplierDetailModalProvider = ({ children }: { children: React.Reac
|
||||
return (
|
||||
<SupplierDetailModalContext.Provider value={showSupplierDetail}>
|
||||
{children}
|
||||
<Modal visible={visible} onCancel={() => setVisible(false)} footer={null} width="90%" title={
|
||||
<Modal visible={visible} zIndex={1100} onCancel={() => setVisible(false)} footer={null} width="90%" title={
|
||||
<div style={{ display: 'flex', justifyContent: 'flex-start', alignItems: 'center' }}>
|
||||
<span>{intl.formatMessage({ id: 'component.globalModal.title' })}</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user