liuchen864
9 months ago
326 changed files with 13294 additions and 3019 deletions
@ -0,0 +1,69 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface ItemareaVO { |
|||
id: number |
|||
itemCode: string |
|||
areaCode: string |
|||
inPackUnit: string |
|||
outPackUnit: string |
|||
maxQty: number |
|||
minQty: number |
|||
safeQty: number |
|||
autoRepleinsh: string |
|||
repleinshFromArea: string |
|||
repleinshQty: number |
|||
needReceive: string |
|||
available: string |
|||
activeTime: Date |
|||
expireTime: Date |
|||
remark: string |
|||
manageMode: string |
|||
newlyToOutpackunit: string |
|||
surplusToOutpackunit: string |
|||
} |
|||
|
|||
// 查询物料库区配置列表
|
|||
export const getItemareaPage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/itemarea/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/itemarea/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询物料库区配置详情
|
|||
export const getItemarea = async (id: number) => { |
|||
return await request.get({ url: `/wms/itemarea/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增物料库区配置
|
|||
export const createItemarea = async (data: ItemareaVO) => { |
|||
return await request.post({ url: `/wms/itemarea/create`, data }) |
|||
} |
|||
|
|||
// 修改物料库区配置
|
|||
export const updateItemarea = async (data: ItemareaVO) => { |
|||
return await request.put({ url: `/wms/itemarea/update`, data }) |
|||
} |
|||
|
|||
// 删除物料库区配置
|
|||
export const deleteItemarea = async (id: number) => { |
|||
return await request.delete({ url: `/wms/itemarea/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出物料库区配置 Excel
|
|||
export const exportItemarea = async (params) => { |
|||
if (params.isSearch) { |
|||
const data = {...params} |
|||
return await request.downloadPost({ url: `/wms/itemarea/export-excel-senior`, data }) |
|||
} else { |
|||
return await request.download({ url: `/wms/itemarea/export-excel`, params }) |
|||
} |
|||
} |
|||
|
|||
// 下载用户导入模板
|
|||
export const importTemplate = () => { |
|||
return request.download({ url: '/wms/itemarea/get-import-template' }) |
|||
} |
@ -0,0 +1,50 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface ItemareaDetailVO { |
|||
id: number |
|||
masterId: number |
|||
remark: string |
|||
locationGroup: string |
|||
locationCode: string |
|||
} |
|||
|
|||
// 查询物料库区配置表子列表
|
|||
export const getItemareaDetailPage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/itemarea-detail/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/itemarea-detail/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询物料库区配置表子详情
|
|||
export const getItemareaDetail = async (id: number) => { |
|||
return await request.get({ url: `/wms/itemarea-detail/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增物料库区配置表子
|
|||
export const createItemareaDetail = async (data: ItemareaDetailVO) => { |
|||
return await request.post({ url: `/wms/itemarea-detail/create`, data }) |
|||
} |
|||
|
|||
// 修改物料库区配置表子
|
|||
export const updateItemareaDetail = async (data: ItemareaDetailVO) => { |
|||
return await request.put({ url: `/wms/itemarea-detail/update`, data }) |
|||
} |
|||
|
|||
// 删除物料库区配置表子
|
|||
export const deleteItemareaDetail = async (id: number) => { |
|||
return await request.delete({ url: `/wms/itemarea-detail/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出物料库区配置表子 Excel
|
|||
export const exportItemareaDetail = async (params) => { |
|||
return await request.download({ url: `/wms/itemarea-detail/export-excel`, params }) |
|||
} |
|||
|
|||
// 下载用户导入模板
|
|||
export const importTemplate = () => { |
|||
return request.download({ url: '/wms/itemarea-detail/get-import-template' }) |
|||
} |
@ -0,0 +1,59 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface ItemwarehouseVO { |
|||
id: number |
|||
itemCode: string |
|||
warehouseCode: string |
|||
manageMode: string |
|||
packUnit: string |
|||
available: string |
|||
activeTime: Date |
|||
expireTime: Date |
|||
remark: string |
|||
} |
|||
|
|||
// 查询物料仓库默认配置列表
|
|||
export const getItemwarehousePage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/itemwarehouse/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/itemwarehouse/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询物料仓库默认配置详情
|
|||
export const getItemwarehouse = async (id: number) => { |
|||
return await request.get({ url: `/wms/itemwarehouse/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增物料仓库默认配置
|
|||
export const createItemwarehouse = async (data: ItemwarehouseVO) => { |
|||
return await request.post({ url: `/wms/itemwarehouse/create`, data }) |
|||
} |
|||
|
|||
// 修改物料仓库默认配置
|
|||
export const updateItemwarehouse = async (data: ItemwarehouseVO) => { |
|||
return await request.put({ url: `/wms/itemwarehouse/update`, data }) |
|||
} |
|||
|
|||
// 删除物料仓库默认配置
|
|||
export const deleteItemwarehouse = async (id: number) => { |
|||
return await request.delete({ url: `/wms/itemwarehouse/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出物料仓库默认配置 Excel
|
|||
export const exportItemwarehouse = async (params) => { |
|||
if (params.isSearch) { |
|||
const data = {...params} |
|||
return await request.downloadPost({ url: `/wms/itemwarehouse/export-excel-senior`, data }) |
|||
} else { |
|||
return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) |
|||
} |
|||
} |
|||
|
|||
// 下载用户导入模板
|
|||
export const importTemplate = () => { |
|||
return request.download({ url: '/wms/itemwarehouse/get-import-template' }) |
|||
} |
@ -0,0 +1,71 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface PackageunitVO { |
|||
id: number |
|||
code: string |
|||
name: string |
|||
length: number |
|||
width: number |
|||
height: number |
|||
weight: number |
|||
unit: string |
|||
available: string |
|||
activeTime: Date |
|||
expireTime: Date |
|||
remark: string |
|||
deletionTime: Date |
|||
deleterId: string |
|||
extraProperties: string |
|||
concurrencyStamp: number |
|||
siteId: string |
|||
desc: string |
|||
reuse: string |
|||
manageBalance: string |
|||
} |
|||
|
|||
// 查询物品包装规格信息 列表
|
|||
export const getPackageunitPage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/packageunit/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/packageunit/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询物品包装规格信息 详情
|
|||
export const getPackageunit = async (id: number) => { |
|||
return await request.get({ url: `/wms/packageunit/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增物品包装规格信息
|
|||
export const createPackageunit = async (data: PackageunitVO) => { |
|||
return await request.post({ url: `/wms/packageunit/create`, data }) |
|||
} |
|||
|
|||
// 修改物品包装规格信息
|
|||
export const updatePackageunit = async (data: PackageunitVO) => { |
|||
return await request.put({ url: `/wms/packageunit/update`, data }) |
|||
} |
|||
|
|||
// 删除物品包装规格信息
|
|||
export const deletePackageunit = async (id: number) => { |
|||
return await request.delete({ url: `/wms/packageunit/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出物品包装规格信息 Excel
|
|||
export const exportPackageunit = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/packageunit/export-excel-senior', data }) |
|||
} else { |
|||
return await request.download({ url: `/wms/packageunit/export-excel`, params }) |
|||
} |
|||
} |
|||
|
|||
// 下载用户导入模板
|
|||
export const importTemplate = () => { |
|||
return request.download({ url: '/wms/packageunit/get-import-template' }) |
|||
} |
@ -0,0 +1,63 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface PlansettingVO { |
|||
id: number |
|||
code: string |
|||
requestMode: string |
|||
autoCommit: string |
|||
autoAgree: string |
|||
autoExecute: string |
|||
directCreateRecord: string |
|||
available: string |
|||
activeTime: Date |
|||
expireTime: Date |
|||
remark: string |
|||
concurrencyStamp: number |
|||
} |
|||
|
|||
// 查询计划设置列表
|
|||
export const getPlansettingPage = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/plansetting/senior', data }) |
|||
} else { |
|||
return await request.get({ url: `/wms/plansetting/page`, params }) |
|||
} |
|||
} |
|||
|
|||
// 查询计划设置详情
|
|||
export const getPlansetting = async (id: number) => { |
|||
return await request.get({ url: `/wms/plansetting/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增计划设置
|
|||
export const createPlansetting = async (data: PlansettingVO) => { |
|||
return await request.post({ url: `/wms/plansetting/create`, data }) |
|||
} |
|||
|
|||
// 修改计划设置
|
|||
export const updatePlansetting = async (data: PlansettingVO) => { |
|||
return await request.put({ url: `/wms/plansetting/update`, data }) |
|||
} |
|||
|
|||
// 删除计划设置
|
|||
export const deletePlansetting = async (id: number) => { |
|||
return await request.delete({ url: `/wms/plansetting/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出计划设置 Excel
|
|||
export const exportPlansetting = async (params) => { |
|||
if (params.isSearch) { |
|||
delete params.isSearch |
|||
const data = {...params} |
|||
return await request.post({ url: '/wms/plansetting/export-excel-senior', data }) |
|||
} else { |
|||
return await request.download({ url: `/wms/plansetting/export-excel`, params }) |
|||
} |
|||
} |
|||
|
|||
// 下载用户导入模板
|
|||
export const importTemplate = () => { |
|||
return request.download({ url: '/wms/plansetting/get-import-template' }) |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue