2025-08-06 10:25:23 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询叫料需求表列表
|
|
|
|
|
export function getMmCallList(params) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询线别MRP表
|
2025-08-06 17:18:44 +08:00
|
|
|
export function queryCallMaterialMRPList(params) {
|
2025-08-06 10:25:23 +08:00
|
|
|
return request({
|
2025-08-06 17:18:44 +08:00
|
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallMaterialMRPList',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 查询线别收料表
|
|
|
|
|
export function queryCallReceiveList(params) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallReceiveList',
|
2025-08-06 10:25:23 +08:00
|
|
|
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
|
|
|
|
|
})
|
|
|
|
|
}
|