仓库相关-基本功能完成

This commit is contained in:
赵正易
2024-03-22 17:28:39 +08:00
parent 0da532301b
commit be3ff3bb54
13 changed files with 1334 additions and 318 deletions

View File

@@ -1,6 +1,6 @@
import upload from '@/utils/upload'
import request from '@/utils/request'
// 入库接口 ========
// 获取库位信息
export function getProductLocationInfo(params) {
return request({
@@ -73,3 +73,70 @@ export function handlerIntoProductWarehouse(data) {
})
}
// 一般退库
export function handlErexitwarehouse(params) {
return request({
url: '/mes/wm/exitwarehouse/common',
method: 'get',
params
})
}
// 2 根据箱标签的批次号,获取成品库内的信息
export function getInfoByPatchCode(params) {
return request({
url: '/mes/wm/WmMaterial/getInfoByPatchCode',
method: 'get',
params
})
}
// 出库接口 =========
/**
* 获取出货单(物料+客户)详情
* @param {Id}
*/
export function getWmOutOrder(id) {
return request({
url: '/mes/wm/WmOutOrder/' + id,
method: 'get'
})
}
/**
* 5.成品出库
* @param {Id}
*/
export function doMaterialOut(data) {
return request({
url: '/mes/wm/WmOutOrder/doMaterialOut',
method: 'post',
data
})
}
/**
* 5.出库单完成
* @param {Id}
*/
export function doOverOutorderplan(params) {
return request({
url: '/mes/wm/WmOutOrder/over_outorderplan',
method: 'get',
params
})
}
// 移库接口
/**
* 移库(物料+客户)
* @data id,location
*/
export function UpdateWmGoodsOutProduction(data) {
return request({
url: '/mes/wm/WmOutOrder',
method: 'PUT',
data: data,
})
}