add物料扣减

This commit is contained in:
2026-01-23 18:10:55 +08:00
parent e0bb2d84f7
commit 9ab6c333c7
11 changed files with 301 additions and 7 deletions

View File

@@ -190,4 +190,44 @@ export const generateStoreInTask = () => {
"point_code": "SD01"
}
return res
}
}
export const getGroupByVehicleCode = () => {
let res = {
"vehicle_type_name": "钢托盘",
"materials": [
{
"order_code": "800036430823",
"group_id": "57412",
"material_qty": 1,
"material_code": "A7E0019000590_01"
},
{
"order_code": "800036430823",
"group_id": "57415",
"material_qty": 1,
"material_code": "A7E0019000590_01"
},
{
"order_code": "OR786807",
"group_id": "57478",
"material_qty": 20,
"material_code": "A7E44207473003_0A"
},
{
"order_code": "800036431198",
"group_id": "57479",
"material_qty": 20,
"material_code": "A7E0019008850_00"
}
],
"vehicle_type": "G01",
"vehicle_code": "P01A00000014"
}
return res
}
export const materialUpdate = () => {
let res = {
message: 'ok'
}
return res
}