物料组盘入库

This commit is contained in:
2024-08-15 16:34:30 +08:00
parent 0f2b04240d
commit 36d46d1991
5 changed files with 313 additions and 1 deletions

View File

@@ -21,6 +21,17 @@ export const handLogin = (user, password) => request({
}
})
/**
* 物料组盘入库
*/
export const groupMaterList = (page, size, search) => request({
url:'api/groupMater/maters',
data: {page: page, size: size, search: search}
})
export const groupMaterIn = (code, item) => request({
url:'api/groupMater/in',
data: {stor_code: code, item: item}
})
/**
* 组盘入库
*/

View File

@@ -57,4 +57,42 @@ export const pmFormData = (code) => {
msg: '查询成功'
}
return res
}
export const groupMaterList = () => {
let res = {
totalElements: '2',
content: [
{
material_id: '1',
material_name: null,
material_code: '100',
material_spec: null,
single_weight: null,
qty: '0.000',
assign_qty: '0.000',
unit_id: null,
pcsn: null,
vehicle_code: null,
vehicle_id: null
},
{
material_id: '2',
material_name: null,
material_code: '200',
material_spec: null,
single_weight: null,
qty: '0.000',
assign_qty: '0.000',
unit_id: null,
pcsn: null,
vehicle_code: null,
vehicle_id: null
}
],
data: null,
code: '200',
msg: '查询成功'
}
return res
}