This commit is contained in:
zlwu committed 2026-07-01 16:37:33 +08:00
1 parent 28f233c922
commit 038a60b09e
478 files changed
+67530 -51951

No files matched your search

+5 -1
View File
@@ -223,6 +223,9 @@ export function buildWorkOrderFromTasks(tasks: QcTask[]): QcWorkOrder {
cellProductPassage: t.cellProductPassage,
cellProductSpecName: t.cellProductSpecName,
sampleTypeName: t.sampleTypeName,
isSpecial: tasks.some((x) => x.isSpecial) || !!t.isSpecial,
specialRemark:
String(tasks.find((x) => x.isSpecial)?.specialRemark || t.specialRemark || '').trim(),
receptionTime: t.receptionTime,
handlerName: t.handlerName,
hasLab: t.hasLab ?? tasks.some((x) => x.taskType === 'sysz'),
@@ -252,7 +255,8 @@ export function buildWorkOrderFromTasks(tasks: QcTask[]): QcWorkOrder {
protocolStatusLabel: t.protocolStatusLabel,
paymentSummary: t.paymentSummary,
feeSummary: t.feeSummary,
remark: t.workOrderRemark || t.remark
remark: t.workOrderRemark || t.remark,
unfinishedBadgeCount: t.unfinishedBadgeCount
}
}