Merge branch 'dev' of http://59.110.10.99:53000/liuc/fe_supplier_frontend into dev
This commit is contained in:
@ -205,11 +205,18 @@ const groupQualifiedSupplierQuery: React.FC<Props> = ({ dispatch }) => {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'option',
|
key: 'option',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 140,
|
width: 80,
|
||||||
render: (record: any) => (
|
render: (record: any) => (
|
||||||
<Space>
|
<Space>
|
||||||
<a onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}>查看</a>
|
<a onClick={() => {
|
||||||
<a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a>
|
dispatch({
|
||||||
|
type: 'globalModal/show',
|
||||||
|
payload: {
|
||||||
|
id: record.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}}>查看</a>
|
||||||
|
{/* <a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a> */}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -160,11 +160,18 @@ const mySupplierInquiry: React.FC<mySupplierInquiryProps> = ({ dispatch }) => {
|
|||||||
render: (record: any) => (
|
render: (record: any) => (
|
||||||
<Space>
|
<Space>
|
||||||
<a
|
<a
|
||||||
onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}
|
onClick={() => {
|
||||||
|
dispatch({
|
||||||
|
type: 'globalModal/show',
|
||||||
|
payload: {
|
||||||
|
id: record.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}}
|
||||||
>查看</a>
|
>查看</a>
|
||||||
<a
|
{/* <a
|
||||||
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
|
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
|
||||||
>准入明细</a>
|
>准入明细</a> */}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -183,8 +183,15 @@ const PersonQualifiedSupplierQuery: React.FC<Props> = ({ dispatch }) => {
|
|||||||
width: 140,
|
width: 140,
|
||||||
render: (record: any) => (
|
render: (record: any) => (
|
||||||
<Space>
|
<Space>
|
||||||
<a onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}>查看</a>
|
<a onClick={() => {
|
||||||
<a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a>
|
dispatch({
|
||||||
|
type: 'globalModal/show',
|
||||||
|
payload: {
|
||||||
|
id: record.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}}>查看</a>
|
||||||
|
{/* <a onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}>准入明细</a> */}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
//第三方UI库/组件
|
//第三方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';
|
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
||||||
//umi 相关
|
//umi 相关
|
||||||
import { useIntl } from 'umi';
|
// import { useIntl } from 'umi';
|
||||||
//本地服务/接口
|
//本地服务/接口
|
||||||
import { getCategoryPage } from '../services';
|
import { getCategoryPage } from '../services';
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ interface SupplierAccessDetailModalProps {
|
|||||||
//主体
|
//主体
|
||||||
const SupplierAccessDetailModal: React.FC<SupplierAccessDetailModalProps> = ({ visible, onCancel, record, }) => {
|
const SupplierAccessDetailModal: React.FC<SupplierAccessDetailModalProps> = ({ visible, onCancel, record, }) => {
|
||||||
//双语
|
//双语
|
||||||
const intl = useIntl();
|
// const intl = useIntl();
|
||||||
//查询表单
|
//查询表单
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
//列表渲染数据
|
//列表渲染数据
|
||||||
|
@ -156,15 +156,22 @@ const RegistrationQuery: React.FC<RegistrationQueryProps> = ({ dispatch }) => {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'option',
|
key: 'option',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 160,
|
width: 80,
|
||||||
render: (record) => (
|
render: (record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<a
|
<a
|
||||||
onClick={() => { setCurrentRecord(record.id); setViewVisible(true); }}
|
onClick={() => {
|
||||||
|
dispatch({
|
||||||
|
type: 'globalModal/show',
|
||||||
|
payload: {
|
||||||
|
id: record.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}}
|
||||||
>查看</a>
|
>查看</a>
|
||||||
<a
|
{/* <a
|
||||||
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
|
onClick={() => { setCurrentRecord(record.id); setDetailVisible(true); }}
|
||||||
>准入明细</a>
|
>准入明细</a> */}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user