You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.6 KiB
51 lines
1.6 KiB
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 })
|
|
}
|
|
|