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' }) } // 异常判级 export function judgeAbnormalLevel(params) { return request({ url: '/wms/coilAbnormal/judge', method: 'put', params }) }