Browse Source

制品收货申请子子表api修改

master_hella_20240701
陈薪名 8 months ago
parent
commit
29692de19e
  1. 16
      src/api/wms/backflushRequestDetailb/index.ts

16
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' })
}
Loading…
Cancel
Save