feat: 完善追溯码出库上链管理

This commit is contained in:
Nixevol
2026-07-04 06:04:46 +08:00
parent a1120848e9
commit cfce2d9a75
16 changed files with 457 additions and 46 deletions
+4 -1
View File
@@ -35,6 +35,7 @@
class="table-fill"
flex-height
remote
:scroll-x="1280"
:row-key="(r) => r.id"
/>
<div class="table-pagination">
@@ -79,7 +80,7 @@ const columns: DataTableColumns<any> = [
: h(NAvatar, { size: 44, style: 'border-radius:8px' }, { default: () => '—' }),
},
{ title: () => t('pages.artwork.archiveNo'), key: 'archiveNo', width: 140, render: (r) => r.archiveNo || '-' },
{ title: () => t('pages.artwork.title'), key: 'title', ellipsis: { tooltip: true } },
{ title: () => t('pages.artwork.title'), key: 'title', width: 200, ellipsis: { tooltip: true } },
{ title: () => t('pages.artwork.artist'), key: 'artist', width: 110, render: (r) => r.artist || '-' },
{ title: () => t('pages.artwork.template'), key: 'template', width: 120, render: (r) => r.template?.name || '-' },
{ title: () => t('pages.artwork.codeCount'), key: 'codeCount', width: 80, render: (r) => r.codeCount ?? 0 },
@@ -106,6 +107,8 @@ const columns: DataTableColumns<any> = [
title: () => t('common.label.operation'),
key: 'ops',
width: 112,
fixed: 'right',
align: 'center',
render: (r) =>
h('div', { class: 'row-actions' }, [
h(