供应商退出申请弹窗/黑名单申请与供应商名称弹出

This commit is contained in:
孙景学
2025-07-17 11:47:38 +08:00
parent eb8f360c2c
commit e848721f3a
10 changed files with 85 additions and 104 deletions

View File

@ -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: '准入时间',

View File

@ -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>