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.
100 lines
5.7 KiB
100 lines
5.7 KiB
12 months ago
|
/**
|
||
|
* @returns {Array} 检验任务
|
||
|
*/
|
||
|
export const InspectJob = [
|
||
|
{ label: "itemCode", prop: "itemCode", fixed:"left", },
|
||
|
{ 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: "inspectType", label: "检验类型", prop: "inspectType",},
|
||
|
{ label: "检验数量", prop: "inspectQty",},
|
||
|
{ label: "合格数量", prop: "goodQty",},
|
||
|
{ label: "不合格数量", prop: "failedQty",},
|
||
|
{ label: "最终不合格数量", prop: "notPassedQty",},
|
||
|
{ label: "不合格原因", prop: "failedReason",},
|
||
|
{ label: "破坏数量", prop: "crackQty",},
|
||
|
{ type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", },
|
||
|
{ type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",},
|
||
|
{ type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",},
|
||
|
{ type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",},
|
||
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch",},
|
||
|
{ label: "订单号", prop: "poNumber",},
|
||
|
{ label: "订单行", prop: "poLine",},
|
||
|
// { label: "itemCode", prop: "itemCode",},
|
||
|
// { type: "filter", filters: "inspectType", label: "检验类型", prop: "inspectType",},
|
||
|
// { label: "检验数量", prop: "inspectQty",},
|
||
|
// { label: "合格数量", prop: "goodQty",},
|
||
|
// { label: "不合格数量", prop: "failedQty",},
|
||
|
// { label: "最终不合格数量", prop: "notPassedQty",},
|
||
|
// { label: "实际库位", prop: "handledLocationCode",},
|
||
|
// { label: "推荐库位", prop: "recommendLocationCode",},
|
||
|
// { 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: "batch", showProp: "supplierBatch",},
|
||
|
// { label: "备注", prop: 'remark', },
|
||
|
]
|
||
|
|
||
|
/**
|
||
|
* @returns {Array} 报检单
|
||
|
*/
|
||
|
export const InspectNotice = [
|
||
|
{ label: "itemCode", prop: "itemCode", fixed: "left",},
|
||
|
{ 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: "lot" },
|
||
|
{ label: "抽检百分比", prop: "samplePercent",},
|
||
|
{ label: "检验数量", prop: "inspectQty",},
|
||
|
{ type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", },
|
||
|
{ type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",},
|
||
|
// { type: "filter", filters: "inspectType", label: "检验类型", prop: "inspectType",},
|
||
|
{ type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",},
|
||
|
{ type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",},
|
||
|
// { label: "订单号", prop: "poNumber",},
|
||
|
// { label: "订单行", prop: "poLine",},
|
||
|
// { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
|
||
|
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
|
||
|
]
|
||
|
|
||
|
/**
|
||
|
* @returns {Array} 检验记录
|
||
|
*/
|
||
|
export const InspectNote = [
|
||
|
{ label: "itemCode", prop: "itemCode", fixed: "left",},
|
||
|
{ type: "object", label: "物料名称", prop: "item", showProp: "name", },
|
||
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
||
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
||
|
{ label: "检验数量", prop: "inspectQty",},
|
||
|
{ label: "合格数量", prop: "goodQty",},
|
||
|
{ label: "不合格数量", prop: "failedQty",},
|
||
|
{ label: "破坏数量", prop: "crackQty",},
|
||
|
{ type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", },
|
||
|
{ type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",},
|
||
|
{ type: "filter", filters: "taskType", label: "检验类型", prop: "inspectType",},
|
||
|
{ type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",},
|
||
|
{ type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom",},
|
||
|
{ label: "批次", prop: "lot", },
|
||
|
]
|
||
|
|
||
|
/**
|
||
|
* @returns {Array} 检验记录
|
||
|
*/
|
||
|
export const PurchaseReceiptNote = [
|
||
|
{ label: "itemCode", prop: "itemCode",fixed: "left", },
|
||
|
{ type: "object", label: "物料名称", prop: "item", showProp: "name", },
|
||
|
{ type: "object", label: "物料描述1", prop: "item", showProp: "desc1", },
|
||
|
{ type: "object", label: "物料描述2", prop: "item", showProp: "desc2", },
|
||
|
{ label: "总数", prop: "summary" },
|
||
|
{ type: "object", label: "收货数量", prop: "qty", showProp: "qty", },
|
||
|
{ type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", },
|
||
|
{ label: "订单号", prop: "poNumber", },
|
||
|
{ label: "订单行", prop: "poLine", },
|
||
|
{ label: "箱标签", prop: "packingCode", },
|
||
|
{ label: "托标签", prop: "containerCode", },
|
||
|
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
|
||
|
{ type: "object", label: "包装单位", prop: "qty", showProp: "uom", },
|
||
|
{ type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", },
|
||
|
{ label: "E-LEVEL等级", prop: "labelEqLevel" },
|
||
|
{ label: "备注", prop: 'remark', },
|
||
|
]
|