feat(wms): 新增钢卷异常管理功能

添加钢卷异常信息管理模块,包括异常记录、查询和展示功能
- 新增异常信息列表页面和详情页面
- 在钢卷管理页面添加异常数量显示和操作入口
- 实现异常信息的增删改查API接口
- 在领料页面添加异常标记和操作按钮
- 添加相关字典数据用于异常信息分类
This commit is contained in:
砂糖
2025-12-04 16:22:03 +08:00
parent 24b2381046
commit 01d8c87bc9
7 changed files with 558 additions and 12 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询钢卷异常信息列表
export function listCoilAbnormal(query) {
return request({
url: '/wms/coilAbnormal/list',
method: 'get',
params: query
})
}
// 查询钢卷异常信息详细
export function getCoilAbnormal(abnormalId) {
return request({
url: '/wms/coilAbnormal/' + abnormalId,
method: 'get'
})
}
// 新增钢卷异常信息
export function addCoilAbnormal(data) {
return request({
url: '/wms/coilAbnormal',
method: 'post',
data: data
})
}
// 修改钢卷异常信息
export function updateCoilAbnormal(data) {
return request({
url: '/wms/coilAbnormal',
method: 'put',
data: data
})
}
// 删除钢卷异常信息
export function delCoilAbnormal(abnormalId) {
return request({
url: '/wms/coilAbnormal/' + abnormalId,
method: 'delete'
})
}