feat: 完成 PRD 差距与修复,新增审核流与日志清理功能,支持出库信息与动态字段,优化 C 端用户体验

This commit is contained in:
Nixevol
2026-06-29 23:41:39 +08:00
parent d18b7c592d
commit 2fba42c9fd
39 changed files with 1247 additions and 185 deletions
+13 -2
View File
@@ -90,10 +90,21 @@ const columns: DataTableColumns<any> = [
{
title: () => t('common.label.status'),
key: 'status',
width: 90,
width: 84,
render: (r) => h(NTag, { type: statusType(r.status), size: 'small' }, { default: () => t(`common.status.${r.status}`) }),
},
{ title: () => t('common.label.createdAt'), key: 'createdAt', width: 160, render: (r) => fmt(r.createdAt) },
{
title: () => t('pages.audit.status'),
key: 'auditStatus',
width: 90,
render: (r) =>
h(
NTag,
{ size: 'small', type: r.auditStatus === 'APPROVED' ? 'success' : r.auditStatus === 'REJECTED' ? 'error' : 'warning' },
{ default: () => t(`common.auditStatus.${r.auditStatus || 'PENDING'}`) },
),
},
{ title: () => t('common.label.createdAt'), key: 'createdAt', width: 150, render: (r) => fmt(r.createdAt) },
{
title: () => t('common.label.operation'),
key: 'ops',