部门与退出
This commit is contained in:
@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { Modal, Form, Select, Button, Tree, message, Input } from 'antd';
|
||||
//组件
|
||||
import SupplierSelector from './SupplierSelector';
|
||||
import AccessDepartmentSelect from '@/components/AccessDepartmentSelect';
|
||||
// 请求
|
||||
import { categoryTree, add } from '../services';
|
||||
const { Option } = Select;
|
||||
@ -143,10 +144,7 @@ const CreateModal: React.FC<{ visible: boolean; onCancel: () => void; }> = ({ vi
|
||||
name="deptId"
|
||||
rules={[{ required: true, message: '请选择准入部门' }]}
|
||||
>
|
||||
<Select placeholder="请选择部门">
|
||||
<Option value="DEPT001">部门A</Option>
|
||||
<Option value="DEPT001">部门B</Option>
|
||||
</Select>
|
||||
<AccessDepartmentSelect />
|
||||
</Form.Item>
|
||||
|
||||
|
||||
|
@ -6,6 +6,7 @@ import type { ColumnsType } from 'antd/es/table';
|
||||
import { getApprovePage } from './services';
|
||||
import { getDictList } from '@/servers/api/dicts'
|
||||
//组件
|
||||
import AccessDepartmentSelect from '@/components/AccessDepartmentSelect';
|
||||
import ViewModal from './components/ViewModal';
|
||||
//统一列表分页
|
||||
import tableProps from '@/utils/tableProps'
|
||||
@ -218,7 +219,7 @@ const SupplierEntryReview: React.FC = () => {
|
||||
</Select>
|
||||
</Form.Item>
|
||||
<Form.Item name="deptId" label="准入部门">
|
||||
<Select options={deptOptions} allowClear style={{ width: 120 }} placeholder="请选择准入部门" />
|
||||
<AccessDepartmentSelect />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name="approveStatus" label="审批状态">
|
||||
|
@ -9,6 +9,8 @@ import DivisionModal from './DivisionModal';
|
||||
// 请求
|
||||
import { categoryTree, add, uploadFile } from '../services';
|
||||
|
||||
import AccessDepartmentSelect from '@/components/AccessDepartmentSelect';
|
||||
|
||||
const { Option } = Select;
|
||||
const { RangePicker } = DatePicker;
|
||||
//selected 类型
|
||||
@ -276,10 +278,7 @@ const CreateModal: React.FC<{ visible: boolean; onCancel: () => void; }> = ({ vi
|
||||
name="deptId"
|
||||
rules={[{ required: true, message: '请选择准入部门' }]}
|
||||
>
|
||||
<Select placeholder="请选择部门">
|
||||
<Option value="DEPT001">部门A</Option>
|
||||
<Option value="DEPT001">部门B</Option>
|
||||
</Select>
|
||||
<AccessDepartmentSelect />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
|
@ -150,8 +150,8 @@ const AccessManagement: React.FC = () => {
|
||||
<Form.Item name="categoryId" label="准入品类">
|
||||
<CategorySelector multiple={false} style={{ width: 150 }} />
|
||||
</Form.Item>
|
||||
<Form.Item name="approveStatus" label="评审状态">
|
||||
<Select style={{ width: 150 }} placeholder="请选择评审状态" allowClear>
|
||||
<Form.Item name="approveStatus" label="审批状态">
|
||||
<Select style={{ width: 150 }} placeholder="请选择审批状态" allowClear>
|
||||
<Option value="0">未开始</Option>
|
||||
<Option value="1">进行中</Option>
|
||||
<Option value="2">结果汇总中</Option>
|
||||
|
Reference in New Issue
Block a user