供应商信息检索启动安排准入明细与查看使用通用

This commit is contained in:
孙景学
2025-07-17 08:51:38 +08:00
parent 0c293f836a
commit 2381831be8
5 changed files with 43 additions and 15 deletions

View File

@ -205,11 +205,18 @@ const groupQualifiedSupplierQuery: React.FC<Props> = ({ dispatch }) => {
title: '操作',
key: 'option',
align: 'center',
width: 140,
width: 80,
render: (record: any) => (
<Space>
<a onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}></a>
<a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}></a>
<a onClick={() => {
dispatch({
type: 'globalModal/show',
payload: {
id: record.id,
},
});
}}></a>
{/* <a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a> */}
</Space>
),
},

View File

@ -160,11 +160,18 @@ const mySupplierInquiry: React.FC<mySupplierInquiryProps> = ({ dispatch }) => {
render: (record: any) => (
<Space>
<a
onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}
onClick={() => {
dispatch({
type: 'globalModal/show',
payload: {
id: record.id,
},
});
}}
></a>
<a
{/* <a
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
></a>
>准入明细</a> */}
</Space>
),
},

View File

@ -183,8 +183,15 @@ const PersonQualifiedSupplierQuery: React.FC<Props> = ({ dispatch }) => {
width: 140,
render: (record: any) => (
<Space>
<a onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}></a>
<a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}></a>
<a onClick={() => {
dispatch({
type: 'globalModal/show',
payload: {
id: record.id,
},
});
}}></a>
{/* <a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a> */}
</Space>
),
},

View File

@ -1,10 +1,10 @@
import React, { useState, useEffect } from "react";
//第三方UI库/组件
import { Modal, Form, Input, Button, Table, message, Tooltip } from "antd";
import { Modal, Form, Input, Button, Table } from "antd";
//类型定义
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
//umi 相关
import { useIntl } from 'umi';
// import { useIntl } from 'umi';
//本地服务/接口
import { getCategoryPage } from '../services';
@ -26,7 +26,7 @@ interface SupplierAccessDetailModalProps {
//主体
const SupplierAccessDetailModal: React.FC<SupplierAccessDetailModalProps> = ({ visible, onCancel, record, }) => {
//双语
const intl = useIntl();
// const intl = useIntl();
//查询表单
const [form] = Form.useForm();
//列表渲染数据

View File

@ -156,15 +156,22 @@ const RegistrationQuery: React.FC<RegistrationQueryProps> = ({ dispatch }) => {
title: '操作',
key: 'option',
align: 'center',
width: 160,
width: 80,
render: (record) => (
<Space>
<a
onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}
onClick={() => {
dispatch({
type: 'globalModal/show',
payload: {
id: record.id,
},
});
}}
></a>
<a
{/* <a
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
></a>
>准入明细</a> */}
</Space>
),
},