From 884fb1bf667b2d977262d029fa74fe6fd4546e17 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 29 Mar 2026 10:17:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(mes):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=89=B9=E6=AC=A1=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=EF=BC=8C=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/wm/batch/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/mes/wm/batch/index.ts b/src/api/mes/wm/batch/index.ts index c5f1d438c..c7a0f54d1 100644 --- a/src/api/mes/wm/batch/index.ts +++ b/src/api/mes/wm/batch/index.ts @@ -34,6 +34,11 @@ export interface BatchVO { // 批次追溯 API export const BatchApi = { + // 获取批次详情 + getBatch: async (id: number) => { + return await request.get({ url: `/mes/wm/batch/get?id=` + id }) + }, + // 获取批次分页 getBatchPage: async (params: PageParam) => { return await request.get({ url: `/mes/wm/batch/page`, params })