|
@ -23,38 +23,38 @@ export const getBackflushRequestDetailbPage = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
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 { |
|
|
} 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) => { |
|
|
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) => { |
|
|
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) => { |
|
|
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) => { |
|
|
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
|
|
|
// 导出制品收货申请子 Excel
|
|
|
export const exportBackflushRequestDetailb = async (params) => { |
|
|
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 = () => { |
|
|
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' }) |
|
|
} |
|
|
} |