对接单位和部门组件
This commit is contained in:
@ -6,7 +6,7 @@ import CategorySelector from '@/components/CategorySelector/CategorySelector';
|
||||
import './SupplierSelector.less';
|
||||
import { useIntl } from 'umi';
|
||||
import { useSupplierDetailModal } from '@/components/SupplierDetailModalContext/SupplierDetailModalContext';
|
||||
|
||||
import AccessDepartmentSelect from '@/components/AccessDepartmentSelect';
|
||||
const { Option } = Select;
|
||||
|
||||
/**
|
||||
@ -297,23 +297,7 @@ const SupplierSelector: React.FC<SupplierSelectorProps> = ({
|
||||
name="deptId"
|
||||
label={intl.formatMessage({ id: 'supplierTaskManage.form.department' })}
|
||||
>
|
||||
<Select
|
||||
placeholder={intl.formatMessage({
|
||||
id: 'supplierTaskManage.placeholder.selectDepartment',
|
||||
})}
|
||||
allowClear
|
||||
style={{ width: 150 }}
|
||||
>
|
||||
<Option value="1">
|
||||
{intl.formatMessage({ id: 'supplierTaskManage.department.purchase' })}
|
||||
</Option>
|
||||
<Option value="2">
|
||||
{intl.formatMessage({ id: 'supplierTaskManage.department.technology' })}
|
||||
</Option>
|
||||
<Option value="3">
|
||||
{intl.formatMessage({ id: 'supplierTaskManage.department.quality' })}
|
||||
</Option>
|
||||
</Select>
|
||||
<AccessDepartmentSelect orgCategory='' placeholder={'请选择准入单位'} />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
|
Reference in New Issue
Block a user