搜索弄成全局
This commit is contained in:
@ -3,6 +3,7 @@ import { Table, Form, Input, Select, Button, DatePicker, Tooltip } from 'antd';
|
||||
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
||||
//详情
|
||||
import DetailView from './components/DetailView';
|
||||
import RegionTypeSelect from '@/components/CommonSelect/RegionTypeSelect'
|
||||
//接口
|
||||
import { getPage } from './services';
|
||||
import type { ColumnsType } from 'antd/es/table';
|
||||
@ -16,12 +17,6 @@ import tableProps from '@/utils/tableProps'
|
||||
|
||||
const { RangePicker } = DatePicker;
|
||||
|
||||
const regionOptions = [
|
||||
{ label: '境内企业', value: 'dvs' },
|
||||
{ label: '境外企业', value: 'ovs' },
|
||||
{ label: '个人', value: 'pe' },
|
||||
];
|
||||
|
||||
interface Columns {
|
||||
supplierName: string;
|
||||
supplierType: string;
|
||||
@ -202,8 +197,8 @@ const SupplierChangeReviewManage: React.FC<Props> = ({ dispatch }) => {
|
||||
<Form.Item name="supplierName" label="供应商名称">
|
||||
<Input placeholder="请输入供应商名称关键字" allowClear />
|
||||
</Form.Item>
|
||||
<Form.Item name="supplierType" label="境内/境外">
|
||||
<Select options={regionOptions} allowClear style={{ width: 120 }} placeholder="请选择境内/境外" />
|
||||
<Form.Item name="supplierType" label="企业类型">
|
||||
<RegionTypeSelect />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name="approveStatus" label="审批状态">
|
||||
|
Reference in New Issue
Block a user