diff --git a/src/views/biz/qualityTesting/index.vue b/src/views/biz/qualityTesting/index.vue index 95eee87..770c97b 100644 --- a/src/views/biz/qualityTesting/index.vue +++ b/src/views/biz/qualityTesting/index.vue @@ -490,15 +490,16 @@ const columns: DataTableColumns = [ align: 'center', width: 120 }, - { title: '来源类型', key: 'sourceType',align: 'center', - render(row) { - const val = row.sourceType - const opt = qcSourceTypeOptions.value.find(o => o.value === val || String(o.value) === String(val)) - if (!opt) return val ?? '-' + // { title: '来源类型', key: 'sourceType',align: 'center', + // render(row) { + // const val = row.sourceType + // const opt = qcSourceTypeOptions.value.find(o => o.value === val || String(o.value) === String(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: 'orderId' }, // { title: '关联工序计划ID', key: 'processId' },