|
@@ -1,6 +1,7 @@
|
|
|
import React from 'react'
|
|
import React from 'react'
|
|
|
import { Row, Col, List, Tabs, Button } from 'antd'
|
|
import { Row, Col, List, Tabs, Button } from 'antd'
|
|
|
import { dayjsFormat } from '@/utils/utils'
|
|
import { dayjsFormat } from '@/utils/utils'
|
|
|
|
|
+import { ProductLabel } from '@/pages/Product/Lock/Lockstore'
|
|
|
|
|
|
|
|
const LockTabList = props => {
|
|
const LockTabList = props => {
|
|
|
const { longleLog } = props
|
|
const { longleLog } = props
|
|
@@ -22,13 +23,19 @@ const LockTabList = props => {
|
|
|
<List.Item>
|
|
<List.Item>
|
|
|
<Row className="zh-width-100P">
|
|
<Row className="zh-width-100P">
|
|
|
<Col span="8">
|
|
<Col span="8">
|
|
|
- {item.status} <a>{item.responsible}</a><br />
|
|
|
|
|
- <a>@{item.operator}</a> <span className="zh-gray">{ dayjsFormat(item.updatetime, 'MM-DD HH:mm')}</span>
|
|
|
|
|
|
|
+ {item.status} <a>{item.responsible}</a>
|
|
|
|
|
+ <br />
|
|
|
|
|
+ <a>@{item.operator}</a>{' '}
|
|
|
|
|
+ <span className="zh-gray">
|
|
|
|
|
+ {dayjsFormat(item.updatetime, 'MM-DD HH:mm')}
|
|
|
|
|
+ </span>
|
|
|
{/* <List.Item.Meta
|
|
{/* <List.Item.Meta
|
|
|
description={ dayjsFormat(item.updatetime, 'MM-DD HH:mm')}
|
|
description={ dayjsFormat(item.updatetime, 'MM-DD HH:mm')}
|
|
|
/> */}
|
|
/> */}
|
|
|
</Col>
|
|
</Col>
|
|
|
- <Col span="16">{item.product}</Col>
|
|
|
|
|
|
|
+ <Col span="16">
|
|
|
|
|
+ <ProductLabel data={item.product}></ProductLabel>
|
|
|
|
|
+ </Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</List.Item>
|
|
</List.Item>
|
|
|
)}
|
|
)}
|
|
@@ -47,35 +54,16 @@ const LockTabList = props => {
|
|
|
>
|
|
>
|
|
|
借出/销售/赠送
|
|
借出/销售/赠送
|
|
|
</Button>
|
|
</Button>
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="zh-mg-right-3"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Button type="primary" ghost size="small" className="zh-mg-right-3">
|
|
|
升级
|
|
升级
|
|
|
</Button>
|
|
</Button>
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="zh-mg-right-3"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Button type="primary" ghost size="small" className="zh-mg-right-3">
|
|
|
更换
|
|
更换
|
|
|
</Button>
|
|
</Button>
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- className="zh-mg-right-3"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Button type="primary" ghost size="small" className="zh-mg-right-3">
|
|
|
收回
|
|
收回
|
|
|
</Button>
|
|
</Button>
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- ghost
|
|
|
|
|
- size="small"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Button type="primary" ghost size="small">
|
|
|
备注
|
|
备注
|
|
|
</Button>
|
|
</Button>
|
|
|
</div>
|
|
</div>
|