人工叫料

This commit is contained in:
2025-11-05 10:40:54 +08:00
parent 0bcbc2b449
commit e33d89d190
4 changed files with 104 additions and 7 deletions

View File

@@ -263,9 +263,9 @@ export const getPointCodeByVehicleCode = (vcode) => request({
// 手工叫料/退料
// 手工叫料
export const checkoutbillcallMaterial = (dcode, scode, mcode, type, spcode, spname) => request({
export const checkoutbillcallMaterial = (dcode, type, id) => request({
url:'api/checkoutbill/callMaterial',
data: {device_code: dcode, struct_code: scode, material_code: mcode, task_type: type, supp_code: spcode, supp_name: spname}
data: {device_code: dcode, task_type: type, storagevehicleext_id: id}
})
// 手工退料
export const checkoutbillBackMaterial = (code, type, qty) => request({

View File

@@ -396,4 +396,102 @@ export const getStructCount = (code) => {
z: 300
}
return res
}
export const getPdaCallEquipment = () => {
let res = {
data: [{text: '1', value: '1'}]
}
return res
}
export const getPdaCallMaterialSect = (pcode) => {
let res = {
data: [{text: '2', value: '2'}]
}
return res
}
export const getStructivtByMaterialAndSectCode = (scode, mcode) => {
let res = {
"code": "200",
"message": "操作成功!",
"data": [
{
"supp_code": "hk",
"create_time": "2025-08-29 16:34:28",
"supp_name": "海康",
"material_model": "加钠",
"remark": null,
"storagevehicle_code": "LT0060",
"stor_name": "料桶缓存库",
"qty": 10.000,
"qty_unit_name": "Pcs",
"pcsn": "pc",
"struct_name": "T95",
"sect_name": "超细区",
"frozen_qty": 0.000,
"struct_code": "T95",
"material_name": "钨粉2",
"storagevehicleext_id": "1961346700035624960",
"material_code": "wu2"
},
{
"supp_code": null,
"create_time": "2025-08-14 15:52:31",
"supp_name": null,
"material_model": null,
"remark": null,
"storagevehicle_code": "LT0011",
"stor_name": "料桶缓存库",
"qty": 1.000,
"qty_unit_name": "Pcs",
"pcsn": "空料桶入库",
"struct_name": "A11",
"sect_name": "超细区",
"frozen_qty": 0.000,
"struct_code": "A11",
"material_name": "空料桶",
"storagevehicleext_id": "1955900325860872192",
"material_code": "KLT001"
},
{
"supp_code": null,
"create_time": "2025-08-14 15:50:52",
"supp_name": null,
"material_model": "加钠",
"remark": null,
"storagevehicle_code": "LT0076",
"stor_name": "料桶缓存库",
"qty": 10.000,
"qty_unit_name": "Pcs",
"pcsn": "退料",
"struct_name": "T97",
"sect_name": "超细区",
"frozen_qty": 0.000,
"struct_code": "T97",
"material_name": "钨粉2",
"storagevehicleext_id": "1955899913837613056",
"material_code": "wu2"
},
{
"supp_code": null,
"create_time": "2025-08-14 10:21:30",
"supp_name": null,
"material_model": null,
"remark": null,
"storagevehicle_code": "LT0080",
"stor_name": "料桶缓存库",
"qty": 1.000,
"qty_unit_name": "Pcs",
"pcsn": "空料桶入库",
"struct_name": "T96",
"sect_name": "超细区",
"frozen_qty": 1.000,
"struct_code": "T96",
"material_name": "空料桶",
"storagevehicleext_id": "1955817020029276160",
"material_code": "KLT001"
}
]
}
return res
}