云
11 小时以前 fb4db4ae9b6a7f113ba049f6789e6916c0dcc276
src/api/mes/pro/scanEvent/index.ts
@@ -3,16 +3,21 @@
import { requestClient } from '#/api/request';
export namespace MesProScanEventApi {
  /** 扫码类型:袋码 / 托盘码 / 批次码 */
  export type ScanType = 'BAG' | 'PALLET' | 'BATCH';
  export interface ScanEvent {
    id?: number;
    eventId?: string;
    bagCode?: string;
    scanType?: ScanType;
    batchCode?: string;
    quantity?: number;
    deviceCode?: string;
    lineCode?: string;
    warehouseId?: number;
    eventTime?: string;
    locationId?: number;
    areaId?: number;
    transactionId?: number;
    status?: 'SUCCESS' | 'FAILED';
    errorCode?: string;
@@ -31,8 +36,9 @@
  export interface InboundParams {
    eventId: string;
    bagCode: string;
    scanType: ScanType;
    quantity: number;
    deviceCode: string;
    deviceCode?: string;
    lineCode?: string;
    locationId: number;
    areaId: number;