为库位增加“允许产品混放”和“允许批次混放”两个标识;为库区增加批量设置所有库位产品混放和批次混放的功能。

This commit is contained in:
yinjinlu-pc\尹金路
2025-02-06 11:44:43 +08:00
parent 600f118b64
commit 6f5925bfb9
3 changed files with 153 additions and 1 deletions

View File

@@ -43,6 +43,30 @@ export function delLocation(locationId) {
})
}
// 设置库区下所有库位是否允许产品混放
export function setProductMixing(locationId, flag){
return request({
url: '/mes/wm/location/setProductMixing',
method: 'post',
params: {
'locationId': locationId,
'flag': flag
}
})
}
// 设置库区下所有库位是否允许批次混放
export function setBatchMixing(locationId, flag){
return request({
url: '/mes/wm/location/setBatchMixing',
method: 'post',
params: {
'locationId': locationId,
'flag': flag
}
})
}
//更改库区的冻结状态
export function changeFrozenState(locationId, status) {
const data = {