4 天以前 b7eb1da8220f5b72f6891c3c6471ca386604cce4
src/packages/constants/src/biz-mes-enum.ts
@@ -267,6 +267,36 @@
  CANCELLED: MesOrderStatusConstants.CANCELLED,
} as const;
/** MES 生产批次状态枚举(对齐后端 MesProBatchStatusEnum) */
export const MesProBatchStatusEnum = {
  DRAFT: 10, // 草稿
  PRODUCING: 20, // 生产中
  FINISHED: 30, // 已完成
  CANCELED: 40, // 已作废
} as const;
/** MES 生产批次人员岗位类型枚举(对齐后端 MesProBatchWorkerTypeEnum) */
export const MesProBatchWorkerTypeEnum = {
  LEADER: 10, // 组长
  OPERATOR: 20, // 操作工
  PACKER: 30, // 包装工
  INSPECTOR: 40, // 质检员
  OTHER: 50, // 其他
} as const;
/** MES 袋码状态枚举(对齐后端 MesProBagCodeStatusEnum) */
export const MesProBagCodeStatusEnum = {
  GENERATED: 10, // 已生成
  PRINTED: 20, // 已导出印刷
  CANCELED: 30, // 已作废
} as const;
/** MES 托盘码状态枚举(对齐后端 MesProPalletStatusEnum) */
export const MesProPalletStatusEnum = {
  IN_USE: 10, // 启用
  CANCELED: 20, // 作废
} as const;
/** MES 生产报工状态枚举 */
export const MesProFeedbackStatusEnum = {
  PREPARE: MesOrderStatusConstants.DRAFT,