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.
80 lines
3.9 KiB
80 lines
3.9 KiB
|
|
// 通用配置
|
|
const orderWidth = 180
|
|
import zh from '@/lang/zh'
|
|
let _Names = zh.ColumsNames // 业务字段
|
|
|
|
// 原料管理
|
|
/**/
|
|
// 报检单
|
|
export const InspectRequest = [
|
|
{ label: _Names.itemCode, prop: "itemCode" },
|
|
{ label: "物品名称", prop: "itemName" },
|
|
{ label: "物品描述1", prop: "itemDesc1" },
|
|
{ label: "物品描述2", prop: "itemDesc2" },
|
|
{ label: "生产批次", prop: "lot" },
|
|
{ label: "收货数量", prop: 'receiveQty' },
|
|
{ label: "检验数量", prop: 'inspectQty' },
|
|
{ label: "合格数量", prop: 'goodQty' },
|
|
{ label: "不合格数量", prop: 'failedQty' },
|
|
{ label: "检验人", prop: 'inspectUser' },
|
|
{ label: "任务单号", prop: "number" },
|
|
{ label: "创建时间", prop: "creationTime",type: "dateTime" },
|
|
{ label: "创建者ID", prop: "creatorId" },
|
|
{ label: "状态", prop: "summaryInspectStatus", type: "filter", filters: "summaryInspectStatus" },
|
|
{ label: "ABC类", prop: 'abcClass', type: "filter", filters: "abcClass" },
|
|
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
|
|
{ label: "上次修改者ID", prop: "lastModifierId" },
|
|
{ label: "备注", prop: 'remark' },
|
|
{ label: "计量单位", prop: 'uom' },
|
|
{ label: "标包数量", prop: 'stdPackQty' },
|
|
{ label: "供应商批次", prop: 'supplierBatch' },
|
|
{ label: "到货时间", prop: 'arriveDate', type: "dateTime" },
|
|
{ label: "生产时间", prop: 'produceDate', type: "dateTime" },
|
|
{ label: "过期时间", prop: 'expireDate', type: "dateTime" },
|
|
{ label: "订单号", prop: 'poNumber',width: orderWidth },
|
|
{ label: "订单行", prop: 'poLine' },
|
|
{ label: "样品率", prop: 'samplePercent' },
|
|
{ label: "破坏数量", prop: 'crackQty' },
|
|
{ label: "最终不合格数量", prop: 'notPassedQty' },
|
|
{ label: "检验报告", fixed: "right",prop: 'inspectReport',type:'button',buttonName:'查看报告' },
|
|
{ label: "事务ID", prop: "tenantId" },
|
|
{ label: "检验类型", prop: "inspectType", type: "filter", filters: "inspectType" },
|
|
{ label: "不合格原因代码", prop: 'failedReason' },
|
|
{ label: "不合格原因", prop: 'failedReason', type: "filter", filters: "getDict" , dictType:"UnqualifiedReason" },
|
|
]
|
|
|
|
// 检验记录
|
|
export const InspectNote = [
|
|
{ label: _Names.itemCode, prop: "itemCode", fixed: "left" },
|
|
{ label: "物品名称", prop: "itemName" },
|
|
{ label: "物品描述1", prop: "itemDesc1" },
|
|
{ label: "物品描述2", prop: "itemDesc2" },
|
|
{ label: "生产批次", prop: "lot" },
|
|
{ label: "计量单位", prop: 'uom' },
|
|
{ label: "收货数量", prop: 'receiveQty' },
|
|
{ label: "检验数量", prop: 'inspectQty' },
|
|
{ label: "合格数量", prop: 'goodQty' },
|
|
{ label: "不合格数量", prop: 'failedQty' },
|
|
{ label: "检验人", prop: 'inspectUser' },
|
|
{ label: "不合格原因代码", prop: 'failedReason' },
|
|
{ label: "不合格原因", prop: 'failedReason', type: "filter", filters: "getDict", dictType: "UnqualifiedReason" },
|
|
{ label: "单据号", prop: "number" },
|
|
{ label: "创建时间", prop: "creationTime", type: "dateTime" },
|
|
{ label: "创建者ID", prop: 'creatorId' },
|
|
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
|
|
{ label: "上次修改者ID", prop: 'lastModifierId' },
|
|
{ label: "备注", prop: 'remark' },
|
|
{ label: "供应商批次", prop: 'supplierBatch' },
|
|
{ label: "到货时间", prop: 'arriveDate', type: "dateTime" },
|
|
{ label: "生产时间", prop: 'produceDate', type: "dateTime" },
|
|
{ label: "过期时间", prop: 'expireDate', type: "dateTime" },
|
|
{ label: "订单号", prop: 'poNumber' },
|
|
{ label: "订单行", prop: 'poLine' },
|
|
{ label: "标包数量", prop: 'stdPackQty' },
|
|
{ label: "样品率", prop: 'samplePercent' },
|
|
{ label: "破坏数量", prop: 'crackQty' },
|
|
{ label: "最终不合格数量", prop: 'notPassedQty' },
|
|
{ label: "事务ID", prop: "tenantId" },
|
|
{ label: "检验类型", prop: "inspectType", type: "filter", filters: "inspectType" },
|
|
]
|