You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3030 lines
93 KiB
3030 lines
93 KiB
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
|
|
import { dateFormatter } from '@/utils/formatTime'
|
|
/**
|
|
* @returns {Array} 基础物料信息
|
|
*/
|
|
export const ItemBasic = useCrudSchemas(reactive<CrudSchema[]>([
|
|
{
|
|
label: '代码',
|
|
field: 'code',
|
|
sort: 'custom',
|
|
table: {
|
|
width:700
|
|
},
|
|
tableForm:{
|
|
width: 300,
|
|
sortable:false
|
|
}
|
|
},
|
|
{
|
|
label: '名称',
|
|
field: 'name',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 150
|
|
},
|
|
tableForm:{
|
|
width: 300,
|
|
sortable:false
|
|
}
|
|
},
|
|
{
|
|
label: '描述1',
|
|
field: 'desc1',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 150
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '描述2',
|
|
field: 'desc2',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 150
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '状态',
|
|
field: 'status',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_STATUS,
|
|
dictClass: 'string',
|
|
isForm: true,
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
form: {
|
|
component: 'Switch',
|
|
}
|
|
},
|
|
{
|
|
label: '计量单位',
|
|
field: 'uom',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.UOM,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '替代计量单位',
|
|
field: 'altUom',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.UOM,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 150
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '是否标包',
|
|
field: 'isStdPack',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
},
|
|
form: {
|
|
component: 'Switch',
|
|
}
|
|
},
|
|
{
|
|
label: '可采购',
|
|
field: 'enableBuy',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
},
|
|
form: {
|
|
component: 'Radio',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '可制造',
|
|
field: 'enableMake',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
form: {
|
|
component: 'Radio',
|
|
}
|
|
},
|
|
{
|
|
label: '可委外加工',
|
|
field: 'enableOutsourcing',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
} ,
|
|
form: {
|
|
component: 'Radio',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '回收件',
|
|
field: 'isRecycled',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
},
|
|
form: {
|
|
component: 'Radio',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '虚零件',
|
|
field: 'isPhantom',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
form: {
|
|
component: 'Radio',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: 'ABC类',
|
|
field: 'abcClass',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ABC_CLASS,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '类型',
|
|
field: 'type',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_TYPE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '种类',
|
|
field: 'category',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_CATEGORY,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '分组',
|
|
field: 'itemGroup',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_GROUP,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '颜色',
|
|
field: 'color',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_COLOR,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '配置',
|
|
field: 'configuration',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.ITEM_CONFIGURATION,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '项目',
|
|
field: 'project',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 100
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '质量等级',
|
|
field: 'eqLevel',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.EQ_LEVEL,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '有效天数',
|
|
field: 'validityDays',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
},
|
|
form: {
|
|
component: 'InputNumber',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '是否可用',
|
|
field: 'available',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
},
|
|
form: {
|
|
component: 'Radio',
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '生效时间',
|
|
field: 'activeTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
} ,
|
|
form: {
|
|
component: 'DatePicker',
|
|
componentProps: {
|
|
type: 'datetimerange',
|
|
}
|
|
}
|
|
},
|
|
{
|
|
label: '失效时间',
|
|
field: 'expireTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
} ,
|
|
form: {
|
|
component: 'DatePicker',
|
|
componentProps: {
|
|
type: 'datetimerange',
|
|
}
|
|
},
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '创建时间',
|
|
field: 'createTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
isForm: false,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
} ,
|
|
isTableForm:false
|
|
},
|
|
{ label: '备注', field: 'remark', sort: 'custom', isTable: false,isTableForm:false},
|
|
{ label: '创建者ID', field: 'creator', sort: 'custom', isTable: false, isForm: false,isTableForm:false },
|
|
{
|
|
label: '操作',
|
|
field: 'action',
|
|
isDetail: false,
|
|
isForm: false ,
|
|
table: {
|
|
width: 150
|
|
},
|
|
isTableForm:false
|
|
}
|
|
]))
|
|
|
|
// 表单校验
|
|
export const ItemBasicRules = reactive({
|
|
code: [
|
|
{ required: true, message: '请输入代码', trigger: 'blur' }
|
|
],
|
|
name: [
|
|
{ required: true, message: '请输入名称', trigger: 'blur' }
|
|
],
|
|
status: [
|
|
{ required: true, message: '请选择状态', trigger: 'change' }
|
|
],
|
|
uom: [
|
|
{ required: true, message: '请选择计量单位', trigger: 'change' }
|
|
],
|
|
altUom: [
|
|
{ required: true, message: '请选择替代计量单位', trigger: 'change' }
|
|
],
|
|
isStdPack: [
|
|
{ required: true, message: '请选择是否标包', trigger: 'change' }
|
|
],
|
|
enableBuy: [
|
|
{ required: true, message: '请选择是否可采购', trigger: 'change' }
|
|
],
|
|
enableMake: [
|
|
{ required: true, message: '请选择是否可制造', trigger: 'change' }
|
|
],
|
|
enableOutsourcing: [
|
|
{ required: true, message: '请选择是否可委外加工', trigger: 'change' }
|
|
],
|
|
isRecycled: [
|
|
{ required: true, message: '请选择回收件', trigger: 'change' }
|
|
],
|
|
isPhantom: [
|
|
{ required: true, message: '请选择虚零件', trigger: 'change' }
|
|
],
|
|
abcClass: [
|
|
{ required: true, message: '请选择ABC类', trigger: 'change' }
|
|
],
|
|
type: [
|
|
{ required: true, message: '请选择类型', trigger: 'change' }
|
|
],
|
|
category: [
|
|
{ required: true, message: '请选择种类', trigger: 'change' }
|
|
],
|
|
itemGroup: [
|
|
{ required: true, message: '请选择分组', trigger: 'change' }
|
|
],
|
|
color: [
|
|
{ required: true, message: '请选择颜色', trigger: 'change' }
|
|
],
|
|
configuration: [
|
|
{ required: true, message: '请选择配置', trigger: 'change' }
|
|
],
|
|
project: [
|
|
{ required: true, message: '请输入项目', trigger: 'blur' }
|
|
],
|
|
eqLevel: [
|
|
{ required: true, message: '请选择质量等级', trigger: 'change' }
|
|
],
|
|
validityDays: [
|
|
{ required: true, message: '请输入有效天数', trigger: 'change' }
|
|
],
|
|
available: [
|
|
{ required: true, message: '请选择是否可用', trigger: 'change' }
|
|
],
|
|
activeTime: [
|
|
{ required: true, message: '请输入生效时间', trigger: 'change' }
|
|
],
|
|
expireTime: [
|
|
{ required: true, message: '请输入失效时间', trigger: 'change' }
|
|
],
|
|
})
|
|
|
|
/**
|
|
* @returns {Array} 基础包装信息
|
|
*/
|
|
export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
|
|
{
|
|
label: '物品代码',
|
|
field: 'itemCode',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 150
|
|
}
|
|
},
|
|
{
|
|
label: '计量单位',
|
|
field: 'uom',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.UOM,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '包装单位',
|
|
field: 'stdPackUnit',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.PACK_UNIT,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '包装数量',
|
|
field: 'stdPackQty',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装单位',
|
|
field: 'altPackUnit1',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.PACK_UNIT,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 150
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装量',
|
|
field: 'altPackQty1',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装单位',
|
|
field: 'altPackUnit1',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.PACK_UNIT,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 150
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装量',
|
|
field: 'altPackQty2',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装单位',
|
|
field: 'altPackUnit3',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.PACK_UNIT,
|
|
dictClass: 'string',
|
|
isSearch: true,
|
|
isTable: true,
|
|
table: {
|
|
width: 150
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装量',
|
|
field: 'altPackQty3',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装单位',
|
|
field: 'altPackUnit4',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.PACK_UNIT,
|
|
dictClass: 'string',
|
|
table: {
|
|
width: 150
|
|
}
|
|
},
|
|
{
|
|
label: '替代包装量',
|
|
field: 'altPackQty4',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '是否可用',
|
|
field: 'available',
|
|
sort: 'custom',
|
|
dictType: DICT_TYPE.TRUE_FALSE,
|
|
dictClass: 'string',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '生效时间',
|
|
field: 'activeTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '失效时间',
|
|
field: 'expireTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '创建时间',
|
|
field: 'createTime',
|
|
sort: 'custom',
|
|
isTable: true,
|
|
formatter: dateFormatter,
|
|
detail: {
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
},
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '创建者',
|
|
field: 'creator',
|
|
sort: 'custom',
|
|
table: {
|
|
width: 120
|
|
}
|
|
},
|
|
{
|
|
label: '操作',
|
|
field: 'action',
|
|
isDetail: false,
|
|
table: {
|
|
width: 150
|
|
}
|
|
}
|
|
]))
|
|
|
|
// 表单校验
|
|
export const ItempackagingRules = reactive({
|
|
itemCode: [{ required: true, message: '物品代码不能为空', trigger: 'blur' }],
|
|
uom: [{ required: true, message: '计量单位不能为空', trigger: 'change' }],
|
|
stdPackUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }],
|
|
stdPackQty: [{ required: true, message: '包装数量不能为空', trigger: 'blur' }],
|
|
available: [{ required: true, message: '是否可用不能为空', trigger: 'change' }]
|
|
})
|
|
|
|
|
|
/**
|
|
* @returns {Array} 基础质量信息
|
|
*/
|
|
export const ItemQuality = [{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料名称", prop: 'name' },
|
|
// { label: "供应商描述", prop: 'description' },
|
|
{ label: "供应商代码", prop: 'supplierCode' },
|
|
{ type: "filter", label: "状态", prop: 'status', filters: "openToClose" },
|
|
{ type: "filter", label: "检验类型", prop: 'inspectType', filters: "inspectType" },
|
|
{ type: "filter", label: "是否是破坏性检验", prop: 'destructive', filters: "whetherOrNot" },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime" },
|
|
//{ label: "公司", prop: "company", },
|
|
// { label: "备注", prop: "remark", },
|
|
// { label: "检验周期-按到货频次", prop: 'inspFrequency', },
|
|
// { label: "检验周期天数", prop: 'inspFreqDays', },
|
|
// { label: "抽检数量", prop: 'sampleQty', },
|
|
// { label: "检验百分比", prop: 'samplePercent', },
|
|
// { type: "filter", label: "按批次选择抽检数量", prop: 'samplebyBatch', filters: "whetherOrNot" },
|
|
// { type: "filter", label: "退货方法", prop: 'returnMethod', filters: "whetherOrNot" },
|
|
]
|
|
/**
|
|
* @returns {Array} 基础分类信息
|
|
*/
|
|
export const ItemCategory = [{
|
|
label: "物料代码",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "分类编号", prop: 'categoryCode', },
|
|
{ label: "分类值", prop: 'value', },
|
|
// { label: "物料描述", prop: 'description', },
|
|
// { label: "供应商编号", prop: 'supplierCode', },
|
|
// { label: "状态", prop: 'status', },
|
|
// { label: "检验类型", prop: 'inspectiType', },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "备注", prop: "remark", },
|
|
// { label: "检验周期-按到货频次", prop: 'inspFrequency', },
|
|
// { label: "检验周期天数", prop: 'inspFreqDays', },
|
|
// { label: "抽检数量", prop: 'sampleQty', },
|
|
// { label: "检验百分比", prop: 'samplePercent', },
|
|
// { label: "是否是破坏性检验", prop: 'destructive', },
|
|
// { label: "按批次选择抽检数量", prop: 'samplebyBatch', },
|
|
// { label: "退货发方法", prop: 'returnMethod', },
|
|
]
|
|
/**
|
|
* @returns {Array} 物料包装
|
|
*/
|
|
export const ItemPack = [{
|
|
label: "包装代码",
|
|
prop: "packCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "包装名称", prop: "packName", },
|
|
{ label: '包装类型', prop: "packType", },
|
|
{ label: '物料代码', prop: "itemCode", },
|
|
{ label: "是否标准包装", type: "filter", prop: 'isStdPack', filters: "whetherOrNot" },
|
|
{ label: '标包编号', prop: "stdPackCode", },
|
|
{ label: "包装数量",type: "object", prop: "packQty", showProp: "qty" },
|
|
{ label: "物料单位",type: "object", prop: "packQty", showProp: "uom" },
|
|
{ label: "转换率", prop: "conversionRate", },
|
|
//{ label: "公司", prop: "company", },
|
|
]
|
|
/**
|
|
* @returns {Array} 产品类
|
|
*/
|
|
export const ProductLine = [{
|
|
label: "名称",
|
|
prop: "name",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "编号", prop: "code", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 物料质检标准
|
|
*/
|
|
export const AQL = [{
|
|
label: "物料代码",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商代码", prop: "supplierCode", },
|
|
{ label: "数量上限", prop: 'ceilingQty', },
|
|
{ label: "数量下限", prop: "floorQty", },
|
|
{ type: "filter", label: "使用百分比", prop: 'isUsePercent', filters: "whetherOrNot" },
|
|
{ label: "抽检百分比", prop: 'samplePercent', },
|
|
{ label: "抽检数量", prop: 'sampleQty', },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 物料清单
|
|
*/
|
|
export const Bom = [{
|
|
label: "父物料号",
|
|
prop: "product",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "子物料号", prop: "component", },
|
|
{ type: "object", label: "子物料用量", prop: 'perQty', showProp: "qty", },
|
|
{ type: "object", label: "子物料用量单位", prop: 'perQty', showProp: "uom", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "ERP工序", prop: "erpOp", },
|
|
{ label: "制造工序", prop: "mfgOp", },
|
|
{ type: "filter", label: "配送方式", prop: "distributionType", filters: "distributionType", },
|
|
{ type: "filter", label: "取整方式", prop: "truncType", filters: "truncType", },
|
|
{ type: "filter", label: "计划拆分规则", prop: "plannedSplitRule", filters: "plannedSplitRule", },
|
|
{ type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime", },
|
|
{ type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime", },
|
|
//{ type: "input", label: "ERP工序", prop: "erpOp", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 客户
|
|
*/
|
|
export const Customer = [{
|
|
label: "客户代码",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "客户名称", prop: "name" },
|
|
{ type: "filter", label: "状态", prop: "isActive", filters: "openToCloseBit"},
|
|
{ label: "联系人", prop: "contacts"},
|
|
{ label: "电话", prop: "phone"},
|
|
{ label: "传真", prop: "fax"},
|
|
{ label: "邮编", prop: "postID"},
|
|
]
|
|
/**
|
|
* @returns {Array} 客户物品
|
|
*/
|
|
export const CustomerItem = [{
|
|
label: "客户代码",
|
|
prop: "customerCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "客户物料代码", prop: "customerItemCode", },
|
|
{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
},
|
|
// { label: "包装数量", type: "object",prop: "customerPackQty", showProp: "qty" },
|
|
// { label: "包装单位", type: "object",prop: "customerPackQty", showProp: "uom" },
|
|
{ label: "开始时间", type: "objectDateTime",prop: "timeRange", showProp: "beginTime", colSpan: 12 },
|
|
{ label: "结束时间", type: "objectDateTime",prop: "timeRange", showProp: "endTime", colSpan: 12 },
|
|
{ label: "备注", prop: 'remark', colSpan: 12 },
|
|
|
|
]
|
|
/**
|
|
* @returns {Array} 客户地址
|
|
*/
|
|
export const CustomerAddress = [{
|
|
label: "客户地址代码",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "客户地址名称", prop: "name", },
|
|
{ label: "客户代码", prop: "customerCode", },
|
|
{ label: "仓库编号", prop: "warehouseCode", },
|
|
{ label: "库位编号", prop: "locationCode", },
|
|
{ label: "城市", prop: "city", },
|
|
{ label: "地址", prop: "address", },
|
|
{ label: "联系人", prop: "contact", },
|
|
// { label: "描述", prop: "desc", },
|
|
// { label: "备注", prop: "remark", },
|
|
//{ label: "公司", prop: "company", },
|
|
]
|
|
/**
|
|
* @returns {Array} 项目
|
|
*/
|
|
export const Project = [{
|
|
label: "项目代码",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "项目名称", prop: "name"},
|
|
{ label: "客户代码", prop: "customerCode"},
|
|
{ type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime"},
|
|
{ type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime"},
|
|
{ label: "描述", prop: "description"}
|
|
]
|
|
/**
|
|
* @returns {Array} 供应商
|
|
*/
|
|
export const Supplier = [{
|
|
label: "供应商名称",
|
|
prop: "name",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商代码", prop: "code", },
|
|
{ type: "filter", label: "状态", prop: "isActive", filters: "openToCloseBit", },
|
|
{ type: "filter", label: "类型", prop: "type", filters: "supplierType", },
|
|
{ label: "联系人", prop: "contacts", },
|
|
{ label: "电话", prop: "phone", },
|
|
{ label: "传真", prop: 'fax', colSpan: 12 },
|
|
{ label: "邮编", prop: 'postID', colSpan: 12 },
|
|
]
|
|
/**
|
|
* @returns {Array} 供应商物品
|
|
*/
|
|
export const SupplierItem = [{
|
|
label: "供应商代码",
|
|
prop: 'supplierCode',
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "itemCode", prop: "itemCode" },
|
|
{ label: "供应商物料代码", prop: "supplierItemCode" },
|
|
{ label: "供应商物料名称", prop: "itemName" },
|
|
{ label: "每托数量", prop: "qtyPerPallet" },
|
|
{ type: "object", label: "包装数量", prop: "supplierPackQty", showProp: "qty" },
|
|
{ type: "object", label: "包装单位", prop: "supplierPackQty", showProp: "uom" },
|
|
{ label: "版本", prop: "version" }
|
|
]
|
|
/**
|
|
* @returns {Array} 供应商时间窗口
|
|
*/
|
|
export const SupplierTime = [{
|
|
label: "供应商代码",
|
|
prop: 'supplierCode',
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商名称", prop: "supplierName" },
|
|
{ type: "filter", label: "当前时间", prop: "week", filters: "week" },
|
|
{ label: "时间窗口", prop: "timeSlot" }
|
|
|
|
]
|
|
/**
|
|
* @returns {Array} 分类
|
|
*/
|
|
export const Category = [{
|
|
label: "分类编号",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "分类名称", prop: "name", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 计量单位
|
|
*/
|
|
export const Uom = [{
|
|
label: "计量单位编号",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "计量单位名称", prop: "name" },
|
|
{ type: "filter", label: "类型", prop: "type", filters: "uomType" },
|
|
{ label: "描述", prop: "description" }
|
|
]
|
|
/**
|
|
* @returns {Array} 仓库
|
|
*/
|
|
export const Warehouse = [
|
|
// {
|
|
// label: "公司",
|
|
// prop: "company",
|
|
// fixed: "left",
|
|
// type: "name",
|
|
// },
|
|
{
|
|
label: "编号",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 收货口
|
|
*/
|
|
export const Dock = [
|
|
{
|
|
label: "仓库代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "warehouseCode"
|
|
},
|
|
{ label: "默认库位代码", prop: "defaultLocationCode" },
|
|
{ label: "收货口代码", prop: "code" },
|
|
{ label: "收货口名称", prop: 'name' },
|
|
{ label: "描述", prop: "description" },
|
|
]
|
|
/**
|
|
* @returns {Array} 区域
|
|
*/
|
|
export const Area = [{
|
|
label: "区域代码",
|
|
prop: "code",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "区域名称", prop: "name", },
|
|
{ type: "filter", label: "是否功能区", prop: "isFunctional", filters: "whetherOrNot" },
|
|
{ type: "filter", label: "类型", prop: "areaType", filters: "areaType" },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 库位组
|
|
*/
|
|
export const LocationGroup = [
|
|
{
|
|
label: "库位组代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "区域代码", prop: "areaCode" },
|
|
{ label: "库位组名称", prop: 'name' },
|
|
{ label: "仓库代码", prop: "warehouseCode" },
|
|
{ type: "filter", label: "类型", prop: "groupType", filters: "locationType" },
|
|
{ type: "filter", label: "状态", prop: "defaultInventoryStatus", filters: "inventoryStage" },
|
|
{ label: "拣料优先级", prop: "pickPriority" },
|
|
{ label: "描述", prop: "description" }
|
|
]
|
|
/**
|
|
* @returns {Array} 工作组
|
|
*/
|
|
export const WorkGroup = [
|
|
{
|
|
label: "工作组代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "工作组名称", prop: 'name' },
|
|
{ label: "仓库代码", prop: "warehouseCode", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 库位
|
|
*/
|
|
export const Location = [
|
|
{
|
|
label: "库位代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "库位名称", prop: "name" },
|
|
{ label: "仓库代码", prop: "warehouseCode" },
|
|
{ label: "区域代码", prop: "areaCode" },
|
|
{ label: "库位组代码", prop: "locationGroupCode" },
|
|
{ label: "工位组代码", prop: "workGroupCode" },
|
|
{ type: "object", label: "库位数量", prop: "qty", showProp: "qty" },
|
|
{ type: "object", label: "库位数量单位", prop: "qty", showProp: "uom" },
|
|
{ type: "filter", label: "类型", prop: "type", filters: "locationType" },
|
|
{ label: "ERP系统库位编号", prop: "erpLocationCode" },
|
|
{ type: "filter", label: "默认库存状态", prop: "defaultInventoryStatus", filters: "inventoryStage" }
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} ERP库位
|
|
*/
|
|
export const ERPLocation = [
|
|
{
|
|
label: "ERP库位代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "ERP库位名称", prop: "name" },
|
|
{ label: "仓库代码", prop: "warehouseCode" },
|
|
{ type: "filter", label: "类型", prop: "type", filters: "locationType" },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 库位零件关系维护
|
|
*/
|
|
export const ItemStoreRelation = [{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "仓库代码", prop: "warehouseCode", },
|
|
{ type: "filter", label: "存储关系类型", prop: "storeRelationType", filters: "storeRelationType", },
|
|
{ label: "值", prop: "storeValue" },
|
|
{ type: "filter", label: "是否可用", prop: "enabled", filters: "whetherOrNot", },
|
|
{ label: "主存储容量", prop: "umQty", },
|
|
{ label: "主存储单位", prop: "storeUM", },
|
|
{ label: "次要存储容量", prop: "altUmQty", },
|
|
{ label: "次要存储单位", prop: "altUm", },
|
|
{ type: "filter", label: "存储单位", prop: "pramaryUM", filters: "pramaryUm", },
|
|
{ type: "filter", label: "是否定制位置", prop: "isFixed", filters: "whetherOrNot", },
|
|
]
|
|
/**
|
|
* @returns {Array} 库存可用容量
|
|
*/
|
|
export const InventoryLocationCapacity = [
|
|
{
|
|
label: "库位代码",
|
|
prop: "locationCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "可用容量(%)", prop: "availableCapacity", },
|
|
{ type: "filter", label: "是否无穷大", prop: "isInfinity", filters: "whetherOrNot" },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 物品安全库存
|
|
*/
|
|
export const ItemSafetyStock = [
|
|
{
|
|
label: "物料代码",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "仓库代码", prop: "warehouseCode" },
|
|
{ type: "filter", label: "存储关系类型", prop: "storeRelationType", filters: "storeRelationType", },
|
|
{ label: "值", prop: "storeValue" },
|
|
{ label: "最大库存", prop: "maxStock" },
|
|
{ label: "最小库存", prop: "minStock" },
|
|
{ label: "安全库存", prop: "safetyStock" },
|
|
{ label: "补料点", prop: "feedLine" },
|
|
{ label: "补料数量", prop: "feedQty" },
|
|
{ label: "补料单位", prop: "feedUM" },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 物品安全库存查询
|
|
*/
|
|
export const ItemSafetyStockQuery = [
|
|
{
|
|
label: "物料代码",
|
|
prop: "itemCode",
|
|
},
|
|
{ label: "已有全部库存数量", prop: "allQty" },
|
|
{ type: "filter", label: "存储关系类型", prop: "storeRelationType", filters: "ItemSafetyStockQueryType", },
|
|
{ label: "值", prop: "storeValue" },
|
|
{ label: "安全库存", prop: "safetyStock" },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 车间
|
|
*/
|
|
export const Workshop = [
|
|
{
|
|
label: "车间代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "车间名称", prop: "name", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 生产线
|
|
*/
|
|
export const ProductionLine = [
|
|
{ label: "生产线代码", prop: "code", fixed: "left", type: "name", },
|
|
{ label: "生产线名称", prop: 'name' },
|
|
{ label: "类型", prop: "type" },
|
|
{ label: "车间代码", prop: "workshopCode", },
|
|
{ label: "原料库位", prop: "rawLocation" },
|
|
{ label: "成品库位", prop: "productLocation" },
|
|
{ label: "描述", prop: "description" },
|
|
]
|
|
/**
|
|
* @returns {Array} 生产线零件关系管理
|
|
*/
|
|
export const ProdLineItem = [
|
|
{ label: "物料代码", prop: "itemCode", type: "name",},
|
|
{ label: "生产线编号", prop: "prodLineCode", },
|
|
{ label: "生产线名称", prop: "prodLineName", },
|
|
{ label: "车间代码", prop: "workshopCode", },
|
|
{ label: "原料库位", prop: "rawLocation" },
|
|
{ label: "成品ERP库位", prop: "productErpLocationCode" },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 工作站
|
|
*/
|
|
export const WorkCenter = [
|
|
{
|
|
label: "编号",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "生产线", prop: "productionLineCode", },
|
|
{ label: "类型", prop: "type", },
|
|
]
|
|
/**
|
|
* @returns {Array} 班组
|
|
*/
|
|
export const Team = [
|
|
{
|
|
label: "编号",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code",
|
|
},
|
|
{ label: "名称", prop: "name", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 班次
|
|
*/
|
|
export const Shift = [
|
|
{
|
|
label: "班次代码",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "code"
|
|
},
|
|
{ label: "班次名称", prop: "name" },
|
|
{ type: "filter", label: "结束到下一天", prop: "endAtNextDay", filters: "whetherOrNot" },
|
|
{ type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime" },
|
|
{ type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime" },
|
|
{ label: "描述", prop: "description" }
|
|
]
|
|
/**
|
|
* @returns {Array} 日历
|
|
*/
|
|
export const Calendar = [
|
|
{
|
|
label: "模块",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "module",
|
|
},
|
|
{ label: "状态", prop: "status", },
|
|
{ type: "filter", label: "状态", prop: "status", filters: "calendarStatus" }
|
|
]
|
|
/**
|
|
* @returns {Array} 配置
|
|
*/
|
|
export const Configuration = [
|
|
// {
|
|
// label: "公司",
|
|
// prop: "company",
|
|
// fixed: "left",
|
|
// type: "name",
|
|
// },
|
|
{
|
|
label: "键",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "key",
|
|
},
|
|
{ label: "值", prop: "value", },
|
|
{ label: "描述", prop: "description", },
|
|
]
|
|
/**
|
|
* @returns {Array} 采购订单
|
|
*/
|
|
export const PurchaseOrder = [
|
|
{
|
|
label: "采购订单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商编号", prop: "supplierCode", },
|
|
{ label: "仓库", prop: "warehouseCode", },
|
|
{ label: "订单类型", prop: "poType", },
|
|
{ label: "订单状态", prop: "status", },
|
|
{ type: "filter", label: "是否寄存订单", prop: "isConsignment", filters: "whetherOrNot" },
|
|
{ type: "dateTime", label: "订单日期", prop: "orderDate", },
|
|
{ type: "dateTime", label: "截止日期", prop: "dueDate", },
|
|
{ label: "版本", prop: "version", },
|
|
{ label: "税率", prop: "taxRate", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 销售订单
|
|
*/
|
|
export const SaleOrder = [
|
|
{
|
|
label: "销售订单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "客户代码", prop: "customerCode", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 供应商发货通知
|
|
*/
|
|
export const SupplierAsn = [
|
|
{
|
|
label: "供应商发货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商代码", prop: "supplierCode", },
|
|
{ type: "object", label: "客户名称", prop: "contacts", showProp: "name", },
|
|
{ label: "仓库代码", prop: "warehouseCode", },
|
|
{ label: "收货口代码", prop: "dockCode", },
|
|
{ type: "dateTime", label: "发货日期", prop: "shipDate", },
|
|
{ type: "dateTime", label: "收货日期", prop: "dueDate", },
|
|
{ label: "时间窗口", prop: "timeWindow", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 客户发货通知
|
|
*/
|
|
export const CustomerAsn = [
|
|
{
|
|
label: "客户发货订单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 到货通知
|
|
*/
|
|
export const ArriveNotice = [
|
|
{
|
|
label: "到货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "仓库", prop: "warehouseCode", },
|
|
{ label: "收货口", prop: "dockCode", },
|
|
{ label: "状态", type: "filter", filters: "arriveNoticeStatus", prop: "status", },
|
|
{ type: "dateTime", label: "到货时间", prop: "arriveTime", },
|
|
{ label: "发货单号", prop: "asnNumber", },
|
|
{ label: "要货计划单号", prop: "rpNumber", },
|
|
{ label: "采购订单号", prop: "poNumber", },
|
|
{ label: "供应商代码", prop: "supplierCode", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 采购收货记录
|
|
*/
|
|
export const PurchaseReceiptNote = [
|
|
{
|
|
label: "收货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商编号", prop: "supplierCode", },
|
|
{ label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "发货单号", prop: "asnNumber", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ type: "dateTime", label: "到货时间", prop: "receiveTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 收货异常记录
|
|
*/
|
|
export const ReceiptAbnormalNote = [
|
|
// {
|
|
// label: "公司",
|
|
// prop: "company",
|
|
// fixed: "left",
|
|
// type: "name",
|
|
// },
|
|
{
|
|
label: "发货单号",
|
|
fixed: "left",
|
|
type: "name",
|
|
prop: "asnNumber",
|
|
},
|
|
{ label: "收货单号", prop: "receiptNumber", },
|
|
{ label: "箱标签", prop: "packingCode", },
|
|
{ label: "托标签", prop: "containerCode", },
|
|
{ label: "物料名称", prop: "item" },
|
|
{ type: "object", label: "到货数量", prop: "qty", showProp: "qty" },
|
|
{ type: "object", label: "到货单位", prop: "qty", showProp: "uom" },
|
|
{ type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty" },
|
|
{ type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom" },
|
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate" },
|
|
// { type: "objectDate", label: "生产日期", prop: "batch", showProp: "produceDate" },
|
|
{ label: "供应商编号", prop: 'supplierCode', },
|
|
]
|
|
/**
|
|
* @returns {Array} 采购退货记录
|
|
*/
|
|
export const PurchaseReturnNote = [
|
|
{
|
|
label: "退货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "供应商编号", prop: "supplierCode", },
|
|
// { label: "到货单号", prop: "arriveNumber", },
|
|
// { label: "发货单号", prop: "asnNumber", },
|
|
{ type: "dateTime", label: "退货时间", prop: "returnTime", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 上架记录
|
|
*/
|
|
export const PutawayNote = [
|
|
{
|
|
label: "上架记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
// { label: "供应商编号", prop: 'supplierCode',},
|
|
// { label: "操作员", prop: 'worker',},
|
|
// { label: "检验单号", prop: 'inspectNumber',},
|
|
// { label: "收费单号", prop: 'receiptNumber',},
|
|
// { label: "到货单号", prop: 'arriveNoticeNumber',},
|
|
// { label: "发货单号", prop: 'asnNumber',},
|
|
// { label: "要货计划单号", prop: 'rpNumber',},
|
|
// { label: "完工收货单号", prop: 'productReceiptNumber',},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 要料申请
|
|
*/
|
|
export const MaterialRequest = [
|
|
{
|
|
label: "要料申请单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "备料计划单号", prop: "preparationPlanNumber", },
|
|
{ label: "车间", prop: "workshop", },
|
|
{ label: "任务状态", type: "filter", filters: "requestStatus", prop: "status", },
|
|
// { label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 发料记录
|
|
*/
|
|
export const IssueNote = [
|
|
{
|
|
label: "发料记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
{ label: "车间", prop: 'workshop',},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 计划外入库记录
|
|
*/
|
|
export const UnplannedReceiptNote = [
|
|
{
|
|
label: "计划外入库单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "类型", type: "filter", filters: "unplannedReceiptType", prop: "unplannedReceiptType" },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime" },
|
|
{ label: "流水单号", prop: "seqNo" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
/**
|
|
* @returns {Array} 计划外出库记录
|
|
*/
|
|
export const UnplannedIssueNote = [
|
|
{
|
|
label: "计划外出库单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "类型", type: "filter", filters: "unplannedIssueType", prop: "unplannedIssueType" },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime" },
|
|
{ label: "流水单号", prop: "seqNo" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
/**
|
|
* @returns {Array} 隔离记录
|
|
*/
|
|
export const IsolationNote = [
|
|
{
|
|
label: "隔离记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "任务ID", prop: "jobNumber",},
|
|
{ label: "操作员", prop: "worker",},
|
|
]
|
|
/**
|
|
* @returns {Array} 工单号维护
|
|
*/
|
|
export const WorkOrder = [
|
|
{
|
|
label: "工单号",
|
|
prop: "workNumberValue",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "filter", label: "类型", prop: "workOrderType", filters: "workOrderType" },
|
|
{ type: "filter", label: "状态", prop: "status", filters: "workOrderStatus" },
|
|
{ label: "描述", prop: "description" },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
/**
|
|
* @returns {Array} 报废记录
|
|
*/
|
|
export const ScrapNote = [
|
|
{
|
|
label: "报废记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
// { label: "部门", prop: 'department' },
|
|
{ label: "工单号", prop: 'workOrder' },
|
|
// { label: "流水号", prop: 'seqNo' },
|
|
{ label: "操作员", prop: "worker",},
|
|
]
|
|
/**
|
|
* @returns {Array} 发货计划
|
|
*/
|
|
export const DeliverPlan = [
|
|
{
|
|
label: "发货计划单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
// { label: "公司", prop: "company", },
|
|
{ label: "客户", prop: "customer", },
|
|
// { label: "项目", prop: "project", },
|
|
// { label: "销售订单号", prop: "soNumber", },
|
|
{ type: "filter", filters: "DeliverPlanStatus", label: "状态", prop: "status", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ type: "filter", label: "发货方式", prop: "shipVia", filters: "DeliverPlanTransport" },
|
|
{ type: "filter", label: "运输方式", prop: "modeOfTransport", filters: "DeliverPlanTransport" },
|
|
{ type: "filter", label: "承运商", prop: "carrier", filters: "DeliverPlanFreightTJ" },
|
|
{ type: "dateTime", label: "计划时间", prop: "planTime" },
|
|
// { label: "承运商参考", prop: "carrierShipmentRef" },
|
|
{ label: "车辆", prop: "vehicleID" },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 发货申请
|
|
*/
|
|
export const DeliverRequest = [
|
|
{
|
|
label: "发货申请单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "客户", prop: "customer", },
|
|
{ label: "状态", type: "filter", filters: "requestStatus", prop: "status", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', }
|
|
]
|
|
/**
|
|
* @returns {Array} 发货记录
|
|
*/
|
|
export const DeliverNote = [
|
|
{
|
|
label: "发货记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
{ label: "客户", prop: 'customer',},
|
|
{ label: "客户地址", prop: 'customerAddressCode',},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 调拨发货
|
|
*/
|
|
export const WareHouseTransferNote = [
|
|
{
|
|
label: "调拨发货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "操作员", prop: "worker", },
|
|
{ label: "任务ID", prop: "jobNumber", },
|
|
{ label: "供应商编号", prop: "supplierCode", },
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 盘点计划
|
|
*/
|
|
export const CountPlan = [
|
|
{
|
|
label: "盘点计划单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", },
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", },
|
|
{ type: "filter", filters: "CheckPlanStatus", label: "状态", prop: "status", },
|
|
// { type: "filter", filters: "checkType", label: "类型", prop: "type", },
|
|
// { type: "filter", filters: "checkStage", label: "阶段", prop: "stage", },
|
|
// { type: "filter", filters: "countMethod", label: "根据", prop: "countMethod", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 调整库存
|
|
*/
|
|
export const CountPlanAdjust = [
|
|
{
|
|
label: "盘点报告单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "盘点计划单号", prop: "countPlanNumber", },
|
|
{ type: "filter", filters: "CheckPlanStatus", label: "状态", prop: "status", },
|
|
// { type: "filter", filters: "checkType", label: "类型", prop: "type", },
|
|
// { type: "filter", filters: "stageType", label: "阶段", prop: "stage", },
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", },
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 盘点记录
|
|
*/
|
|
export const CountNote = [
|
|
{
|
|
label: "盘点报告单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "盘点计划单号", prop: "countPlanNumber", },
|
|
{ type: "filter", filters: "CheckPlanStatus", label: "状态", prop: "status", },
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", },
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", },
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 盘点差异调整记录
|
|
*/
|
|
export const CountAdjustNote = [
|
|
{
|
|
label: "盘点差异调整记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "200px"
|
|
},
|
|
{ label: "盘点记录单号", prop: 'countNoteNumber', },
|
|
{ label: "盘点计划单号", prop: 'countPlanNumber', },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 库存余额
|
|
*/
|
|
export const InventoryBalance = [
|
|
{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "object", label: "物料名称", prop: 'item', showProp: "name", },
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
|
// { type: "filter", label: "ABC类", prop: 'AbcClass', filters: "abcClass" },
|
|
{ label: "库位代码", prop: "locationCode", },
|
|
{ label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status", },
|
|
{ label: "批次", prop: "lot", },
|
|
{ label: "箱标签", prop: "packingCode", },
|
|
{ label: "托标签", prop: "containerCode", },
|
|
{ type: "object", label: "库存数量", prop: "qty", showProp: "qty", },
|
|
{ type: "object", label: "计量单位", prop: "qty", showProp: "uom", },
|
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
|
|
{ type: "object", label: "库区", prop: "location", showProp: "area", },
|
|
{ type: "object", label: "库位组", prop: "location", showProp: "group", },
|
|
{ type: "dateTime", label: "入库时间", prop: "putInTime", },
|
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
|
{ type: "objectDateTime", label: "过期日期", prop: "batch", showProp: "expireDate" },
|
|
{ type: "dateTime", label: "上次盘点时间", prop: "lastCountTime", },
|
|
{ label: "上次盘点单号", prop: "lastCountPlanNumber", },
|
|
{ label: "上次盘点标签号", prop: "lastCountLabel", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { label: "项目", prop: "project", },
|
|
// { label: "供应商编号", prop: "supplierCode", },
|
|
|
|
// { type: "dateTime", label: "过期时间", prop: "expireDate", },
|
|
// { label: "序列号", prop: "serialNumber", },
|
|
// { type: "filter", label: "是否活动", prop: "isActive", filters: "whetherOrNot", },
|
|
// { type: "filter", label: "管理类型", prop: "manageType", filters: "manageType", },
|
|
// { type: "dateTime", label: "上次修改时间", prop: "lastModificationTime", },
|
|
// { label: "仓库编号", prop: "warehouseCode", },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} ERP库存余额
|
|
*/
|
|
export const ERPInventoryBalance = [
|
|
{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "库位代码", prop: "locationCode", },
|
|
{ label: "库存状态", prop: "status", },
|
|
{ label: "批次", prop: "lot", },
|
|
{ type: "object", label: "库存数量", prop: "qty", showProp: "qty", },
|
|
{ type: "object", label: "计量单位", prop: "qty", showProp: "uom", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ type: "dateTime", label: "最后修改时间", prop: "lastModificationTime", },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 库存事务
|
|
*/
|
|
export const InventoryTransaction = [
|
|
{
|
|
label: "事务编号",
|
|
prop: "transNumber",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "filter", filters: "TransType", label: "事务分类", prop: "transType" },
|
|
{ type: "filter", filters: "TransSubType", label: "事务类型", prop: "transSubType" },
|
|
{ type: "filter", filters: "transInOutStatus", label: "出库/入库", prop: "transInOut" },
|
|
{ type: "object", label: "事务数量", prop: "qty", showProp: "qty" },
|
|
{ label: "批次", prop: "lot" },
|
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch" },
|
|
{ label: "箱标签", prop: "packingCode" },
|
|
{ label: "托标签", prop: "containerCode" },
|
|
{ label: "itemCode", prop: "itemCode" },
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name" },
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1" },
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2" },
|
|
{ type: "filter", filters: "inventoryStage", label: "库存状态", prop: "inventoryStatus" },
|
|
{ label: "库位代码", prop: "locationCode" },
|
|
{ type: "dateTime", label: "事务日期", prop: "transTime" },
|
|
{ label: "操作员", prop: "worker" },
|
|
{ label: "任务编号", prop: "jobNumber" },
|
|
{ label: "单据编号", prop: "docNumber" },
|
|
|
|
// { type: "object", label: "计量单位", prop: "qty", showProp: "uom", },
|
|
// { label: "仓库编号", prop: "warehouseCode", },
|
|
// { type: "dateTime", label: "生效日期", prop: "activeDate", },
|
|
// { type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { type: "dateTime", label: "上次修改时间", prop: "lastModificationTime", },
|
|
// { label: "出库/入库", prop: "transInOut", },
|
|
// { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
|
// { label: "备注", prop: 'remark', },
|
|
// { type: "filter", label: "管理类型", prop: "manageType", filters: "manageType", },
|
|
]
|
|
/**
|
|
* @returns {Array} 库存快照
|
|
*/
|
|
export const InventorySnapshot = [
|
|
{
|
|
label: "盘点标签",
|
|
prop: "countLabel",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
//{ label: "公司", prop: "company", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 库存转移日志
|
|
*/
|
|
export const InventoryTransferLog = [
|
|
{
|
|
label: "库存转移编号",
|
|
prop: "transferNumber",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "操作员", prop: "worker",},
|
|
{ label: "箱标签", prop: "toPackingCode",},
|
|
{ label: "从库位编号", prop: "fromLocationCode",},
|
|
{ label: "到库位编号", prop: "toLocationCode",},
|
|
{ label: "从托盘标签", prop: "fromContainerCode",},
|
|
{ label: "到托盘标签", prop: "toContainerCode",},
|
|
{ type: "filter", filters: "TransType", label: "事务类型", prop: "transType",},
|
|
{ type: "filter", filters: "TransSubType", label: "事务替代类型", prop: "transSubType",},
|
|
{ label: "从事务编号", prop: "fromTransNumber",},
|
|
{ label: "到事务编号", prop: "toTransNumber",},
|
|
{ type: "filter", filters: "inventoryStage", label: "从状态", prop: "fromStatus",},
|
|
{ type: "filter", filters: "inventoryStage", label: "到状态", prop: "toStatus",},
|
|
{ label: "itemCode", prop: "itemCode" },
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name",},
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1",},
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2",},
|
|
{ type: "object", label: "到货数量", prop: "qty", showProp: "qty",},
|
|
{ type: "object", label: "到货单位", prop: "qty", showProp: "uom",},
|
|
// { type: "object", label: "从供应商批次", prop: "fromBatch", showProp: "supplierBatch",},
|
|
// { type: "object", label: "到供应商批次", prop: "toBatch", showProp: "supplierBatch",},
|
|
// { label: "备注", prop: 'remark',},
|
|
]
|
|
/**
|
|
* @returns {Array} 库存转移记录
|
|
*/
|
|
export const InventoryTransferNote = [
|
|
{
|
|
label: "库存转移编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime" },
|
|
{ label: "操作员", prop: "worker" },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
/**
|
|
* @returns {Array} 转合格
|
|
*/
|
|
export const InventoryTransferLogHegeZBuHeGe = [
|
|
{
|
|
label: "库存转移编号",
|
|
prop: "transferNumber",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "操作员", prop: "worker",},
|
|
{ label: "箱标签", prop: "toPackingCode",},
|
|
{ label: "从库位编号", prop: "fromLocationCode",},
|
|
{ label: "到库位编号", prop: "toLocationCode",},
|
|
{ label: "从托盘标签", prop: "fromContainerCode",},
|
|
{ label: "到托盘标签", prop: "toContainerCode",},
|
|
{ type: "filter", filters: "TransType", label: "事务类型", prop: "transType",},
|
|
{ type: "filter", filters: "TransSubType", label: "事务替代类型", prop: "transSubType",},
|
|
{ label: "从事务编号", prop: "fromTransNumber",},
|
|
{ label: "到事务编号", prop: "toTransNumber",},
|
|
{ type: "filter", filters: "requestStatus", label: "从状态", prop: "fromStatus",},
|
|
{ type: "filter", filters: "requestStatus", label: "到状态", prop: "toStatus",},
|
|
{ label: "itemCode", prop: "itemCode" },
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name",},
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1",},
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2",},
|
|
{ type: "object", label: "到货数量", prop: "qty", showProp: "qty",},
|
|
{ type: "object", label: "到货单位", prop: "qty", showProp: "uom",},
|
|
// { type: "object", label: "从供应商批次", prop: "fromBatch", showProp: "supplierBatch",},
|
|
// { type: "object", label: "到供应商批次", prop: "toBatch", showProp: "supplierBatch",},
|
|
// { label: "备注", prop: 'remark',},
|
|
]
|
|
|
|
|
|
/**
|
|
* @returns {Array} 已占有库存
|
|
*/
|
|
export const InventoryOccupied = [{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name", },
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
|
{ label: "任务编号", prop: "jobNumber" },
|
|
{ label: "箱标签", prop: "packingCode", },
|
|
{ label: "托标签", prop: "containerCode", },
|
|
{ label: "库位代码", prop: "locationCode", },
|
|
{ type: "object", label: "占用数量", prop: "qty", showProp: "qty", },
|
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
|
|
{ type: "object", label: "仓库编号", prop: "location", showProp: "warehouse" },
|
|
{ type: "object", label: "库位组编号", prop: "location", showProp: "group" },
|
|
{ type: "object", label: "区域编号", prop: "location", showProp: "area" },
|
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
|
{ type: "filter", filters: "taskStatus", label: "状态", prop: "status", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
|
|
]
|
|
/**
|
|
* @returns {Array} 预填充库存
|
|
*/
|
|
export const InventoryPredictable = [
|
|
{
|
|
label: "itemCode",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name", },
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
|
{ label: "任务编号", prop: "jobNumber" },
|
|
{ label: "箱标签", prop: "packingCode", },
|
|
{ label: "托标签", prop: "containerCode", },
|
|
{ label: "库位代码", prop: "locationCode", },
|
|
{ type: "object", label: "占用数量", prop: "qty", showProp: "qty", },
|
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
|
|
{ type: "object", label: "仓库编号", prop: "location", showProp: "warehouse" },
|
|
{ type: "object", label: "库位组编号", prop: "location", showProp: "group" },
|
|
{ type: "object", label: "区域编号", prop: "location", showProp: "area" },
|
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
|
{ type: "filter", filters: "taskStatus", label: "状态", prop: "status", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 生产计划
|
|
*/
|
|
export const ProductionPlan = [
|
|
{
|
|
label: "生产计划单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "生产线", prop: "prodLine", },
|
|
{ label: "车间", prop: "workshop", },
|
|
{ label: "班组", prop: "team", },
|
|
{ label: "班次", prop: "shift", },
|
|
{ label: "状态", type: "filter", filters: "requestStatus", prop: "status", },
|
|
{ type: "dateTime", label: "计划日期", prop: "planDate", },
|
|
{ type: "dateTime", label: "计划时间", prop: "planTime", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
|
|
// { type: "filter", filters: "ProductionPlanStatus", label: "状态", prop: "status", },
|
|
// { label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 备料计划
|
|
*/
|
|
export const PreparationPlan = [
|
|
{
|
|
label: "备料计划单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "生产计划单号", prop: "productionPlanNumber", },
|
|
{ label: "生产线", prop: "prodLine", },
|
|
{ label: "车间", prop: "workshop", },
|
|
{ label: "班次", prop: "shift", },
|
|
{ label: "班组", prop: "team", },
|
|
{ label: "状态", type: "filter", filters: "requestStatus", prop: "status", },
|
|
// { type: "dateTime", label: "计划日期", prop: "planDate", },
|
|
{ type: "dateTime", label: "计划时间", prop: "planTime", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 退料
|
|
*/
|
|
export const MaterialReturn = [
|
|
{
|
|
label: "库存转移编号",
|
|
prop: "transferNumber",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "操作员", prop: "worker",},
|
|
{ label: "箱标签", prop: "toPackingCode",},
|
|
{ label: "从库位编号", prop: "fromLocationCode",},
|
|
{ label: "到库位编号", prop: "toLocationCode",},
|
|
{ label: "从托盘标签", prop: "fromContainerCode",},
|
|
{ label: "到托盘标签", prop: "toContainerCode",},
|
|
{ type: "filter", filters: "TransType", label: "事务类型", prop: "transType",},
|
|
{ type: "filter", filters: "TransSubType", label: "事务替代类型", prop: "transSubType",},
|
|
{ label: "从事务编号", prop: "fromTransNumber",},
|
|
{ label: "到事务编号", prop: "toTransNumber",},
|
|
{ type: "filter", filters: "requestStatus", label: "从状态", prop: "fromStatus",},
|
|
{ type: "filter", filters: "requestStatus", label: "到状态", prop: "toStatus",},
|
|
{ label: "itemCode", prop: "itemCode" },
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name",},
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1",},
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2",},
|
|
{ type: "object", label: "到货数量", prop: "qty", showProp: "qty",},
|
|
{ type: "object", label: "到货单位", prop: "qty", showProp: "uom",},
|
|
// { type: "object", label: "从供应商批次", prop: "fromBatch", showProp: "supplierBatch",},
|
|
// { type: "object", label: "到供应商批次", prop: "toBatch", showProp: "supplierBatch",},
|
|
// { label: "备注", prop: 'remark',},
|
|
]
|
|
/**
|
|
* @returns {Array} 完工收货记录
|
|
*/
|
|
export const ProductReceiptNote = [
|
|
{
|
|
label: "完工收货记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "生产计划单号", prop: 'productionPlanNumber',},
|
|
// { label: "任务ID", prop: 'jobNumber',},
|
|
// { label: "上级关联菜单号", prop: 'sourceNumber',},
|
|
{ type: "dateTime", label: "完工时间", prop: 'completeTime',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
// { label: "车间", prop: 'workshop',},
|
|
// { label: "班次", prop: 'shift',},
|
|
{ label: "公司", prop: "company",},
|
|
// { type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
// { label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 下线结算记录
|
|
*/
|
|
export const OfflineSettlementNote = [
|
|
{
|
|
label: "下线结算记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "业务单号", prop: 'productReceiptNumber', },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 追溯记录
|
|
*/
|
|
export const TracebackNote = [
|
|
{
|
|
label: "追溯单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料代码", prop: "itemCode", },
|
|
{ label: "物料名称", type: "object", prop: "item", showProp: "name", },
|
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
|
{ label: "箱标签", prop: "packingCode" },
|
|
{ type: "object", label: "产品数量", prop: "qty", showProp: "qty", },
|
|
{ label: "批次", prop: "lot", },
|
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 成品回收记录
|
|
*/
|
|
export const ProductRecycleNote = [
|
|
{
|
|
label: "成品回收单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "dateTime", label: "回收时间", prop: 'recycleTime', },
|
|
{ label: "车间", prop: 'workshop', },
|
|
{ label: "班次", prop: 'shift', },
|
|
//{ label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 退库记录
|
|
*/
|
|
export const StockReturnNote = [
|
|
{
|
|
label: "退库记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "dateTime", label: "退料时间", prop: 'returnTime',},
|
|
{ label: "车间", prop: 'workshop',},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 客户退货记录
|
|
*/
|
|
export const CustomerReturnNote = [
|
|
{
|
|
label: "退货记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ type: "dateTime", label: "退货时间", prop: 'returnTime',},
|
|
{ label: "客户", prop: 'customer',},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 返修记录
|
|
*/
|
|
export const ReworkNote = [
|
|
{
|
|
label: "工单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料代码", prop: 'itemCode' },
|
|
// { label: "部门", prop: 'department' },
|
|
// { label: "工单号", prop: 'workOrder' },
|
|
// { label: "流水号", prop: 'seqNo' },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
/**
|
|
* @returns {Array} 报检单
|
|
*/
|
|
export const InspectNotice = [
|
|
{
|
|
label: "检验单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "收货记录单号", prop: "receiptNumber",},
|
|
{ label: "到货单号", prop: "arriveNoticeNumber",},
|
|
{ label: "供应商发货单号", prop: "asnNumber",},
|
|
{ label: "采购订单号", prop: "poNumber",},
|
|
{ label: "要货计划单号", prop: "rpNumber", },
|
|
{ label: "供应商代码", prop: "supplierCode",},
|
|
{ label: "操作员", prop: "worker", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime",},
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 检验记录
|
|
*/
|
|
export const InspectNote = [
|
|
{
|
|
label: "检验单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "收货记录单号", prop: "receiptNumber", },
|
|
{ label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "发货单号", prop: "asnNumber", },
|
|
{ label: "要货计划单号", prop: "rpNumber", },
|
|
{ label: "供应商代码", prop: "supplierCode", },
|
|
{ label: "操作员", prop: "worker", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
]
|
|
/**
|
|
* @returns {Array} 质量异常记录
|
|
*/
|
|
export const InspectAbnormalNote = [
|
|
{
|
|
label: "质量异常记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "检验单号", prop: 'inspectNumber', },
|
|
{ label: "操作员", prop: "worker", },
|
|
{ label: "收货单号", prop: 'receiptNumber', },
|
|
{ label: "供应商编号", prop: 'supplierCode', },
|
|
// { label: "公司", prop: "company", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: "remark", },
|
|
]
|
|
/**
|
|
* @returns {Array} 采购收货任务
|
|
*/
|
|
export const PurchaseReceiptJob = [
|
|
{
|
|
label: "收货任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ label: "要货计划单号", prop: "rpNumber", },
|
|
// { label: "采购订单号", prop: "poNumber", },
|
|
{ label: "供应商代码", prop: "supplierCode" },
|
|
{ label: "供应商名称", prop: "supplierName" },
|
|
{ label: "时间窗口", prop: "timeWindow" },
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "操作员", prop: "worker", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { label: "上游任务编号", prop: "upStreamJobNumber",},
|
|
// { label: "工作组", prop: "workGroupCode",},
|
|
// { label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 采购退货任务
|
|
*/
|
|
export const PurchaseReturnJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "收货单号", prop: "purchaseReceiptNumber", },
|
|
{ label: "发货单号", prop: "asnNumber", },
|
|
{ label: "订单号", prop: "poNumber", },
|
|
{ label: "供应商编码", prop: "supplierCode", },
|
|
{ label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ label: "工作组", prop: 'workGroupCode', },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 上架任务
|
|
*/
|
|
export const PutawayJob = [
|
|
{
|
|
label: "上架任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
// { label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "完工收货单号", prop: "productReceiptNumber", },
|
|
// { label: "收货单号", prop: "receiptNumber", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
// { label: "要货计划单号", prop: "rpNumber", },
|
|
// { label: "发货单号", prop: "asnNumber", },
|
|
// { label: "承接者用户名", prop: "acceptUserName", },
|
|
// { label: "完成者用户名", prop: "completeUserName", },
|
|
// { label: "供应商代码", prop: "supplierCode" },
|
|
// { label: "供应商名称", prop: "supplierName" },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
// { label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
// { label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 检验任务
|
|
*/
|
|
export const InspectJob = [
|
|
{
|
|
label: "检验任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "到货单号", prop: "arriveNoticeNumber", },
|
|
{ label: "检验单号", prop: "inspectNumber", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 发料任务
|
|
*/
|
|
export const IssueJob = [
|
|
{
|
|
label: "发料任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ label: "要货单号", prop: "materialRequestNumber", },
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
// { label: "工作组", prop: "workGroupCode", },
|
|
// { label: "生产线", prop: "prodLine", },
|
|
// { label: "车间", prop: "workshop", },
|
|
// { label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
// { label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 收料任务
|
|
*/
|
|
export const IssueAcceptJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "检验单号", prop: "insepctNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 完工收货任务
|
|
*/
|
|
export const ProductReceiveJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "生产计划单号", prop: "productionPlanNumber", },
|
|
{ label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ label: "车间", prop: "workshop", },
|
|
{ label: "班次", prop: "shift", },
|
|
{ label: "工作组", prop: "workGroupCode", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 发货任务
|
|
*/
|
|
export const DeliverJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "发货计划单号", prop: "deliverPlanNumber" },
|
|
{ type: "dateTime", label: "发货计划时间", prop: "deliverPlanTime" },
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "发货请求单号", prop: "deliverRequestNumber", },
|
|
{ label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 校验任务
|
|
*/
|
|
export const CheckJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "盘点计划号", prop: "countPlanNumber",},
|
|
{ label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
/**
|
|
* @returns {Array} 盘点任务
|
|
*/
|
|
export const CountJob = [
|
|
{
|
|
label: "任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "承接者用户名", prop: "acceptUserName", },
|
|
{ type: "dateTime", label: "承接者时间", prop: "acceptTime", },
|
|
{ label: "完成者用户名", prop: "completeUserName", },
|
|
{ type: "dateTime", label: "完成时间", prop: "completeTime", },
|
|
{ label: "盘点计划号", prop: "countPlanNumber",},
|
|
{ label: "上游任务编号", prop: "upStreamJobNumber", },
|
|
{ label: "任务类型", type: "filter", filters: "taskType", prop: "jobType", },
|
|
{ label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", },
|
|
// { type: "filter", filters: "checkStage", label: "阶段", prop: "countStage", },
|
|
{ type: "dateTime", label: "创建时间", prop: "creationTime", },
|
|
{ label: "备注", prop: 'remark', },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-发货任务(天津)
|
|
*/
|
|
export const Shipments = [
|
|
{
|
|
label: "发货任务编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "状态", prop: "jobStatus", filters: "ShipmentsStatus" , type: "filter" },
|
|
{ label: "客户", prop: "customer"},
|
|
{ label: "收货地址", prop: "customerAddressCode"},
|
|
{ label: "计划时间", prop: "planTime", type: "dateTime" },
|
|
{ label: "器具数量", prop: "containerQty" },
|
|
{ label: "产品数量", prop: "itemQty" },
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-器具查询(天津)
|
|
*/
|
|
export const Instruments = [
|
|
{
|
|
label: "器具编号",
|
|
prop: "containerCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "排序号", prop: "seqNo"},
|
|
{ type: "filter", label: "状态", prop: "businessStatus", filters: "instrumentsStatus" },
|
|
{ label: "成品库位编号", prop: "locationCode"},
|
|
{ type: "filter", label: "类型", prop: "type", filters: "InstrumentsLXStatus" },
|
|
{ label: "产品数量", prop: "capacity"},
|
|
{ label: "项目编号", prop: "projectCode"},
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-收货记录(天津)
|
|
*/
|
|
export const ReceivingRecords = [
|
|
{
|
|
label: "收货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "操作员", prop: "worker" },
|
|
{ label: "完工时间", prop: "completeTime", type: "dateTime"},
|
|
{ label: "创建时间", prop: "creationTime", type: "dateTime"},
|
|
{ label: "器具数量", prop: "containerQty" },
|
|
{ label: "产品数量", prop: "itemQty" },
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-发货记录(天津)
|
|
*/
|
|
export const DeliveryRecord = [
|
|
{
|
|
label: "发货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "任务编号", prop: "jobNumber" },
|
|
{ label: "客户", prop: "customer"},
|
|
{ label: "收货地址", prop: "customerAddressCode"},
|
|
{ label: "发货时间", prop: "deliverTime", type: "dateTime"},
|
|
{ label: "器具数量", prop: "containerQty" },
|
|
{ label: "产品数量", prop: "itemQty" },
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-回收记录(天津)
|
|
*/
|
|
export const JisProductRecycleNote = [
|
|
{
|
|
label: "回收单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "生产计划单号", prop: "productionPlanNumber"},
|
|
{ label: "操作员", prop: "worker" },
|
|
{ label: "仓库", prop: "warehouseCode"},
|
|
{ label: "收货库位", prop: "locationCode"},
|
|
{ label: "原料库位", prop: "rawLocation"},
|
|
{ label: "生产线", prop: "prodLine"},
|
|
{ label: "车间", prop: "workshop"},
|
|
{ label: "班次", prop: "shift"},
|
|
{ label: "回收时间", prop: "recycleTime", type: "dateTime"},
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-退库记录(天津)
|
|
*/
|
|
export const JisProductReturnNote = [
|
|
{
|
|
label: "退库单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "发货任务编号", prop: "jobNumber" },
|
|
{ label: "客户", prop: "customer"},
|
|
{ label: "从库位", prop: "fromLocationCode"},
|
|
{ label: "到库位", prop: "toLocationCode"},
|
|
{ label: "从仓库", prop: "fromWarehouseCode"},
|
|
{ label: "到仓库", prop: "toWarehouseCode"},
|
|
{ label: "操作员", prop: "worker" },
|
|
{ label: "创建时间", prop: "creationTime", type: "dateTime"},
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
/**
|
|
* @returns {Array} 仓库管理-发运管理-库存转移记录(天津)
|
|
*/
|
|
export const JisProductTransferNote = [
|
|
{
|
|
label: "库存转移单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "从库位", prop: "fromLocationCode"},
|
|
{ label: "到库位", prop: "toLocationCode"},
|
|
{ label: "从仓库", prop: "fromWarehouseCode"},
|
|
{ label: "到仓库", prop: "toWarehouseCode"},
|
|
{ label: "操作员", prop: "worker"},
|
|
{ label: "创建时间", prop: "creationTime", type: "dateTime"},
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 消息管理-消息类型
|
|
*/
|
|
export const MessageType = [
|
|
{
|
|
label: "消息类别代码",
|
|
prop: "messageTypeCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
width: "300px"
|
|
},
|
|
{ label: "消息类别名称", prop: "messageTypeName" },
|
|
{ label: "备注", prop: 'remark' }
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 供应商考核看板-供应商考核记录
|
|
*/
|
|
export const SupplierAssessmentNote = [
|
|
{
|
|
label: "供应商代码",
|
|
prop: "supplierCode",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "供应商名称", prop: "supplierName" },
|
|
{ label: "ASN单号", prop: 'asnNumber' },
|
|
{ label: "ASN发货时间", prop: 'asnShippingTime', type:'dateTime' },
|
|
{ type: "filter", label: "考核内容", prop: "reason", filters: "reasonStatus" },
|
|
{ label: "扣分分数", prop: 'scope' },
|
|
{ label: "扣分时间", prop: 'evaluationTime', type:'dateTime' },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 供应商考核看板-汇总报表
|
|
*/
|
|
export const SupplierAssessmentReportForm = [
|
|
{
|
|
label: "供应商代码",
|
|
prop: "supplierCode",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "供应商名称", prop: "supplierName" },
|
|
{ label: "扣分总数", prop: 'summaryOfScores' },
|
|
{ label: "扣分次数", prop: 'countOfScores' },
|
|
{ label: "送货总数", prop: 'countOfAsn' },
|
|
{ label: "出错率", prop: 'errorRate' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} EQLevel报表
|
|
*/
|
|
export const EQLevel = [
|
|
{
|
|
label: "EQLevel编号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
},
|
|
{ label: "物品代码", prop: "itemCode" },
|
|
{ label: "物品名称",type: "object", prop: "item", showProp: "name" },
|
|
{ label: "物品描述",type: "object", prop: "item", showProp: "desc1" },
|
|
{ label: "批次", prop: 'lot' },
|
|
{ label: "箱标签", prop: 'packingCode' },
|
|
{ label: "托标签", prop: 'containerCode' },
|
|
{ label: "库位代码", prop: 'locationCode' },
|
|
{ label: "物品质量信息", prop: 'itemEqLevel' },
|
|
{ label: "标签质量信息", prop: 'labelEqLevel' },
|
|
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} //库存管理——L7零件库存余额
|
|
*/
|
|
export const l7BalanceSummary = [
|
|
{
|
|
label: "物品代码",
|
|
prop: "itemCode",
|
|
fixed: "left",
|
|
},
|
|
{ label: "物品名称",type: "object", prop: "item", showProp: "name" },
|
|
{ label: "物品描述",type: "object", prop: "item", showProp: "desc1" },
|
|
{ label: "批次", prop: 'lot' },
|
|
{ label: "库位代码", prop: 'locationCode' },
|
|
{ label: "数量", prop: 'qty' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} JIS信息查询
|
|
*/
|
|
export const JISMessageQuery = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "产品号", prop: "productNo" },
|
|
{ label: "项目号", prop: 'program' },
|
|
{ label: "位置", prop: 'position' },
|
|
{ label: "FATA", prop: 'fata' },
|
|
{ label: "配置号", prop: 'configuration' },
|
|
{ label: "器具号", prop: 'containerCode' },
|
|
{ label: "完工单号", prop: 'receiptNumber' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 鸿翔外库jis发货
|
|
*/
|
|
export const OuterJisDeliverNote = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "状态", type: "filter", prop: "status", filters: "jisStatus" },
|
|
{ label: "发货单号", prop: "deliverNumber" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "创建时间", prop: 'creationTime', type:'dateTime' },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 发货记录
|
|
*/
|
|
export const OuterPillarDeliverNote = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "发货单号", prop: "deliverNumber" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "创建时间", prop: 'creationTime', type:'dateTime' },
|
|
{ label: "备注", prop: 'remark' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 鸿翔外库jis换件
|
|
*/
|
|
export const OuterJisReplaceNote = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "项目号", prop: "projectCode" },
|
|
{ label: "位置", prop: 'position' },
|
|
{ label: "配置号", prop: 'l7Part' },
|
|
{ label: "物品描述", prop: 'itemName' },
|
|
{ label: "备品生产号", prop: 'sparesNumber' },
|
|
{ label: "备品批次", prop: 'sparesLot' },
|
|
{ label: "目标生产号", prop: 'targetNumber' },
|
|
{ label: "目标批次", prop: 'targetLot' },
|
|
{ label: "备品批次", prop: 'sparesLot' },
|
|
{ label: "说明", prop: 'description' },
|
|
{ label: "换件用户", prop: 'replacePeople' },
|
|
{ label: "换件时间", prop: 'replaceDate', type:'dateTime' },
|
|
{ label: "创建时间", prop: 'creationTime', type:'dateTime' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 鸿翔外库jis计划外入库
|
|
*/
|
|
export const OuterJisUnplannedReceiptNote = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "计划外入库单号", prop: "outerUnplannedReceiptNumber" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "创建时间", prop: 'creationTime', type:'dateTime' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 鸿翔外库jis计划外出库
|
|
*/
|
|
export const OuterJisUnplannedIssueNote = [
|
|
{
|
|
label: "单据号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "计划外出库单号", prop: "outerUnplannedIssueNumber" },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "创建时间", prop: 'creationTime', type:'dateTime' },
|
|
]
|
|
|
|
|
|
|
|
/**
|
|
* @returns {Array} 消息收货日志
|
|
*/
|
|
export const MessageReceiveAppService = [
|
|
{
|
|
label: "id",
|
|
prop: "id",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "创建时间", prop: "creationTime", type:'dateTime', showProp: true },
|
|
{ label: "creatorId", prop: "creatorId", showProp: true },
|
|
{ label: "跟踪编号", prop: "traceId", showProp: true },
|
|
{ label: "errorCode", prop: "errorCode", showProp: true },
|
|
{ label: "电报文件名称", prop: "messageFileName", showProp: true },
|
|
{ label: "文件类型", prop: "messageFileType", showProp: true },
|
|
{ type: "filter", label: "状态", prop: "receiveStatus", filters: "receiveStatus" },
|
|
{ label: "receiveTime", prop: "receiveTime", type:'dateTime', showProp: true },
|
|
{ label: "lastUpdateTime", prop: "lastUpdateTime", type:'dateTime', showProp: true },
|
|
{ label: "errorCount", prop: "errorCount", showProp: true },
|
|
{ label: "operateType", prop: "operateType", showProp: true },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} WMS&QAD接口日志
|
|
*/
|
|
export const OutgoingDataAppService = [
|
|
{
|
|
label: "id",
|
|
prop: "id",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "创建时间", prop: "creationTime", type:'dateTime', showProp: true },
|
|
{ label: "creatorId", prop: "creatorId", showProp: true },
|
|
{ label: "数据编号", prop: "number", showProp: true },
|
|
{ label: "数据类型", prop: "dataType", showProp: true },
|
|
{ label: "生效日期", prop: "effectiveDate", type:'dateTime', showProp: true },
|
|
{ label: "status", prop: "status", showProp: true },
|
|
{ label: "errorCode", prop: "errorCode", showProp: true },
|
|
{ label: "来源系统", prop: "source", showProp: true },
|
|
{ label: "写入时间", prop: "writeTime", type:'dateTime', showProp: true },
|
|
{ label: "写入者", prop: "writer", showProp: true },
|
|
{ label: "sourcesystem", prop: "sourcesystem", type: 'hide' },
|
|
{ label: "destinationsystem", prop: "destinationsystem", type: 'hide' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} WMS&QAD接口历史日志
|
|
*/
|
|
export const OutgoingDataHistoryAppService = [
|
|
{
|
|
label: "id",
|
|
prop: "id",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "创建时间", prop: "creationTime", type:'dateTime' },
|
|
{ label: "creatorId", prop: "creatorId" },
|
|
{ label: "数据编号", prop: "number" },
|
|
{ label: "数据类型", prop: "dataType" },
|
|
{ label: "生效日期", prop: "effectiveDate", type:'dateTime' },
|
|
{ type: "filter", label: "状态", prop: "status", filters: "OutgoingDataHistoryAppStatus" },
|
|
{ type: "filter", label: "是否错误", prop: "errorCode", filters: "errorCodeStatus" },
|
|
{ label: "错误代码", prop: "errorCode" },
|
|
{ label: "来源系统", prop: "source" },
|
|
{ label: "写入时间", prop: "writeTime", type:'dateTime' },
|
|
{ label: "写入者", prop: "writer" },
|
|
{ label: "sourcesystem", prop: "sourcesystem", type: 'hide' },
|
|
{ label: "destinationsystem", prop: "destinationsystem", type: 'hide' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} Bom接口日志
|
|
*/
|
|
export const BomAppService = [
|
|
{
|
|
label: "id",
|
|
prop: "id",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "创建时间", prop: "creationTime", type:'dateTime', showProp: true },
|
|
{ label: "creatorId", prop: 'creatorId', showProp: true },
|
|
{ label: "跟踪编号", prop: 'traceId', showProp: true },
|
|
{ label: "errorCode", prop: 'errorCode', showProp: true },
|
|
{ label: "errorMessage", prop: 'errorMessage', showProp: true },
|
|
{ label: "公司", prop: 'company', showProp: true },
|
|
{ label: "父物料号", prop: 'parentCode', showProp: true },
|
|
{ label: "子物料号", prop: 'componentCode', showProp: true },
|
|
{ label: "用量", prop: 'perQty', showProp: true },
|
|
{ label: "参考号", prop: 'reference', showProp: true },
|
|
{ label: "开始日期", prop: 'startDate', type:'dateTime', showProp: true },
|
|
{ label: "结束日期", prop: 'endDate', type:'dateTime', showProp: true },
|
|
{ label: "类型", prop: 'type', showProp: true },
|
|
{ label: "工序", prop: 'op', showProp: true },
|
|
{ label: "废品率", prop: 'scrapPct', showProp: true },
|
|
{ label: "序号", prop: 'seqNumber', showProp: true },
|
|
{ label: "分组", prop: 'optionGroup', showProp: true },
|
|
{ label: "工序", prop: 'process', showProp: true },
|
|
{ label: "备注", prop: 'remark', showProp: true },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} Part接口日志
|
|
*/
|
|
export const PartAppService = [
|
|
{
|
|
label: "跟踪编号",
|
|
prop: "traceId",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "公司", prop: "company", showProp: true },
|
|
{ label: "工厂", prop: 'site', showProp: true },
|
|
{ label: "物料号", prop: 'code', showProp: true },
|
|
{ label: "物流名称", prop: 'name', showProp: true },
|
|
{ label: "描述1", prop: 'desc1', showProp: true },
|
|
{ label: "描述2", prop: 'desc2', showProp: true },
|
|
{ label: "物料状态", prop: 'status', showProp: true },
|
|
{ label: "允许制造", prop: 'canMake', showProp: true },
|
|
{ label: "允许采购", prop: 'canBuy', showProp: true },
|
|
{ label: "计量单位", prop: 'um', showProp: true },
|
|
{ label: "ABC类", prop: 'abcClass', showProp: true },
|
|
{ label: "产品类", prop: 'prodKind', showProp: true },
|
|
{ label: "零件类型", prop: 'partType', showProp: true },
|
|
{ label: "零件种类", prop: 'partCatalog', showProp: true },
|
|
{ label: "零件分组", prop: 'partGroup', showProp: true },
|
|
{ label: "虚零件", prop: 'isPhantom', showProp: true },
|
|
{ label: "颜色", prop: 'color', showProp: true },
|
|
{ label: "配置", prop: 'config', showProp: true },
|
|
{ label: "项目", prop: 'project', showProp: true },
|
|
{ label: "版本", prop: 'version', showProp: true },
|
|
{ label: "工程变更通知单", prop: 'eco', showProp: true },
|
|
{ label: "标包计量单位", prop: 'stdPackUm', showProp: true },
|
|
{ label: "标包数量", prop: 'stdPackQty', showProp: true },
|
|
{ label: "替代计量单位", prop: 'extPackUm', showProp: true },
|
|
{ label: "替代包装数量", prop: 'extPackQty', showProp: true },
|
|
{ label: "备注", prop: 'remark', showProp: true },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 单块门板-发货记录
|
|
*/
|
|
export const SingleDoorPanelDeliverNote = [
|
|
{
|
|
label: "发货记录单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "任务ID", prop: 'jobNumber' },
|
|
{ label: "客户", prop: 'customer' },
|
|
{ label: "客户地址代码", prop: 'customerAddressCode' },
|
|
{ label: "项目号", prop: "projectCode" },
|
|
{ label: "发货时间", prop: "deliverTime", type: "dateTime" },
|
|
{ label: "到货时间", prop: "arrivalTime", type: "dateTime" },
|
|
{ label: "项目名称", prop: "projectName" },
|
|
{ label: "客户名称", prop: "customerName" },
|
|
{ label: "客户联系人", prop: "customerContact" },
|
|
{ label: "客户电话", prop: "customerPhone" },
|
|
{ label: "包装箱容量/箱", prop: "totalPackCapacity" },
|
|
{ label: "客户地址", prop: "customerAddress" },
|
|
{ label: "发货人姓名", prop: "deliverPeopleName" },
|
|
{ label: "备注", prop: "remark" },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 单块门板-完工收货记录
|
|
*/
|
|
export const SingleDoorPanelProductReceiptNote = [
|
|
{
|
|
label: "完工收货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name"
|
|
},
|
|
{ label: "生产计划单号", prop: 'productionPlanNumber' },
|
|
{ label: "任务ID", prop: 'jobNumber' },
|
|
{ type: "dateTime", label: "完工时间", prop: 'completeTime' },
|
|
{ label: "车间", prop: 'workshop' },
|
|
{ label: "生产线", prop: 'prodLine' },
|
|
{ label: "收货库位", prop: 'locationCode' },
|
|
{ label: "原料库位", prop: 'rawLocation' },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
{ label: "操作员", prop: 'worker' },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 单块门板-完工调整记录
|
|
*/
|
|
export const SingleDoorPanelProductAdjust = [
|
|
{
|
|
label: "完工调整单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "产品号", prop: 'productNo',},
|
|
{ label: "项目号", prop: 'projectCode',},
|
|
{ label: "位置", prop: 'position',},
|
|
{ label: "箱码", prop: 'packingCode',},
|
|
{ label: "配置码", prop: 'itemCode',},
|
|
{ label: "操作员", prop: 'worker',},
|
|
{ label: "任务ID", prop: 'jobNumber',},
|
|
{ label: "生产线", prop: 'prodLine',},
|
|
{ label: "批次", prop: 'lot',},
|
|
{ label: "原料库位", prop: 'rawLocation',},
|
|
{ label: "成品库位", prop: 'productLocation',},
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 单块门板-客户退货记录
|
|
*/
|
|
export const SingleDoorPanelCustomerReturnNote = [
|
|
{
|
|
label: "客户退货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "收货库位", prop: 'locationCode' },
|
|
{ label: "退货时间", prop: "returnTime", type: "dateTime" },
|
|
{ label: "操作员", prop: 'worker' },
|
|
{ label: "仓库", prop: 'warehouseCode' },
|
|
// { label: "任务ID", prop: 'jobNumber' },
|
|
{ label: "备注", prop: "remark" },
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 单块门板-库移记录
|
|
*/
|
|
export const SingleDoorPanelProductTransferNote = [
|
|
{
|
|
label: "转移发货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "来源库位", prop: "fromLocationCode", },
|
|
{ label: "目标库位", prop: "toLocationCode", },
|
|
{ label: "来源仓库", prop: "fromWarehouseCode", },
|
|
{ label: "目标仓库", prop: "toWarehouseCode", },
|
|
{ label: "操作员", prop: "worker", },
|
|
{ label: "任务ID", prop: "jobNumber", },
|
|
// { label: "供应商编号", prop: "supplierCode", },
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
|
|
|
|
/**
|
|
* @returns {Array} 调拨发货记录
|
|
*/
|
|
export const PillarDeliverNote = [
|
|
{
|
|
label: "调拨发货单号",
|
|
prop: "number",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "仓库", prop: "warehouseCode", },
|
|
{ label: "操作员", prop: "worker", },
|
|
{ label: "客户", prop: "customer", },
|
|
{ label: "客户地址", prop: "customerAddressCode", },
|
|
{ label: "销售订单号", prop: "soNumber", },
|
|
{ label: "发货方式", prop: "shipVia", },
|
|
{ label: "运输方式", prop: "modeOfTransport", },
|
|
{ label: "承运商", prop: "carrier", },
|
|
{ label: "承运商参考", prop: "carrierShipmentRef", },
|
|
{ label: "车辆", prop: "vehicleID", },
|
|
{ label: "备注", prop: "remark",},
|
|
]
|
|
|
|
/**
|
|
* @returns {Array} 标签信息
|
|
*/
|
|
export const labelInfo = [
|
|
{
|
|
label: "箱码",
|
|
prop: "packingCode",
|
|
fixed: "left",
|
|
type: "name",
|
|
},
|
|
{ label: "物料代码", prop: "itemCode" },
|
|
{ label: "物料名称", prop: "item", showProp: 'name', type:'object' },
|
|
{ label: "物料描述1", prop: "item", showProp: 'desc1', type:'object' },
|
|
{ label: "物料描述2", prop: "item", showProp: 'desc2', type:'object' },
|
|
{ label: "批次", prop: "lot" },
|
|
{ label: "数量", prop: "qty", showProp: 'qty', type:'object' },
|
|
{ label: "单位", prop: "qty", showProp: 'uom', type:'object' },
|
|
{ label: "标包数量", prop: "planQty", showProp: 'qty', type:'object' },
|
|
{ label: "完整条码文本", prop: "fullBarcodeString" },
|
|
{ label: "供应商代码", prop: 'supplierCode' },
|
|
{ label: "供应商名称", prop: 'supplierName' },
|
|
{ label: "采购单号", prop: "asnNumber" },
|
|
{ label: "发货单号", prop: "deliverNumber" },
|
|
{ label: "生产线", prop: "prodLine" },
|
|
{ label: "生产计划编号", prop: "productionPlanNumber" },
|
|
{ label: "完工时间", prop: 'completeTime', type: "dateTime" },
|
|
// { label: "Bom版本", prop: "bomVersion" },
|
|
{ label: "流水号", prop: "lsh" },
|
|
{ label: "客户物料号", prop: "customerItemCode" },
|
|
// { label: "合格数量", prop: "goodQty" },
|
|
// { label: "不合格数量", prop: "noGoodQty" },
|
|
]
|
|
|