This commit is contained in:
2025-08-21 14:39:09 +08:00
parent 26ed7822b2
commit 3a43e50e15
9 changed files with 341 additions and 66 deletions

View File

@@ -227,6 +227,11 @@ export const getPlate = (vcode) => request({
url:'api/pda/iosIn/getPlate',
data: {vehicle_code: vcode}
})
// PDA来料入库校验点位和托盘码
export const inCheck = () => request({
url:'api/pda/iosIn/inCheck',
data: {}
})
// 空载具出入库
// 载具编码下拉框
@@ -235,33 +240,47 @@ export const getPdaSect = (scode, page, size) => request({
data: {stor_code: scode, page: page, size: size}
})
// 空载具入库
export const vehicleInConfirm = (vcode, sectcode) => request({
export const vehicleInConfirm = (vcode, sectcode, pcode) => request({
url:'api/pda/iosIn/vehicleInConfirm',
data: {vehicle_code: vcode, sect_code: sectcode}
data: {vehicle_code: vcode, sect_code: sectcode, point_code: pcode}
})
// 空载具出库
export const iosOutvehicleOutConfirm = (sid, siteCode) => request({
url:'api/pda/iosOut/vehicleOutConfirm',
data: {sect_id: sid, siteCode: siteCode}
})
// 通过载具编码获取点位
export const getPointCodeByVehicleCode = (vcode) => request({
url:'api/pda/iosIn/getPointCodeByVehicleCode',
data: {vehicle_code: vcode}
})
// 手工叫料/退料
// 手工叫料
export const checkoutbillcallMaterial = (dcode, scode, mcode, type) => request({
export const checkoutbillcallMaterial = (dcode, scode, mcode, type, spcode, spname) => request({
url:'api/checkoutbill/callMaterial',
data: {device_code: dcode, struct_code: scode, material_code: mcode, task_type: type}
data: {device_code: dcode, struct_code: scode, material_code: mcode, task_type: type, supp_code: spcode, supp_name: spname}
})
// 手工退料
export const checkoutbillBackMaterial = (dcode, vcode, type, qty, mcode) => request({
export const checkoutbillBackMaterial = (dcode, vcode, type, qty, mcode, spcode, spname) => request({
url:'api/checkoutbill/BackMaterial',
data: {device_code: dcode, vehicle_code: vcode, task_type: type, qty: qty, material_code: mcode}
data: {device_code: dcode, vehicle_code: vcode, task_type: type, qty: qty, material_code: mcode, supp_code: spcode, supp_name: spname}
})
// 获取库位
// 获取库位(已弃用)
export const getPdaStruct = (scode) => request({
url:'api/pda/iosIn/getPdaStruct',
data: {sect_code: scode}
})
// 根据库区获得料桶号列表
export const getPdaVehicleCodeBySectCode = (scode) => request({
url:'api/pda/iosOut/getPdaVehicleCodeBySectCode',
data: {sect_code: scode}
})
// 根据料桶号获得物料、供应商详情
export const getMaterialSuppByVehicleCode = (vcode) => request({
url:'api/pda/iosOut/getMaterialSuppByVehicleCode',
data: {vehicle_code: vcode}
})
// 点位属性设置
export const updatePointType = (code, type) => request({
url:'api/schBasePoint/updatePointType',
@@ -270,9 +289,9 @@ export const updatePointType = (code, type) => request({
// 组盘入库
// 物料组盘(带单据)
export const zwgroupPlate = (vcode, mid, qty, ecode) => request({
export const zwgroupPlate = (vcode, mid, qty, ecode, spcode, spname) => request({
url:'api/pda/iosIn/groupPlate',
data: {vehicle_code: vcode, material_id: mid, qty: qty, ext_code: ecode}
data: {vehicle_code: vcode, material_id: mid, qty: qty, ext_code: ecode, supp_code: spcode, supp_name: spname}
})
// 获取单据下拉清单
// export const getFormDataList = (fdcode) => request({
@@ -284,9 +303,20 @@ export const getFormMaterial = (ecode) => request({
url:'api/pda/iosIn/getFormMaterial',
data: {ext_code: ecode}
})
// 获取供应商
export const supplierdroplist = () => request({
url:'api/pda/iosIn/supplier-drop-list',
data: {}
})
// 物料组盘入库
export const combination = (vcode, pcsn, mid, spcode, spname, sweight) => request({
url:'api/pda/jb/combination',
data: {vehicle_code: vcode, pcsn: pcsn, material_id: mid, supp_code: spcode, supp_name: spname, single_weight: sweight}
})
// 确认取货
export const pickUp = () => request({
url:'api/pda/iosOut/pickUp',
data: {}
})