feat(mes-qc): 迁移 antd 来料检验及检测结果、缺陷记录组件(代码优化)

This commit is contained in:
YunaiV
2026-05-29 16:27:15 +08:00
parent abc8789fe3
commit cea628b1a1
9 changed files with 302 additions and 245 deletions

View File

@@ -16,6 +16,13 @@ export namespace MesQcDefectRecordApi {
}
}
/** 查询质检缺陷记录 */
export function getDefectRecord(id: number) {
return requestClient.get<MesQcDefectRecordApi.DefectRecord>(
`/mes/qc/defect-record/get?id=${id}`,
);
}
/** 查询质检缺陷记录分页 */
export function getDefectRecordPage(
params: PageParam & { lineId?: number; qcId?: number; qcType?: number; },