| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import service from '/@/utils/request';
- export interface PagedWithTotalQty<T> {
- total: number;
- page: number;
- pageSize: number;
- list: T[];
- grandTotalQty: number;
- }
- // ── S5 暂收在检列表(只读,数据源 aidopdev.MissedPrint Status='I',存储过程 pr_WMS_GetMissedTempQty 口径)──
- export interface PendingInspectionRow {
- /** 要货令单号 PurOrd */
- demandNo?: string;
- /** 要货令行号 PurLine */
- demandLineNo?: number;
- /** 物料编码 ItemNum */
- materialCode?: string;
- /** 物料名称 Descr */
- materialName?: string;
- /** 批次号 LotSerial */
- batchNo?: string;
- /** 数量 SUM(Qty) */
- qty?: number;
- /** 单位 UM */
- unit?: string;
- /** 待检货架 Shelf */
- pendingShelf?: string;
- /** 送货单号 ShipperNbr */
- deliveryNo?: string;
- /** 检验单号 CheckNo */
- inspectNo?: string;
- /** 检验状态 FINSPECTSTATUS */
- inspectStatus?: string;
- /** 供应商 Supply */
- supplier?: string;
- /** 供应商简称 SortName */
- supplierShortName?: string;
- }
- export interface PendingInspectionStatusOption {
- val?: string;
- }
- export interface PendingInspectionSupplierOption {
- val?: string;
- label?: string;
- }
- export function fetchPendingInspectionList(params: any) {
- return service
- .get<PagedWithTotalQty<PendingInspectionRow>>('/api/S5PendingInspection/list', { params })
- .then((r) => r.data);
- }
- export function fetchPendingInspectionStatusOptions() {
- return service.get<PendingInspectionStatusOption[]>('/api/S5PendingInspection/status-options').then((r) => r.data);
- }
- export function fetchPendingInspectionSupplierOptions() {
- return service.get<PendingInspectionSupplierOption[]>('/api/S5PendingInspection/supplier-options').then((r) => r.data);
- }
|