|
|
@@ -1,10 +1,11 @@
|
|
|
-import { Button, message, Tag } from 'antd'
|
|
|
+import { Button, message } from 'antd'
|
|
|
import { useDispatch } from 'umi'
|
|
|
import React, { useRef } from 'react'
|
|
|
import styles from '@/pages/Customer/Company/components/ConnectCompany/index.less'
|
|
|
import { CloseOutlined } from '@ant-design/icons'
|
|
|
import consts from '@/basic/consts'
|
|
|
import { apiReceiveOldLock, queryOldLockList } from '@/services/lock'
|
|
|
+import { ProductLabel } from '../index'
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
|
|
|
const ReceiveLock = () => {
|
|
|
@@ -37,15 +38,7 @@ const ReceiveLock = () => {
|
|
|
dataIndex: 'product',
|
|
|
title: '产品',
|
|
|
width: '60%',
|
|
|
- render: text => (
|
|
|
- <div className="flex">
|
|
|
- {text.split('+').map(item => (
|
|
|
- <Tag key={item} color="#886ab5" className="mr-1">
|
|
|
- {item}
|
|
|
- </Tag>
|
|
|
- ))}
|
|
|
- </div>
|
|
|
- )
|
|
|
+ render: text => <ProductLabel data={text} />
|
|
|
},
|
|
|
{
|
|
|
dataIndex: 'opreate',
|