入库功能完成
This commit is contained in:
@@ -1,11 +1,75 @@
|
||||
import upload from '@/utils/upload'
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取仓库信息
|
||||
export function getWareHouseProfile(data) {
|
||||
// 获取库位信息
|
||||
export function getProductLocationInfo(params) {
|
||||
return request({
|
||||
url: '/wms/wareHouse/getWareHouseProfile',
|
||||
method: 'pose',
|
||||
url: '/mes/wm/storagelocation/get_location_info',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 根据库位获取已存在货物
|
||||
export function getOldPackagelist(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/packagelist',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 判断是否是库位编码
|
||||
export function isProductionLocation(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/is_production_location',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 判断是否为成品库箱子码
|
||||
export function isProductionPackage(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/is_production_package',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 判断是否为满箱
|
||||
export function isFullPackage(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/is_full_package',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 判断箱子是否已在库中
|
||||
export function isExistedWarehouse(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/is_existed_warehouse',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 解析外箱标签编码
|
||||
export function resolutionPackage(params) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/resolution_package',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 入库
|
||||
export function handlerIntoProductWarehouse(data) {
|
||||
return request({
|
||||
url: '/mes/wm/entrywarehouse/into_product_warehouse',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user