供应商消息以及代码优化
This commit is contained in:
@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
|
||||
import { Table, Form, Input, Select, Button, DatePicker, Tag, Space, message } from 'antd';
|
||||
import { SearchOutlined, ReloadOutlined } from '@ant-design/icons';
|
||||
import DetailView from './components/DetailView';
|
||||
import { getSupplierChangeList, list } from './services';
|
||||
import { list } from './services';
|
||||
|
||||
const { RangePicker } = DatePicker;
|
||||
|
||||
@ -99,7 +99,7 @@ const SupplierChangeManage: React.FC = () => {
|
||||
},
|
||||
{
|
||||
title: '供应商分类',
|
||||
dataIndex: 'supplierType',
|
||||
dataIndex: 'enterpriseTypeCn',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
@ -116,13 +116,11 @@ const SupplierChangeManage: React.FC = () => {
|
||||
title: '流程状态',
|
||||
dataIndex: 'status',
|
||||
align: 'center',
|
||||
render: (val: any) => <Tag color={statusColorMap[val] || 'default'}>{val}</Tag>,
|
||||
},
|
||||
{
|
||||
title: '审批结果',
|
||||
dataIndex: 'result',
|
||||
align: 'center',
|
||||
render: (val: any) => val ? <Tag color={resultColorMap[val] || 'default'}>{val}</Tag> : null,
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
|
@ -92,11 +92,11 @@ const SupplierRegisterAgent: React.FC = () => {
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: '供应商类型',
|
||||
dataIndex: 'enterpriseType',
|
||||
align: 'center',
|
||||
},
|
||||
// {
|
||||
// title: '供应商类型',
|
||||
// dataIndex: 'supplierType',
|
||||
// align: 'center',
|
||||
// },
|
||||
{
|
||||
title: '创建单位',
|
||||
dataIndex: 'unit',
|
||||
|
Reference in New Issue
Block a user