diff --git a/frontend/src/pages/platformRock/TokenRecycleBinDrawer.tsx b/frontend/src/pages/platformRock/TokenRecycleBinDrawer.tsx
index 3120fdb..995ecc1 100644
--- a/frontend/src/pages/platformRock/TokenRecycleBinDrawer.tsx
+++ b/frontend/src/pages/platformRock/TokenRecycleBinDrawer.tsx
@@ -185,7 +185,7 @@ export function TokenRecycleBinDrawer({
{
title: 'ID / Token(编号/兑换码 · 包ID/提取码)',
key: 'token_info',
- width: 330,
+ width: 320,
render: (_, record) => ,
},
{
diff --git a/frontend/src/pages/platformRock/tokenColumns.tsx b/frontend/src/pages/platformRock/tokenColumns.tsx
index 987d8a0..b801731 100644
--- a/frontend/src/pages/platformRock/tokenColumns.tsx
+++ b/frontend/src/pages/platformRock/tokenColumns.tsx
@@ -1,4 +1,4 @@
-import { Button, Dropdown, Popconfirm, Space, Spin, Tag, Tooltip, Typography } from 'antd'
+import { Button, Dropdown, Popconfirm, Space, Tag, Tooltip, Typography } from 'antd'
import {
CopyOutlined,
ExportOutlined,
@@ -108,7 +108,7 @@ export function buildTokenColumns({
{
title: 'ID / Token(编号/兑换码 · 包ID/提取码)',
key: 'token_info',
- width: 330,
+ width: 320,
render: (_, record) => ,
},
{
@@ -261,7 +261,7 @@ export function buildTokenColumns({
{
title: '关联业务工单',
dataIndex: 'assigned_order_no',
- width: 168,
+ width: 158,
render: (orderNo, record) => {
if (!orderNo) {
return -
@@ -350,7 +350,7 @@ export function buildTokenColumns({
{
title: '凭证',
key: 'voucher',
- width: 56,
+ width: 88,
align: 'center',
render: (_, record) => {
if (record.status !== 'redeemed' && !record.upstream_fulfill_id) {
@@ -362,46 +362,65 @@ export function buildTokenColumns({
const imgSrc = `/images/products/${sku}.webp`
return (
- , label: '复制发货结果图' },
- { key: 'preview', icon: , label: '预览高清大图' },
- ],
- onClick: ({ key }) => {
- if (key === 'copy') onCopyVoucher(record)
- if (key === 'preview') onPreviewVoucher(record)
- },
- }}
- >
-
+
, label: '复制发货结果图' },
+ { key: 'preview', icon:
, label: '预览高清大图' },
+ ],
+ onClick: ({ key }) => {
+ if (key === 'copy') onCopyVoucher(record)
+ if (key === 'preview') onPreviewVoucher(record)
+ },
}}
>
- {isCopying ? (
-
- ) : (
+

- )}
+
+
+
+
+ }
+ loading={isCopying}
+ onClick={() => onCopyVoucher(record)}
+ style={{ width: 20, height: 20, padding: 0, fontSize: 11 }}
+ />
+
+
+ }
+ onClick={() => onPreviewVoucher(record)}
+ style={{ width: 20, height: 20, padding: 0, fontSize: 11 }}
+ />
+
-
+
)
},
},