查看详情 准入部门与评审专家
This commit is contained in:
21
src/components/CommonSelect/AdmissionTypeSelect.tsx
Normal file
21
src/components/CommonSelect/AdmissionTypeSelect.tsx
Normal file
@ -0,0 +1,21 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Select } from 'antd';
|
||||
|
||||
interface options {
|
||||
label: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
const AdmissionTypeSelect = () => {
|
||||
const [options, setOptions] = useState<options[]>([]);
|
||||
useEffect(() => {
|
||||
setOptions([
|
||||
{ label: '线上准入', value: 'online' },
|
||||
{ label: '线下准入', value: 'offline' },
|
||||
{ label: '零星采购/应急采购/个人供应商', value: 'scattered' },
|
||||
])
|
||||
}, []);
|
||||
return <Select style={{ width: 150 }} placeholder="请选择准入方式" options={options} allowClear />;
|
||||
};
|
||||
|
||||
export default AdmissionTypeSelect;
|
Reference in New Issue
Block a user