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.4 KiB
51 lines
1.4 KiB
import request from '@/config/axios'
|
|
|
|
export interface PreparetoissueMainVO {
|
|
productionPlanNumber: string
|
|
workshop: string
|
|
prodLine: string
|
|
shift: string
|
|
team: string
|
|
planDate: Date
|
|
number: string
|
|
businessType: string
|
|
remark: string
|
|
createTime: Date
|
|
creator: string
|
|
beginTime: Date
|
|
endTime: Date
|
|
status: string
|
|
updateTime: Date
|
|
updater: string
|
|
available: string
|
|
}
|
|
|
|
// 查询备料计划主列表
|
|
export const getPreparetoissueMainPage = async (params) => {
|
|
return await request.get({ url: `/wms/preparetoissue-main/page`, params })
|
|
}
|
|
|
|
// 查询备料计划主详情
|
|
export const getPreparetoissueMain = async (id: number) => {
|
|
return await request.get({ url: `/wms/preparetoissue-main/get?id=` + id })
|
|
}
|
|
|
|
// 新增备料计划主
|
|
export const createPreparetoissueMain = async (data: PreparetoissueMainVO) => {
|
|
return await request.post({ url: `/wms/preparetoissue-main/create`, data })
|
|
}
|
|
|
|
// 修改备料计划主
|
|
export const updatePreparetoissueMain = async (data: PreparetoissueMainVO) => {
|
|
return await request.put({ url: `/wms/preparetoissue-main/update`, data })
|
|
}
|
|
|
|
// 删除备料计划主
|
|
export const deletePreparetoissueMain = async (id: number) => {
|
|
return await request.delete({ url: `/wms/preparetoissue-main/delete?id=` + id })
|
|
}
|
|
|
|
// 导出备料计划主 Excel
|
|
export const exportPreparetoissueMain = async (params) => {
|
|
return await request.download({ url: `/wms/preparetoissue-main/export-excel`, params })
|
|
}
|
|
|