云
9 天以前 874afbfb8eec12fe6ca60565c80f620f68e30d62
src/api/mes/qc/seedQuality/index.ts
@@ -244,7 +244,7 @@
  scanType?: 'BAG' | 'PALLET' | 'BATCH'; totalCount?: number;
  pendingBagIds?: number[]; completedBagIds?: number[];
}
export function resolveSeedQuality(code: string, scanType: 'BAG' | 'PALLET' | 'BATCH' = 'BAG', qcLine: 1 | 2 = 1) {
export function resolveSeedQuality(code: string, scanType: 'AUTO' | 'BAG' | 'PALLET' | 'BATCH' = 'AUTO', qcLine: 1 | 2 = 1) {
  return requestClient.get<SeedQualityScan>('/mes/qc/seed-quality/resolve', { params: { code, scanType, qcLine }, suppressErrorMessage: true });
}
export function submitSeedQualityGroup(data: MesQcSeedQualityApi.SubmitParams & { scanType: 'BAG' | 'PALLET' | 'BATCH'; bagIds: number[] }) {