refactor: 优化首页菜单图标显示方式 fix: 修复SignalR连接初始化问题 style: 更新manifest.json版本号至2.0.0 chore: 新增多个SVG图标资源 perf: 为登录接口添加超时处理 docs: 更新API接口文档 test: 添加油漆件叫料相关测试用例 build: 更新依赖版本
98 lines
2.2 KiB
JavaScript
98 lines
2.2 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询叫料需求表列表
|
|
export function getMmCallList(params) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/list',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 查询线别MRP表
|
|
export function queryCallMaterialMRP(params) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallMaterialMRP',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 获取线清单 groupCode groupName
|
|
export function getLineOptions(params) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/GetLineOptions',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 查询叫料需求表详情
|
|
export function getMmCallInfo(Id) {
|
|
return request({
|
|
url: `/mes/materialManagement/paintedparts_call/mmcall/${Id}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 添加叫料需求表
|
|
export function addMmCall(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 更新叫料需求表
|
|
export function updateMmCall(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall',
|
|
method: 'put',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 删除叫料需求表
|
|
export function deleteMmCall(ids) {
|
|
return request({
|
|
url: `/mes/materialManagement/paintedparts_call/mmcall/${ids}`,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 生成产线油漆件MRP
|
|
export function generateLineMmCallMRP(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/GenerateLineMmCallMRP',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 涂装油漆件产线叫料
|
|
export function doLineCallMaterial(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/DoLineCallMaterial',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 涂装油漆件产线领料
|
|
export function doLineReceiveMaterial(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/DoLineReceiveMaterial',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 涂装油漆件产线退料
|
|
export function doLineReturnBackMaterial(data) {
|
|
return request({
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/DoLineReturnBackMaterial',
|
|
method: 'post',
|
|
data
|
|
})
|
|
} |