diff --git a/src/utils/disposition/formFields.ts b/src/utils/disposition/formFields.ts new file mode 100644 index 000000000..a98d5adcc --- /dev/null +++ b/src/utils/disposition/formFields.ts @@ -0,0 +1,1954 @@ +/** + * @returns {Array} 基础物料信息 + */ + export const ItemBasic = [ + { label: "物料代码", prop: 'code' }, + { label: "物料名称", prop: "name" }, + { label: "描述1", prop: "desc1" }, + { label: "描述2", prop: "desc2" }, + { type: "filter", label: "状态", prop: "status", filters: "itemStatus" }, + { label: "计量单位", prop: 'basicUom' }, + { type: "filter", label: "ABC类", prop: 'abcClass', filters: "abcClass" }, + { type: "filter", label: "制造件", prop: "canMake", filters: "whetherOrNot" }, + { type: "filter", label: "采购件", prop: "canBuy", filters: "whetherOrNot" }, + { label: "产品类", prop: 'productLine' }, + { label: "有效值", prop: "validity" }, + { type: "filter", label: "有效期", prop: "validityUnit", filters: "validityUnit" }, + // { type: "filter", label: "管理类型", prop: "manageType", filters: "manageType" }, + { label: "类型", prop: 'type' }, + { label: "种类", prop: 'category' }, + { label: "分组", prop: 'group' }, + { label: "颜色", prop: 'color' }, + { label: "配置", prop: 'configuration' }, + { label: "项目", prop: 'project' }, + { label: "版本", prop: 'version' }, + { label: "工程变更", prop: 'eco' }, + { label: "E-LEVEL等级", prop: 'elevel' }, + { type: "filter", label: "是否虚拟物料", prop: "isPhantom", filters: "whetherOrNot" }, + { type: "filter", label: "是否是下线结算件", prop: "isOfflineSettlement", filters: "whetherOrNot" }, + { type: "filter", label: "是否自动回冲", prop: "isAutoBackFlush", filters: "whetherOrNot" }, + { label: "特性", prop: 'characteristic' }, + { label: "管理类型", prop: 'remark' }, + ] + +/** + * @returns {Array} 物品质量信息 + */ + export const ItemQuality = [ + { label: "itemCode", prop: "itemCode" }, + { label: "物料名称", prop: 'name' }, + { label: "供应商代码", prop: 'supplierCode' }, + { type: "filter", label: "检验类型", prop: 'inspectType', filters: "inspectType" }, + { label: "检验周期-按到货频次", prop: 'inspFrequency' }, + { label: "检验周期天数", prop: 'inspFreqDays' }, + { type: "filter", label: "按批次选择抽检数量", prop: 'sampleByBatch', filters: "whetherOrNot" }, + { label: "抽检数量", prop: 'sampleQty' }, + { type: "filter", label: "状态", prop: "status", filters: "openToClose" }, + { label: "检验百分比", prop: 'samplePercent' }, + { type: "filter", label: "是否是破坏性检验", prop: 'destructive', filters: "whetherOrNot" }, + { type: "filter", label: "退货方法", prop: 'returnMethod', filters: "returnMethodType" }, + { label: "描述", prop: "description" }, + ] + +/** + * @returns {Array} 物品分类信息 + */ + export const ItemCategory = [ + { label: "itemCode", prop: 'itemCode', }, + { label: "分类编号", prop: "categoryCode", }, + { label: "分类值", prop: "value", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 物品包装 + */ + export const ItemPack = [ + { label: "包装代码", prop: 'packCode', }, + { label: "包装名称", prop: "packName" }, + { 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: 'remark', colSpan: 12 }, + ] + +/** + * @returns {Array} 物品质检标准 + */ + export const AQL = [ + { label: "itemCode", prop: "itemCode", }, + { 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", }, + { label: "子物料号", prop: 'component', }, + { type: "object", label: "子物料用量", prop: 'perQty', showProp: "qty", }, + { type: "object", label: "子物料用量单位", prop: 'perQty', showProp: "uom", }, + // { type: "rangeDateTime", label: "时间窗口", prop: "timeRange", startDate: "beginTime", endDate: "endTime", colSpan: 24 }, + { type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime", }, + { type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime", }, + { label: "ERP工序", prop: "erpOp", }, + { label: "制造工序", prop: "mfgOp", }, + { label: "层级", prop: "layer" }, + // { type: "input", label: "层级", valueType: Number, prop: "layer", }, + { type: "filter", label: "配送方式", prop: "distributionType", filters: "distributionType" }, + { type: "filter", label: "取整方式", prop: "truncType", filters: "truncType" }, + { type: "filter", label: "计划拆分规则", prop: "plannedSplitRule", filters: "plannedSplitRule" }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 客户 + */ + export const Customer = [ + { label: "客户代码", prop: "code", }, + { label: "客户名称", prop: 'name', }, + { label: "国家", prop: "country", }, + { label: "城市", prop: "city", }, + { label: "地址", prop: "address", }, + { label: "联系人", prop: "contacts", }, + { label: "电话", prop: "phone", }, + { label: "传真", prop: "fax", }, + { label: "邮编", prop: "postID", }, + { label: "货币", prop: "currency", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 客户物品 + */ + export const CustomerItem = [ + { label: "客户代码", prop: 'customerCode', }, + { label: "itemCode", prop: "itemCode", }, + { label: "客户物料代码", prop: "customerItemCode", }, + { label: "版本", prop: "version", }, + { type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime" }, + { type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime" }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 客户地址 + */ + export const CustomerAddress = [ + { label: "客户地址代码", prop: "code", }, + { label: "客户地址名称", prop: 'name', }, + { label: "客户代码", prop: 'customerCode', }, + { label: "库位编号", prop: 'locationCode', }, + { label: "城市", prop: "city", }, + { label: "地址", prop: "address", }, + { label: "联系人", prop: "contact", }, + { label: "描述", prop: "desc", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 项目 + */ + export const Project = [ + { label: "客户代码", prop: "customerCode"}, + { label: "项目代码", prop: "code"}, + { label: "项目名称", prop: 'name'}, + { type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime", colSpan: 12 }, + { type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime", colSpan: 12 }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 供应商 + */ + export const Supplier = [ + { label: "供应商代码", prop: "code"}, + { label: "供应商名称", prop: "name"}, + { type: "filter",label: "状态", prop: "isActive", filters: "openToCloseBit"}, + { type: "filter",label: "类型", prop: "type", filters: "supplierType"}, + { label: "国家", prop: "country"}, + { label: "城市", prop: "city"}, + { label: "地址", prop: "address"}, + { label: "联系人", prop: 'contacts'}, + { label: "电话", prop: 'phone'}, + { label: "传真", prop: 'fax'}, + { label: "邮编", prop: 'postID'}, + { label: "银行", prop: 'bank'}, + { label: "货币", prop: 'currency'}, + { label: "备注", prop: 'remark'}, + ] + +/** + * @returns {Array} 供应商物品 + */ + export const SupplierItem = [ + { label: "供应商代码", prop: 'supplierCode' }, + { 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" }, + { label: "备注", prop: 'remark' }, + ] + +/** + * @returns {Array} 供应商时间窗口 + */ + export const SupplierTime = [ + { label: "供应商代码", prop: 'supplierCode', }, + { label: "供应商名称", prop: 'supplierName', }, + { label: "时间窗口", prop: "timeSlot", }, + { label: "当前时间", prop: "week", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 分类 + */ + export const Category = [ + { label: "分类编号", prop: "code" }, + { label: "分类名称", prop: 'name' }, + { label: "描述", prop: "description" }, + { label: "备注", prop: 'remark' } + ] + +/** + * @returns {Array} 计量单位 + */ + export const Uom = [ + { label: "计量单位编号", prop: "code", }, + { label: "计量单位名称", prop: 'name', }, + { type: "filter", label: "类型", prop: "type", filters: "uomType", }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 收货口 + */ + export const Dock = [ + { label: "收货口编号", prop: "code" }, + { label: "默认库位编号", prop: "defaultLocationCode" }, + { label: "收货口名称", prop: 'name' }, + { label: "描述", prop: "description" }, + { label: "备注", prop: 'remark' } + ] + +/** + * @returns {Array} 区域 + */ + export const Area = [ + { label: "区域代码", prop: "code", }, + { label: "区域名称", prop: 'name', }, + { type: "filter", label: "是否功能区", prop: "isFunctional", filters: "whetherOrNot" }, + { type: "filter", label: "类型", prop: "areaType", filters: "areaType" }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 库位组 + */ + export const LocationGroup = [ + { label: "区域代码", prop: "areaCode", }, + { type: "filter", label: "类型", prop: "groupType", filters: "locationType", }, + { type: "filter", label: "状态", prop: "defaultInventoryStatus", filters: "inventoryStage", }, + { label: "拣料优先级", prop: "pickPriority", }, + { label: "编号", prop: "code", }, + { label: "名称", prop: 'name', }, + { label: "描述", prop: "description", }, + { label: "溢流库位组", prop: "overflowLocationGroup", }, + { type: "objectFilter", label: "是否混物品", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否保留零库存", prop: "locSwitch", showProp: "enableKeepZero", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否机会盘点", prop: "locSwitch", showProp: "enableOpportunityCount", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否领料", prop: "locSwitch", showProp: "enablePick", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否过量领料", prop: "locSwitch", showProp: "enableOverPick", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否整包存储", prop: "locSwitch", showProp: "enableWholeStore", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否散件存储", prop: "locSwitch", showProp: "enableBreakStore", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否发出", prop: "locSwitch", showProp: "enableShip", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否接收", prop: "locSwitch", showProp: "enableReceive", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否退货给供应商", prop: "locSwitch", showProp: "enableReturnToSupplier", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否接收客户退货", prop: "locSwitch", showProp: "enableReturnFromCustomer", filters: "whetherOrNot", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 工位组 + */ + export const WorkGroup = [ + { label: "工作组代码", prop: "code" }, + { label: "工作组名称", prop: 'name' }, + { label: "描述", prop: "description" }, + { label: "仓库代码", prop: "warehouseCode" }, + { label: "备注", prop: 'remark' } + ] +/** + * @returns {Array} 库位 + */ + export const Location = [ + { label: "库位代码", prop: "code", }, + { label: "库位名称", prop: "name", }, + { 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: "行号", prop: "rowCode", }, + { label: "列号", prop: "columnCode", }, + { type: "filter", label: "默认库存状态", prop: "defaultInventoryStatus", filters: "inventoryStage", }, + { label: "拣料优先级", prop: "pickPriority", }, + { label: "拣料顺序", prop: "pickOrder", }, + { label: "货架号", prop: "shelfCode", }, + { label: "ERP系统库位编号", prop: "erpLocationCode", }, + { type: "objectFilter", label: "是否混物品", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否保留零库存", prop: "locSwitch", showProp: "enableKeepZero", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否盘点", prop: "locSwitch", showProp: "enableOpportunityCount", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否领料", prop: "locSwitch", showProp: "enablePick", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否过量领料", prop: "locSwitch", showProp: "enableOverPick", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否整包存储", prop: "locSwitch", showProp: "enableWholeStore", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否散件存储", prop: "locSwitch", showProp: "enableBreakStore", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否发出", prop: "locSwitch", showProp: "enableShip", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否接收", prop: "locSwitch", showProp: "enableReceive", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否退货给供应商", prop: "locSwitch", showProp: "enableReturnToSupplier", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否接收客户退货", prop: "locSwitch", showProp: "enableReturnFromCustomer", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否拆箱", prop: "locSwitch", showProp: "enableSplitBox", filters: "whetherOrNot", }, + { type: "objectFilter", label: "是否拆托", prop: "locSwitch", showProp: "enableSplitPallet", filters: "whetherOrNot", }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] + + /** + * @returns {Array} ERP库位 + */ + export const ERPLocation = [ + { label: "ERP库位代码", 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", options: "itemBasic" }, + { type: "filter", label: "储存关系类型", prop: "storeRelationType", filters: "storeRelationType", }, + { type: "filter", label: "是否可用", prop: "enabled", filters: "whetherOrNot", }, + { type: "filter", label: "是否定制位置", prop: "isFixed", filters: "whetherOrNot", }, + { label: "主存储容量", prop: "umQty", }, + { label: "主存储单位", prop: "storeUM", }, + { label: "次要存储容量", prop: "altUmQty", }, + { label: "次要存储单位", prop: "altUm", }, + { type: "filter", label: "存储单位", prop: "pramaryUM", filters: "pramaryUm" }, + { label: "值", prop: "storeValue", }, + { label: "备注", prop: 'remark', }, + ] + +/** + * @returns {Array} 库位可用容量 + */ + export const InventoryLocationCapacity = [ + { 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", }, + { 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", + 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 Workshop = [ + { label: "车间代码", prop: "code" }, + { label: "车间名称", prop: 'name' }, + { label: "描述", prop: "description" }, + { label: "备注", prop: 'remark' }, + ] + +/** + * @returns {Array} 生产线 + */ + export const ProductionLine = [ + { label: "生产线代码", prop: "code" }, + { label: "生产线名称", prop: 'name' }, + { label: "类型", prop: "type" }, + { label: "车间代码", prop: "workshopCode" }, + { label: "成品库位", prop: "productLocation" }, + { label: "描述", prop: "description" }, + { label: "备注", prop: 'remark' } + ] +/** + * @returns {Array} 生产线零件关系 + */ + export const ProdLineItem = [ + { label: "物料代码", prop: "itemCode", }, + { label: "生产线编号", prop: "prodLineCode", }, + { label: "生产线名称", prop: "prodLineName", }, + { label: "车间代码", prop: "workshopCode", }, + { label: "原料库位", prop: "rawLocation" }, + { label: "成品ERP库位", prop: "productErpLocationCode" }, + { label: "备注", prop: "remark", }, + ] +/** + * @returns {Array} 班组 + */ + export const Team = [ + { label: "班组代码", prop: "code" }, + { label: "班组名称", prop: 'name' }, + { label: "成员", prop: "members" }, + { label: "描述", prop: "description" }, + { label: "备注", prop: 'remark' }, + ] +/** + * @returns {Array} 班次 + */ + export const Shift = [ + { type: "input", label: "班次代码", prop: "code", }, + { type: "input", label: "班次名称", prop: "name", }, + { type: "filter", label: "结束到下一天", prop: "endAtNextDay", filters: "whetherOrNot", }, + { label: "描述", prop: "description", }, + { type: "objectDateTime", label: "开始时间", prop: "timeRange", showProp: "beginTime", }, + { type: "objectDateTime", label: "结束时间", prop: "timeRange", showProp: "endTime", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 日历 + */ + export const Calendar = [ + { label: "模块", prop: "module", }, + { type: "filter", label: "状态", prop: "status", filters: "calendarStatus" }, + { label: "编号", prop: "code", }, + { label: "名称", prop: 'name', }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 配置 + */ + export const Configuration = [ + { label: "键", prop: "key", }, + { label: "值", prop: "value", }, + { label: "描述", prop: "description", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 采购订单 + */ + export const PurchaseOrder = [ + { label: "采购订单号", prop: 'number' }, + { 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", }, + { label: "客户代码", prop: "customerCode", }, + // { label: "父物料号", prop: "product", }, + // { label: "子物料号", prop: 'component', }, + { label: "版本", prop: "version", }, + { label: "工序", prop: "op", }, + { label: "层级", prop: "layer", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 供应商发货通知 + */ + export const SupplierAsn = [ + { label: "要货计划单号", prop: "rpNumber" }, + { label: "供应商代码", prop: "supplierCode" }, + { label: "状态", prop: "status", type: "filter", filters: "supplierStatus" }, + { type: "object", label: "客户名称", prop: 'contacts',showProp: 'name' }, + { label: "车牌号", prop: "truckNumber" }, + { label: "仓库代码", prop: "warehouseCode" }, + { label: "收货口代码", prop: "dockCode" }, + { label: "发货日期", prop: 'shipDate', type:'dateTime' }, + { label: "到货日期", prop: 'dueDate', type:'dateTime' }, + { label: "时间窗口", prop: 'timeWindow' }, + { label: "公司", prop: 'company' }, + { label: "创建时间", prop: 'creationTime', type:'dateTime' }, + ] +/** + * @returns {Array} 客户发货通知 + */ + export const CustomerAsn = [ + { label: "编号", prop: "id", }, + { label: "父物料号", prop: "product", }, + { label: "子物料号", prop: 'component', }, + { label: "版本", prop: "version", }, + { label: "工序", prop: "op", }, + { label: "层级", prop: "layer", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 到货通知 + */ + export const ArriveNotice = [ + { label: "仓库", prop: "warehouseCode" }, + { label: "收货口", prop: "dockCode" }, + { label: "到货单号", prop: "number" }, + { type: "dateTime", label: "到货时间", prop: "arriveTime" }, + { label: "发货单号", prop: "asnNumber" }, + { label: "要货计划单号", prop: "rpNumber" }, + { label: "订单号", prop: "poNumber" }, + { label: "供应商编号", prop: "supplierCode" }, + { label: "状态", type: "filter", filters: "arriveNoticeStatus", prop: "status", }, + { type: "dateTime", label: "创建时间", prop: "creationTime" }, + { label: "备注", prop: "remark" }, + ] + /** + * @returns {Array} 采购收货记录 + */ + export const PurchaseReceiptNote = [ + { label: "编号", prop: "id", }, + { label: "供应商单号", prop: "supplierCode", }, + { label: "到货单号", prop: 'arriveNoticeNumber', }, + { label: "发货单号", prop: "asnNumber", }, + { label: "收货单号", prop: "number", }, + { label: "要货计划单号", prop: "rpNumber", }, + { type: "dateTime", label: "收货时间", prop: "receiveTime", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 收货异常记录 + */ + export const ReceiptAbnormalNote = [ + { label: "收货单号", prop: 'receiptNumber', }, + { label: "发货单号", prop: "asnNumber", }, + { label: "供应商编号", prop: 'supplierCode', }, + { label: "箱标签", prop: 'packingCode', }, + { label: "托标签", prop: 'containerCode',}, + { label: "异常类型", prop: 'abnormalType', }, + { label: "itemCode", prop: 'itemCode',}, + { label: "批次编号", prop: 'batchCode',}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 采购退货记录 + */ + export const PurchaseReturnNote = [ + { label: "退货单号", prop: "number", }, + { label: "供应商单号", prop: "supplierCode", }, + // { label: "到货单号", prop: 'arriveNumber', }, + // { label: "发货单号", prop: "asnNumber", }, + // { label: "收货单号", prop: "receiptNumber", }, + // { label: "要货计划单号", prop: "rpNumber", }, + // { label: "收货时间", prop: "receiveTime", }, + { type: "dateTime", label: "退货时间", prop: "returnTime", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 上架记录 + */ + export const PutawayNote = [ + { label: "编号", prop: "id", }, + { label: "上架记录单号", prop: "number", }, + { 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: "id", }, + { label: "要料申请单号", prop: "number", }, + { label: "车间", prop: "workshop", }, + { label: "任务状态", type: "filter", filters: "requestStatus", prop: "status", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 发料记录 + */ + export const IssueNote = [ + { label: "编号", prop: "id", }, + { label: "发料记录单号", prop: "number", }, + { label: "任务ID", prop: 'jobNumber',}, + { label: "操作员", prop: 'worker',}, + { label: "车间", prop: 'workshop',}, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: "remark", }, +] + /** + * @returns {Array} 计划外入库记录 + */ + export const UnplannedReceiptNote = [ + { type: "input", label: "编号", prop: "id" }, + // { label: "计划外入库单号", prop: "unplannedReceiptNumber", }, + { label: "流水单号", prop: "seqNo" }, + // { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 计划外出库记录 + */ + export const UnplannedIssueNote = [ + { type: "input", label: "编号", prop: "id" }, + // { label: "计划外出库单号", prop: "unplannedIssueNumber", }, + { label: "流水单号", prop: "seqNo" }, + // { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 隔离记录 + */ + export const IsolationNote = [ + { label: "编号", prop: "id", }, + { label: "隔离记录单号", prop: "number", }, + { label: "任务ID", prop: "jobNumber",}, + { label: "操作员", prop: "worker",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 工单号维护 + */ + export const WorkOrder = [ + { label: "工单号", prop: "workNumberValue" }, + { 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: "id", }, + { label: "报废记录单号", prop: "number",}, + // { label: "部门", prop: 'department' }, + { label: "工单号", prop: 'workOrder' }, + // { label: "流水号", prop: 'seqNo' }, + { label: "操作员", prop: "worker",}, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发货计划 + */ + export const DeliverPlan = [ + { label: "编号", prop: "id", }, + { label: "客户", prop: "customer", }, + // { label: "项目", prop: "project", }, + // { label: "销售订单号", prop: "soNumber", }, + { type: "dateTime", label: "计划日期", prop: "planDate", }, + { type: "dateTime", label: "计划时间", prop: "planTime", }, + { label: "发货计划单号", prop: "number", }, + { 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" }, + // { label: "承运商参考", prop: "carrierShipmentRef" }, + { label: "车辆", prop: "vehicleID" }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发货申请 + */ + export const DeliverRequest = [ + { label: "编号", prop: "id", }, + { label: "发货申请单号", prop: "number", }, + { label: "客户", prop: "customer", }, + { label: "任务状态", type: "filter", filters: "requestStatus", prop: "status", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发货记录 + */ +export const DeliverNote = [ + { label: "编号", prop: "id", }, + { label: "发货记录单号", prop: "number", }, + { 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: "ID", prop: "id", }, + { label: "调拨发货单号", prop: "number", }, + { label: "操作员", prop: "worker", }, + { label: "任务ID", prop: "jobNumber", }, + { label: "供应商编号", prop: "supplierCode", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发货任务(天津) + */ + export const Shipments = [ + { label: "发货任务编号", prop: "number", }, + { label: "器具类型", prop: "position", filters: "InstrumentsLXStatus" , type: "filter" }, + { label: "器具数量", prop: 'containerQty', }, + { label: "操作员", prop: 'worker',}, + { label: "客户", prop: 'customer',}, + { label: "客户地址", prop: 'customerAddressCode',}, + { label: "项目", prop: "projectCode", }, + { label: "计划时间", prop: "planTime", }, + { label: "备注", prop: "remark", }, +] + +/** + * @returns {Array} 器具查询(天津) + */ + export const Instruments = [ + {label: "器具编号",prop: "containerCode"}, + { 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: "ID", prop: "id", }, + { label: "收货记录单号", prop: "number"}, + { label: "生产线编码", prop: "prodLine" }, + { label: "成品库位编码", prop: "locationCode" }, + { label: "原料库位编码", prop: "rawLocation" }, + { label: "收货时间", prop: "completeTime", type: "dateTime" }, + { label: "操作员", prop: "worker" }, +] + +/** + * @returns {Array} 发货记录(天津) + */ + export const DeliveryRecord = [ + { label: "ID", prop: "id", }, + { label: "发货记录单号", prop: "number"}, + { label: "任务编号", prop: "jobNumber" }, + { label: "操作员", prop: "worker" }, + { label: "客户", prop: "customer" }, + { label: "客户地址", prop: "customerAddressCode"}, + { label: "项目", prop: "projectCode" }, + { label: "发货日期", prop: "deliverTime", type: "dateTime" }, + { 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 CountPlan = [ + { label: "盘点计划单号", prop: "number", }, + // { type: "filter", filters: "checkType", label: "类型", prop: "type", }, + // { type: "filter", filters: "checkStage", label: "阶段", prop: "stage", }, + { type: "filter", filters: "CheckPlanStatus", label: "状态", prop: "status", }, + { label: "描述", prop: "descrpiton", }, + { type: "dateTime", label: "开始时间", prop: "beginTime", }, + { type: "dateTime", label: "结束时间", prop: "endTime", }, + { label: "地点", prop: "company", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 调整库存 + */ + export const CountPlanAdjust = [ + { label: "盘点报告单号", prop: "number", }, + { label: "盘点计划单号", prop: "countPlanNumber", }, + { type: "filter", filters: "CheckPlanStatus", label: "状态", prop: "status", }, + // { type: "filter", filters: "stageType", label: "阶段", prop: "stage", }, + { type: "dateTime", label: "开始时间", prop: "beginTime", }, + { type: "dateTime", label: "结束时间", prop: "endTime", }, + +] + +/** + * @returns {Array} 盘点记录 + */ + export const CountNote = [ + { label: "盘点报告单号", prop: "number", }, + { type: "input", label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 盘点差异调整记录 + */ + export const CountAdjustNote = [ + { label: "盘点差异调整记录单号", prop: "number", }, + { label: "盘点记录单号", prop: 'countNoteNumber', }, + { label: "盘点计划单号", prop: 'countPlanNumber', }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: "remark", }, +] + +/** + * @returns {Array} 库存余额 + */ + export const InventoryBalance = [ + { label: "itemCode", prop: 'itemCode' }, + { 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: "locationCode" }, + { type: "filter", label: "库存状态", prop: "status", filters: "inventoryStage" }, + { 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", }, + { type: "filter", label: "是否可用", prop: "isActive", filters: "whetherOrNot", }, +] + +/** +* @returns {Array} ERP库存余额 +*/ +export const ERPInventoryBalance = [ + { label: "itemCode", prop: "itemCode" }, + { 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" }, + { 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: "object", label: "计量单位", prop: "qty", showProp: "uom" }, + { type: "filter", filters: "inventoryStage", label: "库存状态", prop: "inventoryStatus" }, + { label: "仓库代码", prop: "warehouseCode" }, + { type: "dateTime", label: "事务日期", prop: "transTime" }, + { type: "dateTime", label: "生效日期", prop: "activeDate" }, + { label: "操作员", prop: "worker" }, + { label: "任务编号", prop: "jobNumber" }, + { label: "单据编号", prop: "docNumber" }, + { type: "dateTime", label: "上次修改时间", prop: "lastModificationTime" }, + { label: "库位代码", prop: "locationCode" }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate" }, + { label: "管理类型", prop: "manageType" } +] + +/** + * @returns {Array} 库存快照 + */ + export const InventorySnapshot = [ + { label: "父物料号", prop: "product", }, + { label: "子物料号", prop: 'component',}, + { label: "版本", prop: "version", }, + { label: "工序", prop: "op", }, + { label: "层级", prop: "layer", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 库存转移日志 + */ + export const InventoryTransferLog = [ + { label: "库存转移编号", prop: "transferNumber", }, + { 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: "formTransNumber", }, + { 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", }, + { label: "批次", prop: 'lot', }, + { type: "object", label: "从批次", prop: "fromBatch", showProp: "supplierBatch", }, + { type: "object", label: "到批次", prop: "toBatch", showProp: "supplierBatch", }, + { label: "备注", prop: 'remark', }, + { type: "dateTime", label: "事务时间", prop: "transferTime", }, + { type: "dateTime", label: "生效日期", prop: "activeDate", }, +] + +/** + * @returns {Array} 库存转移记录 + */ +export const InventoryTransferNote = [ + { + label: "库存转移编号", prop: "number" }, + { type: "dateTime", label: "创建时间", prop: "creationTime" }, + { label: "操作员", prop: "worker" }, + { label: "备注", prop: 'remark' }, +] + +/** + * @returns {Array} 转合格 + */ +export const InventoryTransferLogHegeZBuHeGe = [ + { label: "库存转移编号", prop: "transferNumber", }, + { 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: "formTransNumber", }, + { 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", }, + { label: "批次", prop: 'lot', }, + { type: "object", label: "从批次", prop: "fromBatch", showProp: "supplierBatch", }, + { type: "object", label: "到批次", prop: "toBatch", showProp: "supplierBatch", }, + { label: "备注", prop: 'remark', }, + { type: "dateTime", label: "事务时间", prop: "transferTime", }, + { type: "dateTime", label: "生效日期", prop: "activeDate", }, +] + +/** + * @returns {Array} 已占用库存 + */ + export const InventoryOccupied = [ + { 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", }, + { 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", }, + { 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", }, + { label: "生产线", prop: "prodLine", }, + { label: "车间", prop: "workshop", }, + { label: "班组", prop: "team", }, + { label: "班次", prop: "shift", }, + { type: "filter", filters: "ProductionPlanStatus", label: "状态", prop: "status", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { type: "dateTime", label: "计划日期", prop: "planDate", }, +] + +/** + * @returns {Array} 备料计划 + */ + export const PreparationPlan = [ + { 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: "planTime", }, +] + +/** + * @returns {Array} 退料 + */ + export const MaterialReturn = [ + { label: "库存转移编号", prop: "transferNumber", }, + { 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: "formTransNumber", }, + { 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", }, + { label: "批次", prop: 'lot', }, + { type: "object", label: "从批次", prop: "fromBatch", showProp: "supplierBatch", }, + { type: "object", label: "到批次", prop: "toBatch", showProp: "supplierBatch", }, + { label: "备注", prop: 'remark', }, + { type: "dateTime", label: "事务时间", prop: "transferTime", }, + { type: "dateTime", label: "生效日期", prop: "activeDate", }, +] + +/** + * @returns {Array} 完工收货记录 + */ + export const ProductReceiptNote = [ + { label: "完工收货记录单号", prop: "number", }, + { label: "生产计划单号", prop: 'productionPlanNumber', }, + { type: "dateTime", label: "完工时间", prop: 'completeTime', }, + { label: "车间", prop: 'workShop', }, + { label: "操作员", prop: 'worker',}, + { label: "公司", prop: "company", }, +] + +/** + * @returns {Array} 下线结算记录 + */ + export const OfflineSettlementNote = [ + // { label: "编号", prop: "id", }, + { label: "下线结算记录单号", prop: "number", }, + { label: "业务单号", prop: 'productReceiptNumber', }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: "remark", }, +] + +/** + * @returns {Array} 追溯记录 + */ + export const TracebackNote = [ + // { label: "编号", prop: "id", }, + { label: "追溯单号", prop: "number" }, + { 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" }, + { type: "object", label: "单位", prop: "qty", showProp: "uom" }, + { label: "批次", prop: "lot" }, + + { label: "车间", prop: "workshop", }, + { label: "生产线", prop: "prodLine", }, + { label: "班次", prop: "shift", }, + { label: "库位编号", prop: "locationCode" }, + // { type: "dateTime", label: "库位编号", prop: "completeTime" }, + // { type: "object", label: "产品批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 成品回收记录 + */ + export const ProductRecycleNote = [ + { label: "成品回收单号", prop: "number", }, + { type: "dateTime", label: "回收时间", prop: 'recycleTime', }, + { label: "车间", prop: 'workshop', }, + { label: "班次", prop: 'shift', }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: "remark", }, +] + +/** + * @returns {Array} 退库记录 + */ + export const StockReturnNote = [ + { label: "退库记录单号", prop: "number", }, + { 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: "id", }, + { label: "退货记录单号", prop: "number", }, + { 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", + }, + { label: "物料代码", prop: 'itemCode' }, + // { label: "部门", prop: 'department' }, + // { label: "工单号", prop: 'workOrder' }, + // { label: "流水号", prop: 'seqNo' }, + { label: "目标物料代码", prop: 'toItemCode' }, + { label: "目标物料名称", prop: 'toItemName' }, + { label: "目标物料描述1", prop: 'toItemDesc1' }, + { label: "目标物料描述2", prop: 'toItemDesc2' }, + { label: "目标数量", prop: 'toQtyQty' }, + { label: "目标单位", prop: 'toQtyUom' }, + { label: "目标库位", prop: 'toLocationCode' }, + { label: "目标批次", prop: 'toLot' }, + { label: "生产线", prop: 'prodLine' }, + { label: "库位", prop: 'locationCode' }, + { label: "仓库", prop: 'warehouseCode' }, + { label: "操作员", prop: 'worker' }, + { type: "dateTime", label: "创建时间", prop: "creationTime",}, + { label: "备注", prop: "remark",}, +] + +/** + * @returns {Array} 报检单 + */ + export const InspectNotice = [ + { label: "检验单号", prop: "number", }, + { label: "操作员", prop: "worker", }, + { label: "收货单号", prop: "receiptNumber", }, + { label: "到货单号", prop: "arriveNoticeNumber", }, + { label: "发货单号", prop: "asnNumber", }, + { label: "要货计划单号", prop: "rpNumber", }, + { label: "订单号", prop: "poNumber", }, + { label: "供应商编号", prop: "supplierCode", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 检验记录 + */ + export const InspectNote = [ + { label: "检验单号", prop: "number", }, + { 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: "id", }, + { label: "质量异常记录单号", prop: "number", }, + { label: "操作员", prop: "worker", }, + { label: "检验单号", prop: 'inspectNumber', }, + { label: "收货单号", prop: 'receiptNumber', }, + { label: "供应商编号", prop: 'supplierCode', }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: "remark", }, +] + +/** + * @returns {Array} 采购收货任务 + */ + export const PurchaseReceiptJob = [ + { label: "收货任务编号", prop: "number", }, + { 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: "acceptUserName", }, + // { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + // { label: "完成者用户名", prop: "completeUserName", }, + // { type: "dateTime", label: "完成时间", prop: "completeTime", }, + // { label: "到货单号", prop: "arriveNoticeNumber", }, + // { label: "要货计划单号", prop: "rpNumber", }, + // { label: "订单号", prop: "poNumber", }, + // { label: "供应商编号", prop: "supplierCode" }, + // { label: "供应商名称", prop: "supplierName" }, + // { label: "时间窗口", prop: "timeWindow" }, + // { label: "上游任务编号", prop: "upStreamJobNumber",}, + // { label: "工作组", prop: "workGroupCode",}, + // { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + // { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + // { type: "dateTime", label: "创建时间", prop: "creationTime", }, + // { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 采购退货任务 + */ + export const PurchaseReturnJob = [ + { label: "任务编号", prop: "number", }, + { label: "承接者用户名", prop: "acceptUserName", }, + { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + { label: "完成者用户名", prop: "completeUserName", }, + { type: "dateTime", label: "完成时间", prop: "completeTime", }, + { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + { label: "到货单号", prop: "arriveNoticeNumber", }, + { label: "收货单号", prop: "purchaseReceiptNumber", }, + { label: "发货单号", prop: "asnNumber", }, + { label: "订单号", prop: "poNumber", }, + { label: "供应商编码", prop: "supplierCode", }, + { label: "工作组", prop: 'workGroupCode', }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 上架任务 + */ + export const PutawayJob = [ + { label: "任务编号", prop: "number", }, + { 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: "acceptUserName", }, + // { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + // { label: "完成者用户名", prop: "completeUserName", }, + // { type: "dateTime", label: "完成时间", prop: "completeTime", }, + // { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + // { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + // { type: "dateTime", label: "创建时间", prop: "creationTime", }, + // { label: "到货单号", prop: "arriveNoticeNumber", }, + // { label: "收货单号", prop: "receiptNumber", }, + // { label: "发货单号", prop: "asnNumber", }, + // { label: "完工收货单号", prop: "productReceiptNumber", }, + // { label: "要货计划单号", prop: "rpNumber", }, + // { label: "备注", prop: 'remark', }, +] + + +/** + * @returns {Array} 检验任务 + */ + export const InspectJob = [ + { label: "任务编号", prop: "number", }, + { 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: "承接者用户名", prop: "acceptUserName", }, + // { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + // { label: "完成者用户名", prop: "completeUserName", }, + // { type: "dateTime", label: "完成时间", prop: "completeTime", }, + // { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + // { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + // { type: "dateTime", label: "创建时间", prop: "creationTime", }, + // { label: "到货单号", prop: "arriveNoticeNumber", }, + // { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发料任务 + */ + export const IssueJob = [ + { label: "任务编号", prop: "number", }, + { 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", }, + + // { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + // { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + // { label: "承接者用户名", prop: "acceptUserName", }, + // { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + // { label: "完成者用户名", prop: "completeUserName", }, + // { type: "dateTime", label: "完成时间", prop: "completeTime", }, + // { label: "工作组", prop: "workGroupCode", }, + // { label: "生产线", prop: "prodLine", }, + // { label: "车间", prop: "workshop", }, + // { label: "要货单号", prop: "materialRequestNumber", }, + // { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 完工收货任务 + */ + export const ProductReceiveJob = [ + { label: "任务编号", prop: "number", }, + { label: "承接者用户名", prop: "acceptUserName", }, + { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + { label: "完成者用户名", prop: "completeUserName", }, + { type: "dateTime", label: "完成时间", prop: "completeTime", }, + { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + { label: "任务状态", type: "filter", filters: "taskStatus", prop: "jobStatus", }, + { type: "dateTime", label: "创建时间", prop: "creationTime", }, + { label: "生产计划单号", prop: "productionPlanNumber", }, + { label: "车间", prop: "workshop", }, + { label: "班次", prop: "shift", }, + { label: "工作组", prop: "workGroupCode", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 发货任务 + */ + export const DeliverJob = [ + { label: "任务编号", prop: "number", }, + { label: "发货计划单号", prop: "deliverPlanNumber" }, + { type: "dateTime", label: "发货计划时间", prop: "deliverPlanTime" }, + { label: "承接者用户名", prop: "acceptUserName", }, + { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + { label: "完成者用户名", prop: "completeUserName", }, + { type: "dateTime", label: "完成时间", prop: "completeTime", }, + { type: "filter", filters: "taskStatus", label: "任务状态", prop: "jobStatus", }, + { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + { label: "发货请求单号", prop: "deliverRequestNumber", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 校验任务 + */ + export const CheckJob = [ + { label: "任务编号", prop: "number", }, + { label: "承接者用户名", prop: "acceptUserName", }, + { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + { label: "完成者用户名", prop: "completeUserName", }, + { type: "dateTime", label: "完成时间", prop: "completeTime", }, + { type: "filter", filters: "taskStatus", label: "任务状态", prop: "jobStatus", }, + { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + { label: "到货单号", prop: "arriveNoticeNumber", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 盘点任务 + */ + export const CountJob = [ + { label: "任务编号", prop: "number", }, + { label: "承接者用户名", prop: "acceptUserName", }, + { type: "dateTime", label: "承接者时间", prop: "acceptTime", }, + { label: "完成者用户名", prop: "completeUserName", }, + { type: "dateTime", label: "完成时间", prop: "completeTime", }, + { type: "filter", filters: "taskStatus", label: "任务状态", prop: "jobStatus", }, + { type: "filter", filters: "taskType", label: "任务类型", prop: "jobType", }, + // { type: "filter", filters: "checkStage", label: "阶段", prop: "countStage", }, + { type: "dateTime", label: "承接时间", prop: "acceptTime", }, + { label: "到货单号", prop: "arriveNoticeNumber", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 消息管理-消息类型 + */ + export const MessageType = [ + { label: "消息类别代码", prop: "messageTypeCode" }, + { 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" }, + { label: "供应商名称", prop: "supplierName" }, + { label: "扣分总数", prop: 'summaryOfScores' }, + { label: "扣分次数", prop: 'countOfScores' }, + { label: "送货总数", prop: 'countOfAsn' }, + { label: "出错率", prop: 'errorRate' }, +] + +/** + * @returns {Array} JIS信息查询 + */ + export const JISMessageQuery = [ + { + label: "单据号", + prop: "number", + fixed: "left", + }, + { 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" }, + { label: "发货单号", prop: "deliverNumber" }, + { label: "仓库", prop: 'warehouseCode' }, + { label: "操作员", prop: 'worker' }, + { label: "创建时间", prop: 'creationTime', type:'dateTime' }, +] + +/** + * @returns {Array} 发货记录 + */ +export const OuterPillarDeliverNote = [ + { label: "单据号", prop: "number" }, + { label: "发货单号", prop: "deliverNumber" }, + { label: "仓库", prop: 'warehouseCode' }, + { label: "操作员", prop: 'worker' }, + { label: "创建时间", prop: 'creationTime', type:'dateTime' }, +] + +/** + * @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", 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", showProp: true }, + { label: "lastUpdateTime", prop: "lastUpdateTime", showProp: true }, + { label: "errorCount", prop: "errorCount", showProp: true }, + { label: "operateType", prop: "operateType", showProp: true }, + { label: "报文内容JSON", prop: "messageContent", showProp: true }, + { label: "errorMessage", prop: "errorMessage", showProp: true }, +] + +/** + * @returns {Array} Part接口日志 + */ + export const PartAppService = [ + { + label: "跟踪编号", + prop: "traceId", + }, + { label: "公司", prop: "company" }, + { label: "工厂", prop: 'site' }, + { label: "物料号", prop: 'code' }, + { label: "物流名称", prop: 'name' }, + { label: "描述1", prop: 'desc1' }, + { label: "描述2", prop: 'desc2' }, + { label: "物料状态", prop: 'status' }, + { label: "允许制造", prop: 'canMake' }, + { label: "允许采购", prop: 'canBuy' }, + { label: "计量单位", prop: 'um' }, + { label: "ABC类", prop: 'abcClass' }, + { label: "产品类", prop: 'prodKind' }, + { label: "零件类型", prop: 'partType' }, + { label: "零件种类", prop: 'partCatalog' }, + { label: "零件分组", prop: 'partGroup' }, + { label: "虚零件", prop: 'isPhantom' }, + { label: "颜色", prop: 'color' }, + { label: "配置", prop: 'config' }, + { label: "项目", prop: 'project' }, + { label: "版本", prop: 'version' }, + { label: "工程变更通知单", prop: 'eco' }, + { label: "标包计量单位", prop: 'stdPackUm' }, + { label: "标包数量", prop: 'stdPackQty' }, + { label: "替代计量单位", prop: 'extPackUm' }, + { label: "替代包装数量", prop: 'extPackQty' }, + { label: "备注", prop: 'remark' }, +] + +/** + * @returns {Array} WMS&QAD接口日志 + */ + export const OutgoingDataAppService = [ + { + label: "id", + prop: "id", + }, + { label: "创建时间", prop: "creationTime", type:'dateTime', 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: "错误信息", prop: "errorMessage", showProp: true }, + { label: "数据内容", prop: "dataContent", showProp: true }, +] + +/** + * @returns {Array} WMS&QAD接口历史日志 + */ + export const OutgoingDataHistoryAppService = [ + { + label: "id", + prop: "id", + }, + { 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 }, + { type: "filter", label: "状态", prop: "status", filters: "OutgoingDataHistoryAppStatus" }, + { type: "filter", label: "是否错误", prop: "errorCode", filters: "errorCodeStatus" }, + { label: "错误代码", prop: "errorCode", showProp: true }, + { label: "来源系统", prop: "source", showProp: true }, + { label: "写入时间", prop: "writeTime", type:'dateTime', showProp: true }, + { label: "写入者", prop: "writer", showProp: true }, + { label: "错误信息", prop: "errorMessage", showProp: true }, + { label: "数据内容", prop: "dataContent", showProp: true }, +] + +/** + * @returns {Array} Bom接口日志 + */ + export const BomAppService = [ + { + label: "id", + prop: "id", + }, + { 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} 单块门板-发货记录 + */ +export const SingleDoorPanelDeliverNote = [ + { label: "发货记录单号", prop: "number", }, + { 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", }, + { 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" }, + { 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 SingleDoorPanelProductTransferNote = [ + { label: "转移发货单号", prop: "number", }, + { 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 SingleDoorPanelCustomerReturnNote = [ + { label: "客户退货单号", prop: "number" }, + { 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 PillarDeliverNote = [ + { label: "ID", prop: "id", }, + { label: "调拨发货单号", prop: "number", }, + { 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" }, + { 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: "流水号", prop: "lsh" }, + { label: "客户物料号", prop: "customerItemCode" }, +] \ No newline at end of file diff --git a/src/utils/disposition/tableColumns.ts b/src/utils/disposition/tableColumns.ts new file mode 100644 index 000000000..0de764777 --- /dev/null +++ b/src/utils/disposition/tableColumns.ts @@ -0,0 +1,2403 @@ +/** + * @returns {Array} 基础物料信息 + */ +export const ItemBasic = [{ + label: "物料代码", + prop: "code", + fixed: "left", + type: "name", +}, +{ label: "物料名称", prop: "name", }, +{ type: "filter", label: "状态", prop: "status", filters: "itemStatus", }, +{ label: "有效值", prop: "validity", }, +{ label: "项目", prop: "project", }, +{ type: "filter", label: "有效期", prop: "validityUnit", filters: "validityUnit", }, +{ type: "filter", label: "ABC类", prop: 'abcClass', filters: "abcClass", }, +{ type: "filter", label: "制造件", prop: 'canMake', filters: "whetherOrNot", }, +{ type: "filter", label: "采购件", prop: 'canBuy', filters: "whetherOrNot", }, +{ label: "产品类", prop: 'productLine', }, +{ label: "E-LEVEL等级", prop: 'elevel', }, +{ type: "filter", label: "是否虚拟物料", prop: "isPhantom", filters: "whetherOrNot" }, +{ type: "filter", label: "是否是下线结算件", prop: "isOfflineSettlement", filters: "whetherOrNot" }, +{ label: "特性", prop: 'characteristic' }, +{ label: "管理类型", prop: 'remark' }, +] +/** + * @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" }, +] diff --git a/src/utils/disposition/tableDetailsColumns.ts b/src/utils/disposition/tableDetailsColumns.ts new file mode 100644 index 000000000..f42b294db --- /dev/null +++ b/src/utils/disposition/tableDetailsColumns.ts @@ -0,0 +1,1431 @@ +/** + * @returns {Array} 采购订单 + */ + export const PurchaseOrder = [ + { 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: "number", }, + { label: "订单行", prop: "poLine", }, + { 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", }, + { label: "转换率", prop: 'convertRate', }, + { type: "filter", label: "是否寄存订单", prop: "isConsignment", filters: "whetherOrNot" }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 销售订单 + */ + export const SaleOrder = [ + { label: "销售订单号", prop: "number", fixed: "left",}, + { label: "订单行", prop: "soLine", }, + { label: "itemCode", prop: "itemCode", }, + { 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: 'remark', }, + ] +/** + * @returns {Array} 供应商发货通知 + */ + export const SupplierAsn = [ + { label: "订单号", prop: "poNumber", fixed: "left", width: "200px" }, + { label: "订单行", prop: "poLine", width: "200px" }, + { label: "箱标签", prop: "packingCode", width: "200px" }, + { label: "itemCode", prop: "itemCode", width: "200px" }, + { type: "object", label: "物品名称", prop: "item", showProp: "name", width: "200px" }, + { type: "object", label: "物品描述1", prop: "item", showProp: "desc1", width: "200px" }, + { type: "object", label: "物品描述2", prop: "item", showProp: "desc2", width: "200px" }, + // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", width: "200px" }, + { type: "object", label: "发货数量", prop: "qty", showProp: "qty", width: "200px" }, + { type: "object", label: "计量单位", prop: "qty", showProp: "uom", width: "200px" }, + { label: "托标签", prop: "containerCode", width: "200px" }, + { label: "批次", prop: "lot", width: "200px" }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", width: "200px" }, + { label: "E-LEVEL等级", prop: "itemEqLevel", width: "200px" }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", width: "200px" }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", width: "200px" }, + { type: "object", label: "标包计量单位", prop: "stdPack", showProp: "packUom", width: "200px" }, + ] +/** + * @returns {Array} 客户发货通知 + */ + export const CustomerAsn = [ + { label: "订单号", prop: "poNumber", fixed: "left", }, + { label: "订单行", prop: "poLine", }, + { label: "箱标签", prop: "packingCode", }, + { label: "itemCode", prop: "itemCode", }, + { type: "object", 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: "qty", showProp: "qty", }, + { type: "object", label: "计量单位", prop: "qty", showProp: "uom", }, + { label: "托标签", prop: "containerCode", }, + { label: "批次", prop: "lot", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "object", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "标包计量单位", prop: "stdPack", showProp: "packUom", }, + ] +/** + * @returns {Array} 到货通知 + */ + export const ArriveNotice = [ + { label: "itemCode", prop: "itemCode",fixed:"left", }, + { type: "object", label: "物品名称", prop: "item", showProp: "name", }, + { type: "object", valueType: Number, label: "到货数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "每托数量", prop: "qtyPerPallet", }, + { type: "object", label: "计量单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "物品描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物品描述2", prop: "item", showProp: "desc2", }, + { label: "批次", prop: "lot", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { label: "订单号", prop: "poNumber", }, + { label: "订单行", prop: "poLine", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 采购收货记录 + */ + export const PurchaseReceiptNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, + { 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: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { label: "E-LEVEL等级", prop: "labelEqLevel" }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 收购异常记录 + */ + export const ReceiptAbnormalNote = [ + { label: "itemCode", prop: "itemCode", fixed: "left", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "收货数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 采购退货记录 + */ + export const PurchaseReturnNote = [ + { 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: "packingCode"}, + { label: "退货库位", prop: "locationCode"}, + { label: "发货单号", prop: "asnNumber" }, + { type: "object", label: "退货数量", prop: "qty", showProp: "qty", }, + { label: "批次", prop: "lot" }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + // { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + // { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 上架记录 + */ + export const PutawayNote = [ + { label: "itemCode", prop: "itemCode", fixed: "left", }, + { label: "箱标签", prop: "toPackingCode", }, + { type: "object", valueType: Number, label: "上架数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "备料单位", prop: "qty", showProp: "uom", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源库位", prop: "fromLocationCode", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 要料申请 + */ + export const MaterialRequest = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + { type: "object", valueType: Number, 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: "packQty", }, + { label: "请求库位", prop: "requestLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { type: "dateTime", label: "过期日期", prop: "expiredTime", }, + { 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: 'remark', }, + ] +/** + * @returns {Array} 发料记录 + */ + export const IssueNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "发料数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "发料单位", prop: "qty", showProp: "uom", }, + { label: "请求库位", prop: "fromRequestLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源库位", prop: "fromLocationCode", }, + { type: "dateTime", label: "发料时间", prop: "issueTime", }, + { type: "dateTime", label: "过期时间", prop: "expiredTime", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { label: "生产线", prop: "prodLine", }, + { label: "工作中心", prop: "workCenter", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 计划外入库记录 + */ + export const UnplannedReceiptNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "入库数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "入库单位", prop: "qty", showProp: "uom", }, + { label: "库位编号", prop: "locationCode", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "供应商代码", prop: 'supplierCode', }, + { label: "原因代码", prop: 'reasonCode', }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 计划外出库记录 + */ + export const UnplannedIssueNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "出库数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "出库单位", prop: "qty", showProp: "uom", }, + { label: "库位编号", prop: "locationCode", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "供应商代码", prop: 'supplierCode', }, + { label: "原因代码", prop: 'reasonCode', }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 隔离记录 + */ + export const IsolationNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "隔离数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "隔离单位", prop: "qty", showProp: "uom", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源箱标签", prop: "fromPackingCode", }, + { label: "目标箱标签", prop: "toPackingCode", }, + { label: "来源托标签", prop: "fromContainerCode", }, + { label: "来源托标签", prop: "toContainerCode", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 报废记录 + */ + export const ScrapNote = [ + { label: "itemCode", prop: "itemCode",fixed: "left", }, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "报废数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "报废单位", prop: "qty", showProp: "uom", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源箱标签", prop: "fromPackingCode", }, + { label: "目标箱标签", prop: "toPackingCode", }, + { label: "来源托标签", prop: "fromContainerCode", }, + { label: "来源托标签", prop: "toContainerCode", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 发货计划 + */ + export const DeliverPlan = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "发货数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { label: "项目", prop: "project", }, + { label: "销售订单号", prop: "soNumber", }, + { label: "订单行", prop: "soLine", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 发货申请 + */ + export const DeliverRequest = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { type: "object", label: "发货数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { label: "目标库位", prop: "toLocationCode", }, + { type: "dateTime", label: "过期时间", prop: "expiredTime", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 发货记录 + */ + export const DeliverNote = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + // { label: "箱标签", type: "input", prop: "packingCode", }, + { type: "object", valueType: Number, label: "发货数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", }, + { type: "object", label: "发货单位", prop: "qty", showProp: "uom", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源库位", prop: "fromLocationCode", }, + { type: "dateTime", label: "发货时间", prop: "deliverTime", }, + { type: "dateTime", label: "过期时间", prop: "expiredTime", }, + { label: "来源箱标签", prop: "fromPackingCode", }, + { label: "目标箱标签", prop: "toPackingCode", }, + { label: "来源托标签", prop: "fromContainerCode", }, + { label: "目标托标签", prop: "toContainerCode", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 盘点计划 + */ + export const CountPlan = [ + { label: "itemCode", prop: "itemCode", fixed: "left", }, + // { type: "filter", filters: "checkStage", label: "阶段", prop: "stage",}, + // { label: "最终盘点数量", prop: "finalCountQty", }, + // { type: "object", label: "最终盘点数量单位", prop: "finalCountQty", showProp: "uom", }, + // { label: "盘点差异数量", prop: "diffQty" }, + { type: "object", label: "库存数量", prop: "inventoryQty", showProp: "qty", }, + { type: "object", label: "库存数量单位", prop: "inventoryQty", showProp: "uom", }, + { type: "filter", label: "库存状态", prop: "inventoryStatus", filters: "inventoryStage", }, + { label: "库位", prop: "locationCode", }, + { type: "filter", label: "明细状态", prop: "detailStatus", filters: "DetailStatus", }, + // { type: "object", label: "初盘数量", prop: "firstCount", showProp: "qty", }, + // { type: "objectDateTime", label: "初盘时间", prop: "firstCount", showProp: "time", }, + // { type: "object", label: "重盘数量", prop: "repeatCount", showProp: "qty", }, + // { type: "objectDateTime", label: "重盘时间", prop: "repeatCount", showProp: "time", }, + // { type: "object", label: "监盘数量", prop: "auditCount", showProp: "qty", }, + // { type: "objectDateTime", label: "监盘时间", prop: "auditCount", showProp: "time", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托盘标签", prop: "palletLabel", }, + // { label: "盘点标签", prop: "countLabel", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + // { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { label: "批次", prop: "lot", }, + { 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: 'remark', }, + ] + + /** + * @returns {Array} 调整库存 + */ + export const CountPlanAdjust = [ + { label: "盘点计划单号", prop: "countPlanNumber", fixed: "left", }, + // { type: "filter", filters: "stageType", label: "阶段", prop: "stage",}, + { label: "itemCode", prop: "itemCode", }, + { 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: "finalCountQty" }, + { label: "盘点差异数量", prop: "diffQty" }, + { type: "filter", label: "明细状态", prop: "detailStatus", filters: "DetailStatus", }, + { type: "object", label: "库存数量", prop: "inventoryQty", showProp: "qty", }, + // { type: "object", label: "初盘数量", prop: "firstCount", showProp: "qty", }, + // { type: "objectDateTime", label: "初盘时间", prop: "firstCount", showProp: "time", }, + // { type: "object", label: "重盘数量", prop: "repeatCount", showProp: "qty", }, + // { type: "objectDateTime", label: "重盘时间", prop: "repeatCount", showProp: "time", }, + // { type: "object", label: "监盘数量", prop: "auditCount", showProp: "qty", }, + // { type: "objectDateTime", label: "监盘时间", prop: "auditCount", showProp: "time", }, + // { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { label: "批次", prop: "lot", }, + // { label: "盘点标签", prop: "containerCode", }, + { label: "箱标签", prop: "packingCode", }, + { label: "库位编号", prop: "locationCode", }, + { type: "object", label: "库存单位", prop: "inventoryQty", showProp: "uom", }, + //{ label: "公司", prop: "company", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 盘点记录 + */ + export const CountNote = [ + { label: "盘点计划单号", prop: "countPlanNumber", fixed: "left", }, + // { type: "filter", filters: "checkStage", label: "阶段", prop: "stage",}, + { label: "itemCode", prop: "itemCode", }, + { 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: "finalCountQty" }, + { label: "盘点差异数量", prop: "diffQty" }, + { type: "filter", label: "明细状态", prop: "detailStatus", filters: "DetailStatus", }, + { type: "object", label: "库存数量", prop: "inventoryQty", showProp: "qty", }, + // { type: "object", label: "初盘数量", prop: "firstCount", showProp: "qty", }, + // { type: "objectDateTime", label: "初盘时间", prop: "firstCount", showProp: "time", }, + // { type: "object", label: "重盘数量", prop: "repeatCount", showProp: "qty", }, + // { type: "objectDateTime", label: "重盘时间", prop: "repeatCount", showProp: "time", }, + // { type: "object", label: "监盘数量", prop: "auditCount", showProp: "qty", }, + // { type: "objectDateTime", label: "监盘时间", prop: "auditCount", showProp: "time", }, + // { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { label: "批次", prop: "lot", }, + // { label: "盘点标签", prop: "containerCode", }, + { label: "箱标签", prop: "packingCode", }, + { label: "库位编号", prop: "locationCode", }, + { type: "object", label: "库存单位", prop: "inventoryQty", showProp: "uom", }, + //{ label: "公司", prop: "company", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 盘点差异调整记录 + */ + export const CountAdjustNote = [ + { label: "itemCode", prop: "itemCode", fixed: "left", }, + // { type: "filter", filters: "checkStage", label: "阶段", prop: "stage",}, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", width: "300px" }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", width: "300px" }, + { label: "库位编号", prop: "locationCode", width: "200px" }, + // { type: "object", valueType: Number, label: "发货数量", prop: "InventoryQty", showProp: "qty", width: "100px" }, + { type: "object", label: "物料名称", prop: "item", showProp: "name", width: "150px" }, + // { type: "object", label: "发货单位", prop: "InventoryQty", showProp: "uom", width: "100px" }, + { label: "盘点差异数量", prop: "diffQty" }, + // { type: "filter", label: "明细状态", prop: "detailStatus", filters: "DetailStatus", width: "100px" }, + { label: "批次", prop: "lot", width: "100px" }, + { label: "库位编号", prop: "locationCode", width: "100px" }, + { label: "盘点数量", prop: "countQty", width: "100px" }, + { label: "调整数量", prop: "adjustQty", width: "100px" }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + // { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "原因编号", prop: "reasonCode", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 生产计划 + */ + export const ProductionPlan = [ + { 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", }, + { type: "object", valueType: Number, label: "计划数量", prop: "planQty", showProp: "qty", }, + // { label: "合格数量", prop: "goodQty", }, + // { label: "不合格数量", prop: "noGoodQty", }, + { type: "object", label: "计划单位", prop: "planQty", showProp: "uom", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "object", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "Bom版本", prop: "bomVersion", }, + // { type: "input", label: "", prop: "bomVersion", }, + { label: "备注", prop: "remark", }, + ] +/** + * @returns {Array} 备料计划 + */ + export const PreparationPlan = [ + { 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", }, + { type: "object", label: "备料数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "备料单位", prop: "qty", showProp: "uom", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "qty", }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "uom", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "工作中心", prop: "workStation", }, + { type: "dateTime", label: "最晚时间", prop: "latestTime", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 完工收货记录 + */ + export const ProductReceiptNote = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { type: "object", label: "物料名称", prop: "item", showProp: "name", width: "150px" }, + { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", width: "300px" }, + { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", width: "300px" }, + { label: "库位编号", prop: "locationCode", }, + { label: "原料库位", prop: "rawLocation", width: "100px" }, + { type: "object", valueType: Number, label: "完工收货数量", prop: "qty", showProp: "qty", width: "100px" }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", width: "100px" }, + { type: "object", label: "完工收货单位", prop: "qty", showProp: "uom", width: "100px" }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { label: "批次", prop: "lot", width: "100px" }, + { label: "生产线", prop: "prodLine", width: "100px" }, + { label: "Bom版本", prop: "bomVersion", width: "100px" }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "原因编号", prop: "reasonCode", width: "100px" }, + { label: "备注", prop: 'remark', width: "300px" }, + ] +/** + * @returns {Array} 下线结算记录 + */ + export const OfflineSettlementNote = [ + { 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", }, + { type: "object", valueType: Number, label: "下线结算数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "下线结算单位", prop: "qty", showProp: "uom", }, + { label: "库位编号", prop: "locationCode", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + // { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + // { type: "dateTime", label: "生产日期", prop: "creationTime" }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 追溯记录 + */ + export const TracebackNote = [ + { 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", }, + { type: "object", valueType: Number, label: "消耗数量", prop: "rawQty", showProp: "qty", }, + { type: "object", label: "标包单位", prop: "rawQty", showProp: "uom", }, + { label: "来源库位代码", prop: "rawLocation", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "rawContainerCode", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + // { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + // { type: "dateTime", label: "生产日期", prop: "creationTime", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 成品回收记录 + */ + export const ProductRecycleNote = [ + { 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: "locationCode", }, + { label: "原料库位编号", prop: "rawLocation", }, + { type: "object", valueType: Number, label: "成品回收数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "批次", prop: "lot", }, + { type: "object", label: "成品回收单位", prop: "qty", showProp: "uom", }, + { label: "箱标签", prop: "packingCode", }, + { label: "托标签", prop: "containerCode", }, + { label: "生产线", prop: "prodLine", }, + { label: "Bom版本", prop: "bomVersion", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 退库记录 + */ + export const StockReturnNote = [ + { 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", }, + { type: "object", valueType: Number, label: "退库数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "退库单位", prop: "qty", showProp: "uom", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源箱标签", prop: "fromPackingCode", }, + { label: "目标箱标签", prop: "toPackingCode", }, + { label: "来源托标签", prop: "fromContainerCode", }, + { label: "目标托标签", prop: "toContainerCode", }, + { label: "生产线", prop: "prodLine", }, + { label: "工作中心", prop: "workCenter", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 客户退库记录 + */ + export const CustomerReturnNote = [ + { 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", }, + { type: "object", valueType: Number, label: "退货数量", prop: "qty", showProp: "qty", }, + { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "退货单位", prop: "qty", showProp: "uom", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源箱标签", prop: "fromPackingCode", }, + { label: "目标箱标签", prop: "toPackingCode", }, + { label: "来源托标签", prop: "fromContainerCode", }, + { label: "目标托标签", prop: "toContainerCode", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] + /** + * @returns {Array} 调拨发货 + */ + export const WareHouseTransferNote = [ + { label: "物品编号", 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", }, + { type: "object", label: "数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标仓库", prop: "toWarehouseCode", }, + { label: "来源仓库", prop: "fromWarehouseCode", }, + { type: "filter", filters: "requestStatus", label: "从状态", prop: "fromStatus",}, + { type: "filter", filters: "requestStatus", label: "到状态", prop: "toStatus",}, + { label: "原因", prop: "reason",}, +] + +/** + * @returns {Array} 返修记录 + */ + export const ReworkNote = [ + { label: "工单号", prop: "number", fixed: "left" }, + { label: "物料代码", prop: 'itemCode' }, + { label: "物料名称", prop: 'item', showProp: 'name', type: "object" }, + { label: "描述1", prop: 'item', showProp: 'desc1', type: "object" }, + { label: "描述1", prop: 'item', showProp: 'desc1', type: "object" }, + { label: "批次", prop: 'lot' }, + { label: "箱标签", prop: 'packingCode' }, + { label: "单位", prop: 'qty', showProp: 'uom', type: "object" }, + { label: "数量", prop: 'qty', showProp: 'qty', type: "object" }, + { label: "库位代码", prop: 'locationCode' }, + { label: "仓库", prop: 'warehouseCode' }, + { label: "操作员", prop: 'worker' }, + { label: "任务ID", prop: 'jobNumber',}, + { type: "dateTime", label: "创建时间", prop: "creationTime",}, + { 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: "packingCode",}, + { label: "托标签", prop: "containerCode",}, + { label: "批次", prop: "lot" }, + { label: "库位代码", prop: "locationCode",}, + // { 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: "failedReason",}, + { 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: "locationCode",}, + { label: "箱标签", prop: "packingCode",}, + { label: "托标签", prop: "containerCode",}, + { label: "批次", prop: "lot", }, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "备注", prop: 'remark', }, + ] +/** + * @returns {Array} 质量异常记录 + */ + export const InspectAbnormalNote = [ + { 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", }, + { type: "object", label: "质量异常数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "质量异常单位", prop: "qty", showProp: "uom", }, + { label: "异常类型", prop: "abnormalType", }, + { label: "箱标签", prop: "packingCode",}, + { label: "托标签", prop: "containerCode",}, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "备注", prop: 'remark', }, + ] + /** + * @returns {Array} 采购收货任务 + */ + export const PurchaseReceiptJob = [ + { 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: "object", label: "实际收货数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "推荐收货数量", prop: "recommendQty", showProp: "qty", }, + { type: "object", label: "收货单位", prop: "recommendQty", showProp: "uom",}, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom",}, + { label: "实际库位", prop: "handledLocationCode",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { label: "实际箱标签", prop: "handledPackingCode", }, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { label: "实际托标签", prop: "handledContainerCode",}, + { label: "推荐托标签", prop: "recommendContainerCode",}, + { type: "object", label: "实际供应商批次", prop: "handledBatch", showProp: "supplierBatch",}, + { type: "object", label: "推荐供应商批次", prop: "recommendBatch", showProp: "supplierBatch",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "E-LEVEL等级", prop: "labelEqLevel" }, + // { label: "备注", prop: 'remark', }, + // { type: "input", label: "目标库位", prop: "toLocation",}, +] + /** + * @returns {Array} 采购退货任务 + */ + export const PurchaseReturnJob = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { label: "实际箱标签", prop: "handledPackingCode", }, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { type: "object", label: "实际收货数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "推荐收货数量", prop: "recommendQty", showProp: "qty", }, + { type: "object", label: "收货单位", prop: "recommendQty", showProp: "uom",}, + { label: "实际库位", prop: "handledLocationCode",}, + // { type: "input", label: "目标库位", prop: "toLocation",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { label: "实际托标签", prop: "handledContainerCode",}, + { label: "推荐托标签", prop: "recommendContainerCode",}, + { 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: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "实际供应商批次", prop: "handledBatch", showProp: "supplierBatch",}, + { type: "object", label: "推荐供应商批次", prop: "recommendBatch", showProp: "supplierBatch",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 上架任务 + */ + export const PutawayJob = [ + { 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: "handledPackingCode",}, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { label: "实际托标签", prop: "handledContainerCode",}, + { label: "推荐托标签", prop: "recommendContainerCode",}, + { type: "object", label: "实际上架数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "推荐上架数量", prop: "recommendQty", showProp: "qty", }, + { label: "实际库位", prop: "handledLocationCode",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + // { type: "object", label: "实际供应商批次", prop: "handledBatch", showProp: "supplierBatch",}, + // { type: "object", label: "推荐供应商批次", prop: "recommendBatch", showProp: "supplierBatch",}, + { label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status", }, + { type: "object", label: "收货单位", prop: "recommendQty", showProp: "uom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + // { label: "从库位", prop: "fromLocationCode",}, + // { type: "input", label: "目标库位", prop: "toLocation",}, + // { type: "object", label: "实际收货数量", prop: "handledQty", showProp: "qty", }, + // { type: "object", label: "推荐收货数量", prop: "recommendQty", showProp: "qty", }, + // { label: "备注", prop: 'remark', }, +] + /** + * @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", }, + { label: "实际箱标签",prop: "handledPackingCode",}, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { label: "实际托标签", prop: "handledContainerCode",}, + { label: "推荐托标签", prop: "recommendContainerCode",}, + { type: "filter", filters: "inspectType", label: "检验类型", prop: "inspectType",}, + { type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", }, + { label: "检验数量", prop: "inspectQty",}, + { label: "合格数量", prop: "goodQty",}, + { label: "不合格数量", prop: "failedQty",}, + { label: "最终不合格数量", prop: "notPassedQty",}, + { label: "破坏数量", prop: "crackQty",}, + { type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",}, + { label: "实际库位", prop: "handledLocationCode",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch",}, + { label: "备注", prop: 'remark', }, + // { type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",}, + // { label: "箱标签", prop: "packingCode",}, + // { label: "托标签", prop: "handledContainerCode",}, + // { label: "不合格原因", prop: "failedReason",}, + // { type: "object", label: "到货数量", prop: "handledQty", showProp: "qty",}, + // { type: "object", label: "到货单位", prop: "handledQty", showProp: "uom",}, + // { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + // { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + // { label: "订单号", prop: "poNumber",}, + // { label: "订单行", prop: "poLine",}, + +] + /** + * @returns {Array} 发料任务 + */ + export const IssueJob = [ + { 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: "handledPackingCode",}, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { label: "请求库位", prop: "fromRequestLocationCode", }, + { type: "object", label: "实际数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "实际单位", prop: "handledQty", showProp: "uom",}, + { type: "object", label: "推荐数量", prop: "recommendQty", showProp: "qty", }, + { type: "object", label: "推荐单位", prop: "recommendQty", showProp: "uom",}, + { label: "实际库位", prop: "handledLocationCode",}, + { label: "到库位", prop: "toLocationCode",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { label: "实际批次", prop: "handledLot",}, + { label: "推荐批次", prop: "recommendLot",}, + // { type: "object", label: "实际批次", prop: "handledBatch", showProp: "supplierBatch",}, + { type: "objectDateTime", label: "实际生产日期", prop: "handledBatch", showProp: "produceDate",}, + // { type: "object", label: "推荐批次", prop: "recommendBatch", showProp: "supplierBatch",}, + { type: "objectDateTime", label: "推荐生产日期", prop: "recommendBatch", showProp: "produceDate",}, + // { label: "箱标签", prop: "packingCode",}, + { label: "托标签", prop: "containerCode",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 收料任务 + */ + export const IssueAcceptJob = [ + { label: "实际箱标签", prop: "handledPackingCode", fixed: "left",}, + { label: "itemCode", prop: "itemCode",}, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { type: "object", label: "实际库位数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "实际库位单位", prop: "handledQty", showProp: "uom",}, + { label: "实际库位", prop: "handledLocationCode",}, + { label: "目标库位", prop: "toLocation",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { label: "托标签", prop: "containerCode",}, + { 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: "handledQty", showProp: "qty",}, + // { type: "object", label: "到货单位", prop: "handledQty", 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: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 完工收货任务 + */ + export const ProductReceiveJob = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { label: "箱标签", prop: "packingCode",}, + { type: "object", label: "收货数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, + { label: "实际库位", prop: "handledLocationCode",}, + // { label: "目标库位", prop: "toLocation",}, + { label: "推荐库位", prop: "recommendLocationCode",}, + { type: "object", label: "收货单位", prop: "handledQty", showProp: "uom",}, + // { label: "箱标签", prop: "packingCode",}, + { label: "托标签", prop: "containerCode",}, + { 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: "handledQty", showProp: "qty",}, + // { type: "object", label: "到货单位", prop: "handledQty", showProp: "uom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 发货任务 + */ + export const DeliverJob = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { label: "实际箱标签", prop: "handledPackingCode", }, + { label: "推荐箱标签", prop: "recommendPackingCode",}, + { type: "object", label: "实际数量", prop: "handledQty", showProp: "qty", }, + { type: "object", label: "实际单位", prop: "handledQty", showProp: "uom",}, + { type: "object", label: "推荐数量", prop: "recommendQty", showProp: "qty", }, + // { type: "object", label: "推荐单位", prop: "recomendQty", showProp: "uom",}, + // { label: "实际库位", prop: "handledLocationCode",}, + // { label: "推荐库位", prop: "recommendLocationCode",}, + { label: "从库位", prop: "fromLocationCode",}, + { type: "object", label: "实际批次", prop: "handledBatch", showProp: "supplierBatch", }, + { type: "objectDateTime", label: "实际日期", prop: "handledBatch", showProp: "produceDate",}, + { type: "object", label: "推荐批次", prop: "recommendBatch", showProp: "supplierBatch", }, + { type: "object", label: "推荐日期", prop: "recommendBatch", showProp: "produceDate",}, + { label: "托标签", prop: "containerCode",}, + { 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: "handledQty", showProp: "qty",}, + // { type: "object", label: "到货单位", prop: "handledQty", showProp: "uom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 校验任务 + */ + export const CheckJob = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { label: "实际箱标签", prop: "packingCode",}, + { type: "object", label: "库存数量", prop: "inventoryQty", showProp: "qty", }, + { type: "object", label: "库存单位", prop: "inventoryQty", showProp: "uom",}, + { label: "实际库位", prop: "locationCode",}, + { label: "托标签", prop: "containerCode",}, + { type: "object", 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: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch",}, + { label: "订单号", prop: "poNumber",}, + { label: "订单行", prop: "poLine",}, + { label: "备注", prop: 'remark', }, +] + /** + * @returns {Array} 盘点任务 + */ + export const CountJob = [ + { label: "itemCode", prop: "itemCode", fixed: "left",}, + { label: "箱标签", prop: "packingCode",}, + { type: "object", label: "实际数量", prop: "countQty", showProp: "qty", }, + { type: "object", label: "实际单位", prop: "countQty", showProp: "uom",}, + { type: "object", label: "库存数量", prop: "inventoryQty", showProp: "qty", }, + { type: "object", label: "库存单位", prop: "inventoryQty", showProp: "uom",}, + { label: "库位编号", prop: "locationCode",}, + { type: "filter", label: "库存状态", prop: "status", filters:"inventoryStage"}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装单位", prop: "stdPack", showProp: "packUom",}, + { label: "托标签", prop: "containerCode",}, + //{ 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", }, + // { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch",}, + { label: "批次", prop: "lot", }, + { label: "备注", prop: 'remark', }, +] + +/** + * @returns {Array} 仓库管理-发运管理-发货任务(天津) + */ + export const Shipments = [ + {label: "器具编号",prop: "containerCode", width: "300px"}, + { label: "产品数量", prop: "itemQty" }, + { label: "来源库位", prop: "fromLocationCode"}, + { label: "目标库位", prop: "toLocationCode"}, + // { type: "filter", label: "发货状态", prop: "status", filters: "ShipmentsTjStatus",}, + { label: "备注", prop: 'remark' } +] + +/** + * @returns {Array} 仓库管理-发运管理-器具查询(天津) + */ + export const Instruments = [ + {label: "器具编号",prop: "containerCode"}, + { label: "序号", prop: "seqNo" }, + { label: "生产线编码", prop: "productNo"}, + { label: "项目号", prop: "projectCode", }, + { label: "配置码", prop: "itemCode" }, + { label: "批次", prop: "lot"}, + { label: "箱码", prop: "packingCode" }, + { label: "位置", prop: "position" }, + { label: "库存状态", type: "filter", filters: "inventoryStage", prop: "status", }, + { label: "备注", prop: 'remark' } +] + +/** + * @returns {Array} 仓库管理-发运管理-收货记录(天津) + */ +export const ReceivingRecords = [ + { label: "序号", prop: "seqNo" }, + { label: "配置码", prop: "itemCode" }, + {label: "器具编号",prop: "containerCode", width: "300px"}, + { type: "object", label: "名称", prop: "item", showProp: "name" }, + { label: "生产线编码", prop: "prodLine"}, + { label: "生产码", prop: "productNo", }, + { label: "项目号", prop: "projectCode", }, + { label: "批次", prop: "lot"}, + { label: "收货库位", prop: "locationCode" }, +] + +/** + * @returns {Array} 仓库管理-发运管理-发货记录(天津) + */ + export const DeliveryRecord = [ + {label: "器具编号",prop: "toContainerCode", width: "300px"}, + // { label: "序号", prop: "seqNo" }, + { label: "配置码", prop: "itemCode" }, + { type: "object", label: "名称", prop: "item", showProp: "name" }, + { label: "生产码", prop: "productNo", }, + { label: "项目号", prop: "projectCode", }, + { label: "批次", prop: "toLot"}, + { label: "来源库位", prop: "fromLocationCode" }, + { label: "目标库位", prop: "toLocationCode" }, + { label: "备注", prop: 'remark' } +] + +/** + * @returns {Array} 仓库管理-发运管理-回收记录(天津) + */ + export const JisProductRecycleNote = [ + { 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", }, + { type: "object", label: "数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "箱标签", prop: "packingCode"}, + { label: "托标签", prop: "containerCode"}, + { label: "仓库", prop: "warehouseCode"}, + { label: "库位", prop: "locationCode"}, + { label: "批次", prop: "lot"}, + { label: "生产计划单号", prop: "productionPlanNumber"}, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "原料库位", prop: "rawLocation"}, + { label: "生产线", prop: "prodLine"}, +] +/** + * @returns {Array} 仓库管理-发运管理-退库记录(天津) + */ + export const JisProductReturnNote = [ + { 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", }, + { type: "object", label: "数量", prop: "qty", showProp: "qty", }, + // { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "原因", prop: "reason" }, +] +/** + * @returns {Array} 仓库管理-发运管理-库存转移记录(天津) + */ + export const JisProductTransferNote = [ + { 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", }, + { type: "object", label: "数量", prop: "qty", showProp: "qty", }, + { label: "批次", prop: "lot" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "原因", prop: "reason" }, +] +/** + * @returns {Array} 供应商考核看板-汇总报表 + */ + export const SupplierAssessmentReportForm = [ + { label: "供应商代码", prop: "supplierCode" }, + { label: "供应商名称", prop: "supplierName" }, + { label: "ASN单号", prop: 'asnNumber' }, + { label: "ASN发货时间", prop: 'asnShippingTime', type:'dateTime' }, + // { label: "考核内容", prop: 'reason' }, + { type: "filter", label: "考核内容", prop: "reason", filters: "reasonStatus" }, + { label: "扣分分数", prop: 'scope' }, + { label: "扣分时间", prop: 'evaluationTime', type:'dateTime' }, + { label: "备注", prop: 'remark' }, +] + +/** + * @returns {Array} JIS信息查询 + */ + export const JISMessageQuery = [ + { label: "物品代码", prop: "itemCode", }, + { label: "物品名称",type: "object", prop: "item", showProp: "name" }, + { label: "物品描述",type: "object", prop: "item", showProp: "desc1" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: 'program' }, + { label: "位置", prop: 'position' }, + { label: "FATA", prop: 'fata' }, + { label: "配置号", prop: 'configuration' }, + { label: "L7零件", prop: 'l7Part' }, + { type: "filter", label: "是否自动回冲", prop: "isAutoBackFlush", filters: "whetherOrNot" }, + { label: "数量", prop: 'qty' }, +] + +/** + * @returns {Array} 鸿翔外库jis发货 + */ + export const OuterJisDeliverNote = [ + { label: "单据号", prop: "number" }, + { label: "物品代码", prop: "itemCode" }, + { label: "发货单号", prop: 'deliverNumber' }, + { label: "生产号", prop: 'productionNumber' }, + { label: "REV", prop: 'rev' }, + { label: "配置号", prop: 'l7Part' }, + { label: "流水号", prop: 'serialNumber' }, + { label: "物品描述", prop: 'itemName' }, + { label: "位置", prop: 'position' }, + { label: "数量", prop: 'qty' }, + { label: "站别名", prop: 'siteNickName' }, + { label: "发货用户", prop: 'deliverPeople' }, + { label: "发货时间", prop: 'deliverDate', type:'dateTime' }, + { label: "收货方", prop: 'shipToOrDock' }, + { label: "发货方式", prop: 'shipVia' }, + { label: "运输方式", prop: 'modeOfTransport' }, + { label: "承运商", prop: 'carrier' }, + { label: "承运商参考", prop: 'carrierShipmentRef' }, + { label: "车辆", prop: 'vehicleID' }, + { label: "销售订单号", prop: 'order' }, + { label: "销售订单行", prop: 'line' }, + { label: "车型年份", prop: 'modelYear' }, + { label: "客户地址编码", prop: 'customerAddressCode' }, +] + +/** + * @returns {Array} 发货记录 + */ +export const OuterPillarDeliverNote = [ + { label: "单据号", prop: "number" }, + { label: "物品代码", prop: "itemCode" }, + { label: "发货单号", prop: 'deliverNumber' }, + // { label: "生产号", prop: 'productionNumber' }, + // { label: "REV", prop: 'rev' }, + // { label: "配置号", prop: 'l7Part' }, + // { label: "流水号", prop: 'serialNumber' }, + { label: "物品描述1", prop: 'item', showProp:'desc1', type: "object" }, + { label: "物品描述2", prop: 'item', showProp:'desc2', type: "object" }, + { label: "来源库位", prop: 'locationCode' }, + { label: "发货数量", prop: 'qty', showProp: 'qty', type: 'object' }, + // { label: "位置", prop: 'position' }, + // { label: "数量", prop: 'qty' }, + // { label: "站别名", prop: 'siteNickName' }, + // { label: "发货用户", prop: 'deliverPeople' }, + { label: "发货时间", prop: 'deliverDate', type:'dateTime' }, + { label: "收货方", prop: 'shipToOrDock' }, + { label: "发货方式", prop: 'shipVia' }, + { label: "运输方式", prop: 'modeOfTransport' }, + { label: "承运商", prop: 'carrier' }, + { label: "承运商参考", prop: 'carrierShipmentRef' }, + { label: "车辆", prop: 'vehicleID' }, + { label: "销售订单号", prop: 'order' }, + { label: "销售订单行", prop: 'line' }, + // { label: "车型年份", prop: 'modelYear' }, + { label: "客户地址编码", prop: 'customerAddressCode' }, +] + +/** + * @returns {Array} 鸿翔外库jis计划外入库 + */ + export const OuterJisUnplannedReceiptNote = [ + { label: "单据号", prop: "number" }, + { label: "物品代码", prop: "itemCode" }, + { label: "物品描述", prop: 'itemName' }, + { label: "计划外入库单号", prop: 'outerUnplannedReceiptNumber' }, + { label: "单据类型", prop: 'documentType' }, + { label: "生产号", prop: 'productionNumber' }, + { label: "REV", prop: 'rev' }, + { label: "配置号", prop: 'l7Part' }, + { label: "条码", prop: 'barCode' }, + { label: "批次", prop: 'lot' }, + { label: "数量", prop: 'qty' }, + { label: "库位", prop: 'locationCode' }, + { label: "用户", prop: 'unplannedReceiptPeople' }, + { label: "用户姓名", prop: 'unplannedReceiptPeopleName' }, + { label: "计划外入库时间", prop: 'unplannedReceiptDate', type:'dateTime' }, +] + + + +/** + * @returns {Array} 鸿翔外库jis计划外出库 + */ + export const OuterJisUnplannedIssueNote = [ + { label: "单据号", prop: "number" }, + { label: "物品代码", prop: "itemCode" }, + { label: "物品描述", prop: 'itemName' }, + { label: "计划外出库单号", prop: 'outerUnplannedIssueNumber' }, + { label: "单据类型", prop: 'documentType' }, + { label: "生产号", prop: 'productionNumber' }, + { label: "REV", prop: 'rev' }, + { label: "配置号", prop: 'l7Part' }, + { label: "条码", prop: 'barCode' }, + { label: "批次", prop: 'lot' }, + { label: "数量", prop: 'qty' }, + { label: "库位", prop: 'locationCode' }, + { label: "用户", prop: 'unplannedIssuePeople' }, + { label: "用户姓名", prop: 'unplannedIssuePeopleName' }, + { label: "计划外出库时间", prop: 'unplannedIssueDate', type:'dateTime' }, +] + +/** + * @returns {Array} 单块门板-发货记录 + */ +export const SingleDoorPanelDeliverNote = [ + { 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: "toLot" }, + { label: "来源批次", prop: "fromLot" }, + { label: "来源箱标签", prop: "fromPackingCode" }, + { label: "目标箱标签", prop: "toPackingCode" }, + { label: "来源托标签", prop: "fromContainerCode" }, + { label: "来源托标签", prop: "toContainerCode" }, + { type: "object", label: "发货数量", prop: "qty", showProp: "qty" }, + { type: "object", label: "发货单位", prop: "qty", showProp: "uom" }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty" }, + { label: "目标库位", prop: "toLocationCode" }, + { label: "来源库位", prop: "fromLocationCode" }, + { label: "目标仓库", prop: "toWarehouseCode" }, + { label: "来源仓库", prop: "fromWarehouseCode" }, + { type: "dateTime", label: "发货时间", prop: "deliverTime" }, + { type: "dateTime", label: "过期时间", prop: "expiredTime" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "位置", prop: "position" }, + { label: "包装箱容量/箱", prop: "packCapacity" }, + { label: "上线类型", prop: "onlineType" }, + { label: "阶段", prop: "stage" }, + { label: "用途", prop: "usedFor" }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch" }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate" }, + { label: "备注", prop: 'remark' }, +] + +/** + * @returns {Array} 单块门板-完工收货记录 + */ +export const SingleDoorPanelProductReceiptNote = [ + { 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: "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: "stdPack", showProp: "packQty" }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom" }, + { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch" }, + { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate" }, + { label: "库位", prop: "locationCode" }, + { label: "原料库位", prop: "rawLocation" }, + { label: "生产线", prop: "prodLine" }, + { label: "Bom版本", prop: "bomVersion" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "位置", prop: "position" }, + { label: "仓库", prop: "warehouseCode", }, + { label: "备注", prop: 'remark' }, +] + +/** + * @returns {Array} 单块门板-完工调整记录 + */ +export const SingleDoorPanelProductAdjust = [ + { label: "完工调整单号", prop: "number" }, + { label: "物料代码", prop: 'itemCode',}, + { label: "批次", prop: 'lot',}, + { label: "箱标签", prop: 'packingCode',}, + { label: "托标签", prop: 'containerCode',}, + { label: "仓库代码", prop: 'warehouseCode',}, + { 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: 'object'}, + { label: "库位代码", prop: 'locationCode',}, +] + + /** + * @returns {Array} 单块门板-库移记录 + */ + export const SingleDoorPanelProductTransferNote = [ + { label: "物品编号", 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: "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: "stdPack", showProp: "packQty" }, + { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom" }, + { label: "目标仓库", prop: "toWarehouseCode" }, + { label: "来源仓库", prop: "fromWarehouseCode" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "位置", prop: "position" }, + { label: "原因", prop: "reason" }, + ] + + /** + * @returns {Array} 单块门板-客户退货记录 + */ +export const SingleDoorPanelCustomerReturnNote = [ + { label: "客户退货单号", prop: "number" }, + { label: "物料代码", prop: 'itemCode' }, + { label: "批次", prop: 'lot' }, + { label: "箱标签", prop: 'packingCode' }, + { label: "托标签", prop: 'containerCode' }, + { label: "仓库代码", prop: 'warehouseCode' }, + { 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: 'object' }, + { label: "库位代码", prop: 'locationCode' }, + // { label: "生产线", prop: 'prodLine' }, + // { label: "Bom版本", prop: "bomVersion" }, + { label: "产品号", prop: "productNo" }, + { label: "项目号", prop: "projectCode" }, + { label: "位置", prop: "position" }, +] + + /** + * @returns {Array} 调拨发货记录 + */ + export const PillarDeliverNote = [ + { label: "物品编号", 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", }, + { type: "object", label: "数量", prop: "qty", showProp: "qty", }, + { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { label: "目标批次", prop: "toLot", }, + { label: "来源批次", prop: "fromLot", }, + { label: "目标库位", prop: "toLocationCode", }, + { label: "来源库位", prop: "fromLocationCode", }, + { label: "目标仓库", prop: "toWarehouseCode", }, + { label: "来源仓库", prop: "fromWarehouseCode", }, + { type: "filter", filters: "requestStatus", label: "从状态", prop: "fromStatus",}, + { type: "filter", filters: "requestStatus", label: "到状态", prop: "toStatus",}, + { label: "发货时间", prop: "deliverTime", type: "dateTime" }, + { label: "过期时间", prop: "expiredTime", type: "dateTime" }, + { label: "销售订单号", prop: "soNumber", }, + { label: "订单行", prop: "soLine", }, + { label: "原因", prop: "reason",}, +] + +/** + * @returns {Array} 库存转移日志 + */ +export const InventoryTransferNote = [ + { label: "转移编号", prop: "number", }, + { label: "从箱标签", prop: "fromPackingCode", }, + { label: "到箱标签", prop: "toPackingCode", }, + { label: "从库位代码", prop: "fromLocationCode", }, + { label: "到库位代码", prop: "toLocationCode", }, + { label: "从托盘标签", prop: "fromContainerCode", }, + { label: "到托盘标签", prop: "toContainerCode", }, + { 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", }, + { label: "从批次", prop: "fromLot" }, + { label: "到批次", prop: "toLot" }, + { label: "备注", prop: 'remark', }, + // { type: "filter", filters: "TransType", label: "事务类型", prop: "transType", }, + // { type: "filter", filters: "TransSubType", label: "事务替代类型", prop: "transSubType", }, + // { label: "从事务编号", prop: "formTransNumber", }, + // { label: "到事务编号", prop: "toTransNumber", }, + // { type: "dateTime", label: "事务时间", prop: "transferTime", }, + // { type: "dateTime", label: "生效日期", prop: "activeDate", }, +] \ No newline at end of file diff --git a/src/utils/disposition/tableSummaryColumns.ts b/src/utils/disposition/tableSummaryColumns.ts new file mode 100644 index 000000000..580b2f7e0 --- /dev/null +++ b/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', }, + ] \ No newline at end of file