发起单位
This commit is contained in:
@ -107,7 +107,7 @@ const OtherAttachmentsTab: React.FC<Props> = ({id}) => {
|
|||||||
rowKey="id"
|
rowKey="id"
|
||||||
columns={columns.map(column => ({
|
columns={columns.map(column => ({
|
||||||
...column,
|
...column,
|
||||||
title: intl.formatMessage({ id: column.title as string })
|
title: column.title
|
||||||
}))}
|
}))}
|
||||||
dataSource={data}
|
dataSource={data}
|
||||||
pagination={pagination}
|
pagination={pagination}
|
||||||
|
@ -107,6 +107,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
key: 'name',
|
key: 'name',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 200,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -114,7 +115,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
dataIndex: 'area',
|
dataIndex: 'area',
|
||||||
key: 'area',
|
key: 'area',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 160,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -129,6 +130,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
dataIndex: 'applyUser',
|
dataIndex: 'applyUser',
|
||||||
key: 'applyUser',
|
key: 'applyUser',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -137,6 +139,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
dataIndex: 'applyTime',
|
dataIndex: 'applyTime',
|
||||||
key: 'applyTime',
|
key: 'applyTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -144,12 +147,15 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
dataIndex: 'processStatusName',
|
dataIndex: 'processStatusName',
|
||||||
key: 'processStatusName',
|
key: 'processStatusName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'option',
|
key: 'option',
|
||||||
|
width: 140,
|
||||||
|
fixed: 'right',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (record: any) => {
|
render: (record: any) => {
|
||||||
const showSubmit = record.processStatusName === '未开始';
|
const showSubmit = record.processStatusName === '未开始';
|
||||||
|
@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
|
|||||||
import { Form, Button, Table, Select, Input, DatePicker, Modal, message } from "antd";
|
import { Form, Button, Table, Select, Input, DatePicker, Modal, message } from "antd";
|
||||||
import { SearchOutlined, DeleteOutlined } from "@ant-design/icons";
|
import { SearchOutlined, DeleteOutlined } from "@ant-design/icons";
|
||||||
import type { ColumnsType } from 'antd/es/table';
|
import type { ColumnsType } from 'antd/es/table';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
//接口
|
//接口
|
||||||
import { getDictList } from '@/servers/api/dicts'
|
import { getDictList } from '@/servers/api/dicts'
|
||||||
@ -138,6 +139,7 @@ const blacklistManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptId" label="发起单位">
|
<Form.Item name="deptId" label="发起单位">
|
||||||
|
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="approveStatus" label="审批记录状态">
|
<Form.Item name="approveStatus" label="审批记录状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
||||||
|
@ -5,6 +5,7 @@ import type { ColumnsType } from 'antd/es/table';
|
|||||||
//组件
|
//组件
|
||||||
import ViewBlacklistModal from './components/ViewBlacklistModal';
|
import ViewBlacklistModal from './components/ViewBlacklistModal';
|
||||||
import CreateBlacklistModal from './components/CreateBlacklistModal'
|
import CreateBlacklistModal from './components/CreateBlacklistModal'
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
//字典与接口
|
//字典与接口
|
||||||
import { getDictList } from '@/servers/api/dicts'
|
import { getDictList } from '@/servers/api/dicts'
|
||||||
@ -127,6 +128,7 @@ const blacklistManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptId" label="发起单位">
|
<Form.Item name="deptId" label="发起单位">
|
||||||
|
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="approveStatus" label="审批记录状态">
|
<Form.Item name="approveStatus" label="审批记录状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
||||||
|
@ -5,6 +5,7 @@ import type { ColumnsType } from 'antd/es/table';
|
|||||||
//组件
|
//组件
|
||||||
import CreateBlacklistModal from './components/CreateBlacklistModal'
|
import CreateBlacklistModal from './components/CreateBlacklistModal'
|
||||||
import ViewBlacklistModal from './components/ViewBlacklistModal';
|
import ViewBlacklistModal from './components/ViewBlacklistModal';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
//接口
|
//接口
|
||||||
import { getDictList } from '@/servers/api/dicts'
|
import { getDictList } from '@/servers/api/dicts'
|
||||||
import { getPage } from './services'
|
import { getPage } from './services'
|
||||||
@ -123,6 +124,7 @@ const supplierExitAudit: React.FC = () => {
|
|||||||
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptId" label="发起单位">
|
<Form.Item name="deptId" label="发起单位">
|
||||||
|
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="approveStatus" label="审批记录状态">
|
<Form.Item name="approveStatus" label="审批记录状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>
|
||||||
|
Reference in New Issue
Block a user