feat: 完成 PRD 差距与修复,新增审核流与日志清理功能,支持出库信息与动态字段,优化 C 端用户体验
This commit is contained in:
@@ -31,6 +31,11 @@ export const OUTBOUND_IMPORT_COLUMNS: ImportColumn[] = [
|
||||
{ key: 'shortCode', header: '短码', required: true, note: '必填,生码导出文件中的随机短码', example: 'a8K3pQ9x2M' },
|
||||
{ key: 'sku', header: 'SKU', required: false, note: '选填,产品 SKU', example: 'SKU-2024-001' },
|
||||
{ key: 'archiveNo', header: '档案编号', required: false, note: '选填,本件档案编号', example: 'AW-0001' },
|
||||
{ key: 'batchNo', header: '批次编号', required: false, note: '选填,仅作核对,留空忽略', example: 'B20240601' },
|
||||
{ key: 'outTime', header: '出库时间', required: false, note: '选填,格式 YYYY-MM-DD HH:mm', example: '2024-06-01 10:00' },
|
||||
{ key: 'outImage', header: '出库实况图', required: false, note: '选填,已上传图片的存储 key 或 URL', example: 'uploads/2024/out-001.jpg' },
|
||||
{ key: 'txHash', header: '上链哈希值', required: false, note: '选填,链上交易/存证哈希,填写则记录上链结果', example: '0xabc123...' },
|
||||
{ key: 'onchainAt', header: '上链时间', required: false, note: '选填,格式 YYYY-MM-DD HH:mm', example: '2024-06-02 09:30' },
|
||||
{ key: 'blockHeight', header: '区块高度', required: false, note: '选填,整数', example: '8500001' },
|
||||
{ key: 'remark', header: '备注', required: false, note: '选填', example: '' },
|
||||
];
|
||||
|
||||
@@ -18,6 +18,12 @@ export enum ArtworkStatus {
|
||||
DISABLED = 'DISABLED',
|
||||
}
|
||||
|
||||
export enum AuditStatus {
|
||||
PENDING = 'PENDING',
|
||||
APPROVED = 'APPROVED',
|
||||
REJECTED = 'REJECTED',
|
||||
}
|
||||
|
||||
export enum TraceCodeStatus {
|
||||
UNBOUND = 'UNBOUND',
|
||||
INACTIVE = 'INACTIVE',
|
||||
|
||||
Reference in New Issue
Block a user