初始化仓库

This commit is contained in:
tao
2025-12-18 14:11:48 +08:00
parent e96f277a68
commit 54ec472bd4
1107 changed files with 158756 additions and 0 deletions

61
api/wms/location.js Normal file
View File

@@ -0,0 +1,61 @@
import request from '@/utils/wms-request'
// 查询库位列表
export function listLocation(query) {
return request({
url: '/basic/location/list',
method: 'get',
params: query
})
}
// 查询库位详细
export function getLocation(id) {
return request({
url: '/basic/location/' + id,
method: 'get'
})
}
// 新增库位
export function addLocation(data) {
return request({
url: '/basic/location',
method: 'post',
data: data
})
}
// 修改库位
export function updateLocation(data) {
return request({
url: '/basic/location',
method: 'put',
data: data
})
}
// 删除库位
export function delLocation(id) {
return request({
url: '/basic/location/' + id,
method: 'delete'
})
}
// 导出库位
export function exportLocation(query) {
return request({
url: '/basic/location/export',
method: 'get',
params: query
})
}
export function printStorageLocs(data) {
return request({
url: '/basic/location/mergePrintPdfs',
method: 'post',
data: data
})
}