| | |
| | | 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; |
| | |
| | | export interface InboundParams { |
| | | eventId: string; |
| | | bagCode: string; |
| | | scanType: ScanType; |
| | | quantity: number; |
| | | deviceCode: string; |
| | | deviceCode?: string; |
| | | lineCode?: string; |
| | | locationId: number; |
| | | areaId: number; |