5.6 供应商注册时间风险分析
This commit is contained in:
@ -1,13 +1,16 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { Button, Table, Space, Modal, Collapse, Pagination } from 'antd';
|
||||
import { Button, Table, Space, Modal, Collapse, Pagination, Typography, Popover } from 'antd';
|
||||
import FileDown from '@/utils/Download';
|
||||
import { getDicData } from '@/utils/session';
|
||||
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { getDetail, getOpen } from './service';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import { AlertOutlined } from '@ant-design/icons';
|
||||
|
||||
const { Panel } = Collapse;
|
||||
const { Text } = Typography;
|
||||
|
||||
interface IndexProps {
|
||||
messProp?: any,
|
||||
itemIndex?: any
|
||||
@ -39,6 +42,21 @@ const Index: React.FC<IndexProps> = (props) => {
|
||||
title: '单位名称',
|
||||
width: '25%',
|
||||
dataIndex: 'companyName',
|
||||
render: (_: any, record: any, index: any) => (
|
||||
<>
|
||||
{_}
|
||||
<Popover
|
||||
content={
|
||||
<Typography style={{ width: "282px" }}>
|
||||
<Text style={{ display: 'block', color: "rgb(245,156,38)" }}>温馨提示:</Text>
|
||||
<Text >该供应商成立日期为<Text underline>{record?.supplierCreatetime && record?.supplierCreatetime.foundTime}</Text>,距购标时间不足一年,建议在评审时请详细审查该供应商的企业资质。</Text>
|
||||
</Typography>
|
||||
}
|
||||
>
|
||||
{(record?.supplierCreatetime && record?.supplierCreatetime.toPayTime === 0) && <AlertOutlined style={{ color: "rgb(245,156,38)", marginLeft: 6 }} />}
|
||||
</Popover>
|
||||
</>
|
||||
)
|
||||
},
|
||||
{
|
||||
title: '缴费联系人',
|
||||
|
Reference in New Issue
Block a user