人工排产

This commit is contained in:
2024-02-22 14:50:51 +08:00
parent e672f1abe8
commit 2725e42919
8 changed files with 246 additions and 141 deletions

View File

@@ -26,10 +26,55 @@ export const handLogin = (user, password) => request({
* 人工排产
*/
// 工单
export const manualSortingOrders = () => request({
url:'api/pda/manualSorting/orders',
data: {}
})
// export const manualSortingOrders = () => request({
// url:'api/pda/manualSorting/orders',
// data: {}
// })
export const manualSortingOrders = () => {
let res = [
{
"workorder_code": "231117001",
"material_code": "ZJB",
"material_name": "正极板",
"workorder_status": "1",
"operator": null,
"create_name": "管理员",
"plan_qty": "1111",
"real_qty": "0"
},
{
"workorder_code": "231128002",
"material_code": "FJB",
"material_name": "负极板",
"workorder_status": "3",
"operator": null,
"create_name": "管理员",
"plan_qty": "2222",
"real_qty": "0"
},
{
"workorder_code": "231128003",
"material_code": "BFJB",
"material_name": "边负极板",
"workorder_status": "4",
"operator": 'admin',
"create_name": "管理员",
"plan_qty": "1111",
"real_qty": "0"
},
{
"workorder_code": "231212003",
"material_code": "BFJB",
"material_name": "边负极板",
"workorder_status": "1",
"operator": null,
"create_name": "管理员",
"plan_qty": "8989767",
"real_qty": "0"
}
]
return res
}
// 开工
export const productionScheduling = (code, user) => request({
url:'api/pda/manualSorting/productionScheduling',