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.
 
 
 
 

68 lines
2.1 KiB

import request from '@/config/axios'
export interface CountadjustRequestDetailVO {
countDetailNumber: string
ownerlCode: string
packinglNumber: string
containerlNumber: string
batch: string
locationlCode: string
inventorylStatus: string
inventorylQty: number
countlQty: number
adjustlQty: number
number: string
remark: string
createTime: Date
creator: string
itemlName: string
itemlDesc1: string
itemlDesc2: string
projectlCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemlCode: string
}
// 查询盘点调整申请子列表
export const getCountadjustRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/countadjust-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/countadjust-request-detail/page`, params })
}
}
// 查询盘点调整申请子详情
export const getCountadjustRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/countadjust-request-detail/get?id=` + id })
}
// 新增盘点调整申请子
export const createCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => {
return await request.post({ url: `/wms/countadjust-request-detail/create`, data })
}
// 修改盘点调整申请子
export const updateCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => {
return await request.put({ url: `/wms/countadjust-request-detail/update`, data })
}
// 删除盘点调整申请子
export const deleteCountadjustRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/countadjust-request-detail/delete?id=` + id })
}
// 导出盘点调整申请子 Excel
export const exportCountadjustRequestDetail = async (params) => {
return await request.download({ url: `/wms/countadjust-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/countadjust-request-detail/get-import-template' })
}