物料编码 物料名称显示

This commit is contained in:
shaoleiliu-netizen123 2026-08-11 11:49:50 +08:00
parent 83905a4579
commit f9ba34d72a
3 changed files with 45 additions and 0 deletions

View File

@ -181,6 +181,8 @@ const formRules = {
//
const columns: DataTableColumns<FlowingAround> = [
{ type: 'selection' },
{ title: '物料名称', key: 'materialName' },
{ title: '物料编码', key: 'materialCode' },
{ title: '当前序ID', key: 'currentlyPrefaceName' },
{ title: '下一序ID', key: 'nextPrefaceName' },
{ title: '业务来源', key: 'businessName' },

View File

@ -478,6 +478,18 @@ const formRules = {
const columns: DataTableColumns<QualityTesting> = [
{ type: 'selection' },
{ title: '质检编号', key: 'qcNo',align: 'center' },
{
title: '物料名称',
key: 'materialName',
align: 'center',
width: 150
},
{
title: '物料编码',
key: 'materialCode',
align: 'center',
width: 120
},
{ title: '来源类型', key: 'sourceType',align: 'center',
render(row) {
const val = row.sourceType

View File

@ -185,6 +185,37 @@ const AssingWorkColumns :DataTableColumns<AssingWork> = [
key: 'processCode',
minWidth: 200
},
{
align:'center',
title: '是否质检',
key: 'qualityInspection',
minWidth: 200,
render(row) {
var opt = row.qualityInspection
if (opt == 0) {
return h(NTag, { type: 'error', size: 'small' }, { default: () => "否" })
}
if (opt == 1) {
return h(NTag, { type: 'success', size: 'small' }, { default: () => "是" })
}
}
},
{
align:'center',
title: '是否入库',
key: 'storageEntry',
minWidth: 200,
render(row) {
var opt = row.storageEntry
if (opt == 0) {
return h(NTag, { type: 'error', size: 'small' }, { default: () => "否" })
}
if (opt == 1) {
return h(NTag, { type: 'success', size: 'small' }, { default: () => "是" })
}
}
},
{
align:'center',
title: '派工状态',