refactor: 按甲方确认重构为一款多码(档案编号标识款、批次码、按款统计)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,11 +27,10 @@ export interface ImportColumn {
|
||||
example: string;
|
||||
}
|
||||
|
||||
// 出库导入按"每套追溯码"逐行填写(短码定位到具体一套),档案编号是款级、由系统自动生成,无需导入。
|
||||
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: 'shortCode', header: '短码', required: true, note: '必填,生码导出文件中的随机短码(定位到具体一套)', example: 'a8K3pQ9x2M' },
|
||||
{ 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...' },
|
||||
|
||||
Reference in New Issue
Block a user