16 小时以前 069df25f4cf294a3fd9509bee6d631d1e699cd82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { requestClient } from '#/api/request';
 
export namespace MesQcSeedQualityApi {
  export interface Indicator {
    code: string;
    value: number;
    minValue: number;
    maxValue: number;
  }
 
  export interface SubmitParams {
    code: string;
    itemId: number;
    batchCode?: string;
    indicators: Indicator[];
    reason?: string;
  }
}
 
export function submitSeedQuality(data: MesQcSeedQualityApi.SubmitParams) {
  return requestClient.post<number>('/mes/qc/seed-quality/submit', data);
}