质检表单 调整
This commit is contained in:
parent
da1f401a7e
commit
de37b84bd2
@ -490,15 +490,16 @@ const columns: DataTableColumns<QualityTesting> = [
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 120
|
||||||
},
|
},
|
||||||
{ title: '来源类型', key: 'sourceType',align: 'center',
|
// { title: '来源类型', key: 'sourceType',align: 'center',
|
||||||
render(row) {
|
// render(row) {
|
||||||
const val = row.sourceType
|
// const val = row.sourceType
|
||||||
const opt = qcSourceTypeOptions.value.find(o => o.value === val || String(o.value) === String(val))
|
// const opt = qcSourceTypeOptions.value.find(o => o.value === val || String(o.value) === String(val))
|
||||||
if (!opt) return val ?? '-'
|
// if (!opt) return val ?? '-'
|
||||||
|
|
||||||
return h(NTag, { type: opt.class, size: 'small' }, { default: () => opt.label })
|
// return h(NTag, { type: opt.class, size: 'small' }, { default: () => opt.label })
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
|
{ title: '业务来源', key: 'businessName',align: 'center'},
|
||||||
// { title: '来源业务ID(汇报单/派工单等)', key: 'sourceId' },
|
// { title: '来源业务ID(汇报单/派工单等)', key: 'sourceId' },
|
||||||
// { title: '关联生产订单ID', key: 'orderId' },
|
// { title: '关联生产订单ID', key: 'orderId' },
|
||||||
// { title: '关联工序计划ID', key: 'processId' },
|
// { title: '关联工序计划ID', key: 'processId' },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user