2026-03-05 17:19:48 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询钢卷库区操作记录列表
|
|
|
|
|
export function listCoilWarehouseOperationLog(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/list',
|
|
|
|
|
method: 'get',
|
2026-04-20 15:15:37 +08:00
|
|
|
params: query,
|
|
|
|
|
timeout: 100000,
|
2026-03-05 17:19:48 +08:00
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询钢卷库区操作记录详细
|
|
|
|
|
export function getCoilWarehouseOperationLog(logId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/' + logId,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增钢卷库区操作记录
|
|
|
|
|
export function addCoilWarehouseOperationLog(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改钢卷库区操作记录
|
|
|
|
|
export function updateCoilWarehouseOperationLog(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog',
|
|
|
|
|
method: 'put',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除钢卷库区操作记录
|
|
|
|
|
export function delCoilWarehouseOperationLog(logId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/' + logId,
|
|
|
|
|
method: 'delete'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据钢卷 ID、操作类型及出入库类型删除钢卷库区操作记录
|
|
|
|
|
export function delCoilWarehouseOperationLogByCoilId(params) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/byCoilId',
|
|
|
|
|
method: 'delete',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据二级库区ID和时间范围查询操作记录及钢卷信息
|
|
|
|
|
export function getCoilWarehouseOperationLogByWarehouseId(params) {
|
|
|
|
|
return request({
|
|
|
|
|
timeout: 100000,
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/byWarehouseAndTime',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|
2026-03-06 13:04:17 +08:00
|
|
|
|
|
|
|
|
// 根据钢卷ID查询操作记录及钢卷信息、库区信息
|
|
|
|
|
export function getCoilWarehouseOperationLogByCoilId(params) {
|
|
|
|
|
return request({
|
|
|
|
|
timeout: 100000,
|
|
|
|
|
url: '/wms/coilWarehouseOperationLog/byCoilId',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|