chenfang
8 months ago
6 changed files with 330 additions and 160 deletions
@ -0,0 +1,51 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface ProductreceiptDetailbVO { |
|||
id: number |
|||
packingNumber: string |
|||
batch: string |
|||
masterId: number |
|||
number: string |
|||
itemCode: string |
|||
itemName: string |
|||
outsideItemCode: string |
|||
outsideProduceDate: string |
|||
outsideSerialNumber: string |
|||
remark: string |
|||
} |
|||
|
|||
// 查询制品收货记录子列表
|
|||
export const getProductreceiptDetailbPage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/productreceipt-detailb/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/productreceipt-detailb/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询制品收货记录子详情
|
|||
export const getProductreceiptDetailb = async (id: number) => { |
|||
return await request.get({ url: `/wms/productreceipt-detailb/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增制品收货记录子
|
|||
export const createProductreceiptDetailb = async (data: ProductreceiptDetailbVO) => { |
|||
return await request.post({ url: `/wms/productreceipt-detailb/create`, data }) |
|||
} |
|||
|
|||
// 修改制品收货记录子
|
|||
export const updateProductreceiptDetailb = async (data: ProductreceiptDetailbVO) => { |
|||
return await request.put({ url: `/wms/productreceipt-detailb/update`, data }) |
|||
} |
|||
|
|||
// 删除制品收货记录子
|
|||
export const deleteProductreceiptDetailb = async (id: number) => { |
|||
return await request.delete({ url: `/wms/productreceipt-detailb/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出制品收货记录子 Excel
|
|||
export const exportProductreceiptDetailb = async (params) => { |
|||
return await request.download({ url: `/wms/productreceipt-detailb/export-excel`, params }) |
|||
} |
Loading…
Reference in new issue