gaoluyang
9 天以前 82a2aafe22932c7a14ed73e75858aebddd5c0824
src/api/mes/qc/template/item/index.ts
@@ -68,12 +68,10 @@
  return requestClient.delete(`/mes/qc/template/item/delete?id=${id}`);
}
/** 根据物料或工单/任务和检测种类获取可用质检方案列表 */
/** 根据物料和检测种类获取可用质检方案列表(itemId 为 MDM 物料 ID) */
export function getTemplateItemOptionList(params: {
  itemId?: number;
  qcType: number;
  taskId?: number;
  workOrderId?: number;
}) {
  return requestClient.get<MesQcTemplateItemOptionApi.Option[]>(
    '/mes/qc/template/item/list-by-item-and-type',