人工排产
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user