Browse Source

配置文件

master
陈薪名 1 year ago
parent
commit
febb4abe53
  1. 1954
      src/utils/disposition/formFields.ts
  2. 2403
      src/utils/disposition/tableColumns.ts
  3. 1431
      src/utils/disposition/tableDetailsColumns.ts
  4. 100
      src/utils/disposition/tableSummaryColumns.ts

1954
src/utils/disposition/formFields.ts

File diff suppressed because it is too large

2403
src/utils/disposition/tableColumns.ts

File diff suppressed because it is too large

1431
src/utils/disposition/tableDetailsColumns.ts

File diff suppressed because it is too large

100
src/utils/disposition/tableSummaryColumns.ts

@ -0,0 +1,100 @@
/**
* @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', },
]
Loading…
Cancel
Save