提交
This commit is contained in:
1 parent
4f24d3b687
commit
1ff73b9a74
202 files changed
+11989
-10045
No files matched your search
@@ -20,7 +20,10 @@ export type CardMetaField = {
|
||||
getValue: (row: QcWorkOrder) => string
|
||||
getTagType?: (row: QcWorkOrder) => TagType | undefined
|
||||
visible?: (row: QcWorkOrder) => boolean
|
||||
/** 占满整行 */
|
||||
wide?: boolean
|
||||
/** 跨列数(如 2 表示占两列,宽于默认但不独占一行) */
|
||||
colSpan?: number
|
||||
}
|
||||
|
||||
export type QcWorkOrderCardMetaConfig = {
|
||||
@@ -88,7 +91,7 @@ const commonTailFields: CardMetaField[] = [
|
||||
]
|
||||
|
||||
const inboundGroupedFields: CardMetaField[] = [
|
||||
{ label: '质检对象', getValue: formatQcTarget },
|
||||
{ label: '质检对象', getValue: formatQcTarget, colSpan: 2 },
|
||||
{
|
||||
label: '关联生产工单',
|
||||
getValue: (row) => row.productionWorkOrderNo || '—',
|
||||
|
||||
@@ -85,7 +85,7 @@ export const auditStatusLabel = createLabelGetter(auditStatus)
|
||||
export const auditStatusTagType = createTagTypeGetter(auditStatus)
|
||||
|
||||
export const payMode: StatusRegistry = {
|
||||
dj: { label: '趸交', tagType: 'info' },
|
||||
dj: { label: '趸交', tagType: 'primary' },
|
||||
fq: { label: '分期', tagType: 'warning' }
|
||||
}
|
||||
export const payModeLabel = createLabelGetter(payMode)
|
||||
@@ -161,7 +161,7 @@ export const workOrderStatusLabel = createLabelGetter(workOrderStatus)
|
||||
export const workOrderStatusTagType = createTagTypeGetter(workOrderStatus)
|
||||
|
||||
export const taskType: StatusRegistry = {
|
||||
sysz: { label: '实验室自检', tagType: 'info' },
|
||||
sysz: { label: '实验室自检', tagType: 'success' },
|
||||
dsfjc: { label: '第三方检测', tagType: 'primary' }
|
||||
}
|
||||
export const taskTypeLabel = createLabelGetter(taskType)
|
||||
|
||||
Reference in new issue
Block a user