gaoluyang
8 天以前 2c354c2d7ea51b0f78c858fef1edd93354405c6b
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',