发起单位

This commit is contained in:
孙景学
2025-07-18 14:23:55 +08:00
parent 34e91ac28c
commit c7fd8ebe76
5 changed files with 14 additions and 2 deletions

View File

@ -107,7 +107,7 @@ const OtherAttachmentsTab: React.FC<Props> = ({id}) => {
rowKey="id"
columns={columns.map(column => ({
...column,
title: intl.formatMessage({ id: column.title as string })
title: column.title
}))}
dataSource={data}
pagination={pagination}

View File

@ -107,6 +107,7 @@ const CategoryLibraryManage: React.FC = () => {
dataIndex: 'name',
key: 'name',
align: 'center',
width: 200,
ellipsis: true,
},
{
@ -114,7 +115,7 @@ const CategoryLibraryManage: React.FC = () => {
dataIndex: 'area',
key: 'area',
align: 'center',
width: 100,
width: 160,
ellipsis: true,
},
{
@ -129,6 +130,7 @@ const CategoryLibraryManage: React.FC = () => {
dataIndex: 'applyUser',
key: 'applyUser',
align: 'center',
width: 100,
ellipsis: true,
},
@ -137,6 +139,7 @@ const CategoryLibraryManage: React.FC = () => {
dataIndex: 'applyTime',
key: 'applyTime',
align: 'center',
width: 180,
ellipsis: true,
},
{
@ -144,12 +147,15 @@ const CategoryLibraryManage: React.FC = () => {
dataIndex: 'processStatusName',
key: 'processStatusName',
align: 'center',
width: 140,
ellipsis: true,
},
{
title: '操作',
key: 'option',
width: 140,
fixed: 'right',
align: 'center',
render: (record: any) => {
const showSubmit = record.processStatusName === '未开始';

View File

@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
import { Form, Button, Table, Select, Input, DatePicker, Modal, message } from "antd";
import { SearchOutlined, DeleteOutlined } from "@ant-design/icons";
import type { ColumnsType } from 'antd/es/table';
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
import moment from 'moment';
//接口
import { getDictList } from '@/servers/api/dicts'
@ -138,6 +139,7 @@ const blacklistManage: React.FC = () => {
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
</Form.Item>
<Form.Item name="deptId" label="发起单位">
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
</Form.Item>
<Form.Item name="approveStatus" label="审批记录状态">
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>

View File

@ -5,6 +5,7 @@ import type { ColumnsType } from 'antd/es/table';
//组件
import ViewBlacklistModal from './components/ViewBlacklistModal';
import CreateBlacklistModal from './components/CreateBlacklistModal'
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
import moment from 'moment';
//字典与接口
import { getDictList } from '@/servers/api/dicts'
@ -127,6 +128,7 @@ const blacklistManage: React.FC = () => {
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
</Form.Item>
<Form.Item name="deptId" label="发起单位">
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
</Form.Item>
<Form.Item name="approveStatus" label="审批记录状态">
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>

View File

@ -5,6 +5,7 @@ import type { ColumnsType } from 'antd/es/table';
//组件
import CreateBlacklistModal from './components/CreateBlacklistModal'
import ViewBlacklistModal from './components/ViewBlacklistModal';
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
//接口
import { getDictList } from '@/servers/api/dicts'
import { getPage } from './services'
@ -123,6 +124,7 @@ const supplierExitAudit: React.FC = () => {
<Input placeholder="请输入供应商名称关键字" style={{ width: 150 }} allowClear maxLength={50} />
</Form.Item>
<Form.Item name="deptId" label="发起单位">
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
</Form.Item>
<Form.Item name="approveStatus" label="审批记录状态">
<Select style={{ width: 150 }} placeholder="请选择审批记录状态" allowClear>