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.
57 lines
1.8 KiB
57 lines
1.8 KiB
import request from '@/config/axios'
|
|
|
|
export interface ProductputawayRequestMainVO {
|
|
id: number
|
|
supplierCode: string
|
|
fromWarehouseCode: string
|
|
toWarehouseCode: string
|
|
fromLocationTypes: string
|
|
toLocationTypes: string
|
|
fromAreaCodes: string
|
|
toAreaCodes: string
|
|
number: string
|
|
businessType: string
|
|
remark: string
|
|
createTime: Date
|
|
creator: string
|
|
requestTime: Date
|
|
dueTime: Date
|
|
departmentCode: string
|
|
status: string
|
|
updateTime: Date
|
|
updater: string
|
|
autoCommit: string
|
|
autoAgree: string
|
|
autoExecute: string
|
|
directCreateRecord: string
|
|
}
|
|
|
|
// 查询制品上架申请主列表
|
|
export const getProductputawayRequestMainPage = async (params) => {
|
|
return await request.get({ url: `/wms/productputaway-request-main/page`, params })
|
|
}
|
|
|
|
// 查询制品上架申请主详情
|
|
export const getProductputawayRequestMain = async (id: number) => {
|
|
return await request.get({ url: `/wms/productputaway-request-main/get?id=` + id })
|
|
}
|
|
|
|
// 新增制品上架申请主
|
|
export const createProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => {
|
|
return await request.post({ url: `/wms/productputaway-request-main/create`, data })
|
|
}
|
|
|
|
// 修改制品上架申请主
|
|
export const updateProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => {
|
|
return await request.put({ url: `/wms/productputaway-request-main/update`, data })
|
|
}
|
|
|
|
// 删除制品上架申请主
|
|
export const deleteProductputawayRequestMain = async (id: number) => {
|
|
return await request.delete({ url: `/wms/productputaway-request-main/delete?id=` + id })
|
|
}
|
|
|
|
// 导出制品上架申请主 Excel
|
|
export const exportProductputawayRequestMain = async (params) => {
|
|
return await request.download({ url: `/wms/productputaway-request-main/export-excel`, params })
|
|
}
|
|
|