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.
56 lines
1.5 KiB
56 lines
1.5 KiB
2 years ago
|
import request from '@/config/axios'
|
||
|
|
||
|
export interface PickRequestMainVO {
|
||
|
fromWarehouseCode: string
|
||
|
fromLocationTypes: string
|
||
|
fromAreas: string
|
||
|
number: string
|
||
|
businessType: string
|
||
|
remark: string
|
||
|
createTime: Date
|
||
|
creator: string
|
||
|
requestTime: Date
|
||
|
dueTime: Date
|
||
|
departmentCode: string
|
||
|
status: string
|
||
|
updateTime: Date
|
||
|
updater: string
|
||
|
toWarehouseCode: string
|
||
|
toLocationTypes: string
|
||
|
toAreaCodes: string
|
||
|
autoCommit: string
|
||
|
autoAgree: string
|
||
|
autoExecute: string
|
||
|
directCreateRecord: string
|
||
|
}
|
||
|
|
||
|
// 查询拣料申请主列表
|
||
|
export const getPickRequestMainPage = async (params) => {
|
||
|
return await request.get({ url: `/wms/pick-request-main/page`, params })
|
||
|
}
|
||
|
|
||
|
// 查询拣料申请主详情
|
||
|
export const getPickRequestMain = async (id: number) => {
|
||
|
return await request.get({ url: `/wms/pick-request-main/get?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 新增拣料申请主
|
||
|
export const createPickRequestMain = async (data: PickRequestMainVO) => {
|
||
|
return await request.post({ url: `/wms/pick-request-main/create`, data })
|
||
|
}
|
||
|
|
||
|
// 修改拣料申请主
|
||
|
export const updatePickRequestMain = async (data: PickRequestMainVO) => {
|
||
|
return await request.put({ url: `/wms/pick-request-main/update`, data })
|
||
|
}
|
||
|
|
||
|
// 删除拣料申请主
|
||
|
export const deletePickRequestMain = async (id: number) => {
|
||
|
return await request.delete({ url: `/wms/pick-request-main/delete?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 导出拣料申请主 Excel
|
||
|
export const exportPickRequestMain = async (params) => {
|
||
|
return await request.download({ url: `/wms/pick-request-main/export-excel`, params })
|
||
|
}
|