准入查看与零星采购/应急采购/个人供应商和个人修改
This commit is contained in:
@ -23,24 +23,7 @@ interface ModalInfo {
|
||||
visible: boolean;
|
||||
record: string | null;
|
||||
}
|
||||
const statusColorMap: Record<string, string> = {
|
||||
'未开始': 'default',
|
||||
'进行中': 'processing',
|
||||
'已完成': 'success',
|
||||
};
|
||||
|
||||
const methodOptions = [
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '线上准入', value: '线上准入' },
|
||||
{ label: '线下准入', value: '线下准入' },
|
||||
];
|
||||
|
||||
const statusOptions = [
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '未开始', value: '未开始' },
|
||||
{ label: '进行中', value: '进行中' },
|
||||
{ label: '已完成', value: '已完成' },
|
||||
];
|
||||
|
||||
const deptOptions = [
|
||||
{ label: '全部', value: '' },
|
||||
@ -142,22 +125,33 @@ const SupplierEntryReview: React.FC = () => {
|
||||
title: '准入方式',
|
||||
dataIndex: 'accessTypeText',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: '准入品类',
|
||||
dataIndex: 'categoryName',
|
||||
dataIndex: 'categoryNameList',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
render: (_: any, record: any) => {
|
||||
return (
|
||||
<>
|
||||
{record.categoryNameList.map((item:string) => {
|
||||
return <div>{`${item}`}</div>
|
||||
})}
|
||||
</>
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '开始时间',
|
||||
dataIndex: 'startTime',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: '结束时间',
|
||||
dataIndex: 'endTime',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: '流程状态',
|
||||
@ -173,7 +167,6 @@ const SupplierEntryReview: React.FC = () => {
|
||||
title: '操作',
|
||||
width: 120,
|
||||
render: (_: any, record: any) => {
|
||||
console.log(record, 'record');
|
||||
return (
|
||||
<Space>
|
||||
<a onClick={() => openModal(record.id)}>查看</a>
|
||||
@ -195,7 +188,7 @@ const SupplierEntryReview: React.FC = () => {
|
||||
<Select style={{ width: 150 }} placeholder="请选择准入方式" allowClear >
|
||||
<Option value="online">线上准入</Option>
|
||||
<Option value="offline">线下准入</Option>
|
||||
<Option value="scattered">零星采购/应急采购</Option>
|
||||
<Option value="scattered">零星采购/应急采购/个人供应商</Option>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
<Form.Item name="deptId" label="准入部门">
|
||||
|
Reference in New Issue
Block a user