This commit is contained in:
zlwu committed 2026-09-01 13:43:14 +08:00
1 parent 2fd826dbe1
commit 2cd1194d17
24 files changed
+12379 -11222

No files matched your search

@@ -5,7 +5,9 @@ import {
donationStatusDisplayLabel,
donationStatusTagType,
protocolStatusDisplayLabel,
protocolStatusTagType
protocolStatusTagType,
workOrderStatusLabel,
workOrderStatusTagType
} from '@/utils/status-tag-registry'
import type { TagType } from '@/utils/status-tag-registry'
import type { ProductionWorkOrderTabKey } from '@/utils/production-work-order-tabs'
@@ -98,6 +100,21 @@ function buildInboundMetaFields(tabKey: ProductionWorkOrderTabKey): CardMetaFiel
getTagType: (row) => protocolStatusTagTypeForTab(row, tabKey),
visible: (row) => !!String(row.protocolStatus || '').trim()
},
{
label: '质检工单号',
getValue: (row) => row.qcWorkOrderNo || '—'
},
{
label: '质检工单状态',
kind: 'tag',
getValue: (row) =>
row.qcWorkOrderStatusLabel ||
workOrderStatusLabel(String(row.qcWorkOrderStatus || '')) ||
'—',
getTagType: (row) =>
workOrderStatusTagType(String(row.qcWorkOrderStatus || '')) || 'info',
visible: (row) => !!String(row.qcWorkOrderStatus || '').trim()
},
{
label: '质检结论',
kind: 'tag',