Commit c17461ce authored by 张海景's avatar 张海景

update:修改生产排产

parent aff0696b
......@@ -14,7 +14,7 @@ export function updateList(query) {
return request({
url: "/mes/pro/taskWorkunit/update",
method: "post",
data: query,
data: query
});
}
// 下达生产
......@@ -22,7 +22,7 @@ export function makeProduction(query) {
return request({
url: "/mes/pro/taskWorkunit/makeProduction",
method: "post",
data: query,
data: query
});
}
......@@ -31,7 +31,7 @@ export function makeSchedule(query) {
return request({
url: "/mes/pro/protask/schedule",
method: "post",
data: query,
data: query
});
}
......@@ -40,6 +40,46 @@ export function taskWorkunitList(query) {
return request({
url: "/mes/pro/taskWorkunit/workorderList",
method: "post",
data: query,
data: query
});
}
// 车间列表查询
export function getworkshopList(query) {
// workshopId workshopName
return request({
url: "/mes/md/workshop/list",
method: "get"
});
}
// 工作中心查询
export function getworkstationList(query) {
// workshopId workstationId workstationName
return request({
url: "/mes/md/workstation/list",
method: "get",
params: query
});
}
// 查询任务工作单元列表
export function gettaskWorkunitList(query) {
// workshopId workCenterId = workstationId workstationName workunitId workunitName
return request({
url: "md/workunit/list",
method: "get",
params: query,
});
}
// 默认工作中心查询
export function getdefaultWorkCenterList() {
// workshopId workCenterId = workstationId workstationName workunitId workunitName
return request({
url: "/mes/md/workstation/defaultList",
method: "get"
});
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment