物料编码 物料名称显示
This commit is contained in:
parent
83905a4579
commit
f9ba34d72a
@ -181,6 +181,8 @@ const formRules = {
|
|||||||
// 表格列
|
// 表格列
|
||||||
const columns: DataTableColumns<FlowingAround> = [
|
const columns: DataTableColumns<FlowingAround> = [
|
||||||
{ type: 'selection' },
|
{ type: 'selection' },
|
||||||
|
{ title: '物料名称', key: 'materialName' },
|
||||||
|
{ title: '物料编码', key: 'materialCode' },
|
||||||
{ title: '当前序ID', key: 'currentlyPrefaceName' },
|
{ title: '当前序ID', key: 'currentlyPrefaceName' },
|
||||||
{ title: '下一序ID', key: 'nextPrefaceName' },
|
{ title: '下一序ID', key: 'nextPrefaceName' },
|
||||||
{ title: '业务来源', key: 'businessName' },
|
{ title: '业务来源', key: 'businessName' },
|
||||||
|
|||||||
@ -478,6 +478,18 @@ const formRules = {
|
|||||||
const columns: DataTableColumns<QualityTesting> = [
|
const columns: DataTableColumns<QualityTesting> = [
|
||||||
{ type: 'selection' },
|
{ type: 'selection' },
|
||||||
{ title: '质检编号', key: 'qcNo',align: 'center' },
|
{ title: '质检编号', key: 'qcNo',align: 'center' },
|
||||||
|
{
|
||||||
|
title: '物料名称',
|
||||||
|
key: 'materialName',
|
||||||
|
align: 'center',
|
||||||
|
width: 150
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '物料编码',
|
||||||
|
key: 'materialCode',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
{ title: '来源类型', key: 'sourceType',align: 'center',
|
{ title: '来源类型', key: 'sourceType',align: 'center',
|
||||||
render(row) {
|
render(row) {
|
||||||
const val = row.sourceType
|
const val = row.sourceType
|
||||||
|
|||||||
@ -185,6 +185,37 @@ const AssingWorkColumns :DataTableColumns<AssingWork> = [
|
|||||||
key: 'processCode',
|
key: 'processCode',
|
||||||
minWidth: 200
|
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',
|
align:'center',
|
||||||
title: '派工状态',
|
title: '派工状态',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user