| | |
| | | createTime?: number; // 创建时间 |
| | | processInstanceId?: string; // BPM 流程实例编号 |
| | | processDefinitionKey?: string; // BPM 流程定义 Key |
| | | paramValues?: ParamValue[]; |
| | | } |
| | | |
| | | export interface ParamValue { |
| | | detailId: number; |
| | | value?: string; |
| | | // ---- 回显字段(报工详情/列表返回) ---- |
| | | paramCode?: string; |
| | | paramName?: string; |
| | | paramType?: number; |
| | | unitMeasureName?: string; |
| | | paramValue?: string; |
| | | required?: boolean; |
| | | } |
| | | |
| | | /** MES 生产报工分页查询参数 */ |
| | |
| | | /** 快速报工请求 */ |
| | | export interface QuickCreateReq { |
| | | taskId: number; |
| | | paramValues?: MesProFeedbackApi.ParamValue[]; |
| | | feedbackQuantity: number; |
| | | qualifiedQuantity?: number; |
| | | unqualifiedQuantity?: number; |
| | | remark?: string; |
| | | } |
| | | |
| | |
| | | feedbackId?: number; |
| | | taskStatus?: number; |
| | | workOrderStatus?: number; |
| | | /** 报工后剩余可报工数量 */ |
| | | reportableQuantity?: number; |
| | | } |
| | | |
| | | /** 批量报工请求 */ |
| | | export interface BatchCreateReq { |
| | | taskIds: number[]; |
| | | feedbackQuantity: number; |
| | | qualifiedQuantity?: number; |
| | | unqualifiedQuantity?: number; |
| | | remark?: string; |
| | | } |
| | | |