区域锁定需求

This commit is contained in:
蔡玲
2024-09-24 15:15:04 +08:00
parent f586ef5ed3
commit 1158f09676
4 changed files with 114 additions and 13 deletions

View File

@@ -26,9 +26,9 @@ export const regionList = () => request({
method: 'GET'
})
// 区域锁定
export const handheldLock = (code, status) => request({
export const handheldLock = (code, status, data) => request({
url:'api/handheld/lock',
data: {region_code: code, status: status}
data: {region_code: code, status: status, pointCodes: data}
})
// 外协区空料架送回
export const handheldRack = (code, vcode) => request({
@@ -90,4 +90,8 @@ export const fabMaterial = (code) => request({
export const callMater = (mater, code, vcode) => request({
url:'api/fab/callMater',
data: {mater: mater, device_code: code, vehicle_code: vcode}
})
export const selectPointByRegion = (code) => request({
url:'api/handheld/selectPointByRegion?regionCode=' + code,
method: 'GET'
})