混炼示方优化

This commit is contained in:
geht
2026-06-12 19:38:33 +08:00
parent 75bc744fc8
commit ece8e590e4
22 changed files with 1425 additions and 23 deletions

View File

@@ -80,3 +80,23 @@ export async function loadRecordWithTrace(
}
return record;
}
/** 业务页签章区展示(起草取主表,校对/审核/批准取痕迹表) */
export interface BizSignDisplay {
draftBy: string;
proofreadBy: string;
auditBy: string;
approveBy: string;
}
export function buildBizSignDisplay(
row: Recordable = {},
resolveDraftBy: (record: Recordable) => string,
): BizSignDisplay {
return {
draftBy: resolveDraftBy(row) || '',
proofreadBy: row.traceProofreadBy || '',
auditBy: row.traceAuditBy || '',
approveBy: row.traceApproveBy || '',
};
}