fix(web-admin): 细胞存储导出协议编号改样本编码并补齐运费 #70

Merged
cykj merged 1 commits from codex/issue-26-cell-freight into V2.0 2026-11-06 04:12:40 +00:00
Owner

问题与预期

  • 细胞存储「自存表」导出:「协议编号」列值应为样本编码;「运费」列应有值,同批次样本应合并运输方式/运费单元格。

改动

  • collection_protocol 列表为 sampleItems 补 id + freight(SAMPLE_SOURCE_CELL)
  • 自存表导出:cells[9]=sampleCode,运输/运费写入 53/54 列,并按 freightId 合并
  • ProtocolAuditTab 传入 merges

关联

单元测试

  • 命令:cd web-admin && npx tsx --test src/utils/collection-ledger-export.test.ts
  • 提交:a4425addb01832a19ad835f19c31447d935442cf
  • 结果:8 passed / 0 failed

构建与整体验收

由用户在合入后进行。

## 问题与预期 - 细胞存储「自存表」导出:「协议编号」列值应为样本编码;「运费」列应有值,同批次样本应合并运输方式/运费单元格。 ## 改动 - `collection_protocol` 列表为 sampleItems 补 `id` + `freight`(SAMPLE_SOURCE_CELL) - 自存表导出:`cells[9]=sampleCode`,运输/运费写入 53/54 列,并按 freightId 合并 - ProtocolAuditTab 传入 merges ## 关联 - https://gitea.aichengyan.com/cykj/zkxw/issues/26 ## 单元测试 - 命令:`cd web-admin && npx tsx --test src/utils/collection-ledger-export.test.ts` - 提交:`a4425addb01832a19ad835f19c31447d935442cf` - 结果:8 passed / 0 failed ## 构建与整体验收 由用户在合入后进行。
cykj added 1 commit 2026-11-06 04:12:18 +00:00
自存表导出列值改为样本编码;列表补运费后写入运输方式/运费列,并按同批次合并单元格。
cykj merged commit 3ad1a08e30 into V2.0 2026-11-06 04:12:40 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cykj/zkxw#70