From 29692de19ef41e0f925922355575fdb7f75bb3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 21 Mar 2024 08:48:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E6=94=B6=E8=B4=A7=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=AD=90=E5=AD=90=E8=A1=A8api=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/backflushRequestDetailb/index.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/api/wms/backflushRequestDetailb/index.ts b/src/api/wms/backflushRequestDetailb/index.ts index 9e4d26df0..7e67a0989 100644 --- a/src/api/wms/backflushRequestDetailb/index.ts +++ b/src/api/wms/backflushRequestDetailb/index.ts @@ -23,38 +23,38 @@ export const getBackflushRequestDetailbPage = async (params) => { if (params.isSearch) { delete params.isSearch const data = {...params} - return await request.post({ url: '/wms/backflush-request-detailb/senior', data }) + return await request.post({ url: '/wms/productreceipt-request-detailb/senior', data }) } else { - return await request.get({ url: `/wms/backflush-request-detailb/page`, params }) + return await request.get({ url: `/wms/productreceipt-request-detailb/page`, params }) } } // 查询制品收货申请子详情 export const getBackflushRequestDetailb = async (id: number) => { - return await request.get({ url: `/wms/backflush-request-detailb/get?id=` + id }) + return await request.get({ url: `/wms/productreceipt-request-detailb/get?id=` + id }) } // 新增制品收货申请子 export const createBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => { - return await request.post({ url: `/wms/backflush-request-detailb/create`, data }) + return await request.post({ url: `/wms/productreceipt-request-detailb/create`, data }) } // 修改制品收货申请子 export const updateBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => { - return await request.put({ url: `/wms/backflush-request-detailb/update`, data }) + return await request.put({ url: `/wms/productreceipt-request-detailb/update`, data }) } // 删除制品收货申请子 export const deleteBackflushRequestDetailb = async (id: number) => { - return await request.delete({ url: `/wms/backflush-request-detailb/delete?id=` + id }) + return await request.delete({ url: `/wms/productreceipt-request-detailb/delete?id=` + id }) } // 导出制品收货申请子 Excel export const exportBackflushRequestDetailb = async (params) => { - return await request.download({ url: `/wms/backflush-request-detailb/export-excel`, params }) + return await request.download({ url: `/wms/productreceipt-request-detailb/export-excel`, params }) } // 下载用户导入模板 export const importTemplate = () => { - return request.download({ url: '/wms/backflush-request-detailb/get-import-template' }) + return request.download({ url: '/wms/productreceipt-request-detailb/get-import-template' }) } \ No newline at end of file