组盘入库、物料入库加功能

This commit is contained in:
2025-08-27 19:48:20 +08:00
parent 45bdf167e3
commit caef2ecc53
4 changed files with 173 additions and 20 deletions

View File

@@ -44,9 +44,9 @@ export const getFloor = () => request({
})
// 物料组盘确认
export const groupPlate = (mid, qty, vcode) => request({
export const groupPlate = (mid, qty, vcode, dtlList) => request({
url:'api/pda/iosIn/groupPlate',
data: {material_id: mid, qty: qty, vehicle_code: vcode}
data: {material_id: mid, qty: qty, vehicle_code: vcode, dtlList: dtlList}
})
// 定点确认
@@ -111,4 +111,25 @@ export const schPointBinding = (code, vcode, data) => request({
export const schPointDissect = (code, vcode, data) => request({
url:'/api/pda/schPoint/dissect',
data: {struct_code: code, vehicle_code: vcode, data: data}
})
export const addTaskV2 = (Value, point1, point2) => request({
url:'api/fms/addTaskV2',
data: {
TaskType: '任务11',
Params: [
{
Key: 'TaskId',
Value: Value
},
{
Key: 'point1',
Value: point1
},
{
Key: 'point2',
Value: point2
}
]
}
})

7
utils/mork.js Normal file
View File

@@ -0,0 +1,7 @@
export const getMaterialList = (search, page, size) => {
let res = {
totalElements: 100,
content: [{material_name: '00001', material_spec: 'dfjlfjlf', material_code: 'aaaaa1', material_id: '1'}]
}
return res
}