|
@@ -9,7 +9,7 @@ import TextArea from 'antd/es/input/TextArea'
|
|
|
import MyPopconfirm from '@/components/MyPopconfirm'
|
|
import MyPopconfirm from '@/components/MyPopconfirm'
|
|
|
import { storyAndGoodsTableC, goodsSonTableC } from '@/utils/tableData'
|
|
import { storyAndGoodsTableC, goodsSonTableC } from '@/utils/tableData'
|
|
|
import { Button, Input } from 'antd'
|
|
import { Button, Input } from 'antd'
|
|
|
-import { backPageFu } from '@/utils/history'
|
|
|
|
|
|
|
+import { backPageFu, openLink } from '@/utils/history'
|
|
|
import { useParams } from 'react-router-dom'
|
|
import { useParams } from 'react-router-dom'
|
|
|
import { API_getFileListByIds } from '@/store/action/Cledger/C4file'
|
|
import { API_getFileListByIds } from '@/store/action/Cledger/C4file'
|
|
|
import { API_getGoodsLists } from '@/store/action/Cledger/C1ledger'
|
|
import { API_getGoodsLists } from '@/store/action/Cledger/C1ledger'
|
|
@@ -102,7 +102,7 @@ function E2edit() {
|
|
|
title: '操作',
|
|
title: '操作',
|
|
|
render: (item: any) => (
|
|
render: (item: any) => (
|
|
|
<>
|
|
<>
|
|
|
- <Button size='small' type='text' onClick={() => console.log('查看藏品')}>
|
|
|
|
|
|
|
+ <Button size='small' type='text' onClick={() => openLink(`/goodsLook/${item.id}`)}>
|
|
|
查看
|
|
查看
|
|
|
</Button>
|
|
</Button>
|
|
|
{!isView && (
|
|
{!isView && (
|