This commit is contained in:
2023-01-04 17:15:26 +08:00
parent 6e32d8d473
commit 7bd2c9cfc1

View File

@@ -77,34 +77,34 @@ export const sendMaterialConfirm = (sid, scode, spcode, nid, ncode, npcode) => p
* 取放桶盖 * 取放桶盖
*/ */
// 1.1查询所有区域信息 // 1.1查询所有区域信息
// export const handArea = () => post('api/hand/area', {}) export const handArea = () => post('api/hand/area', {})
export const handArea = () => { // export const handArea = () => {
let res = { // let res = {
code: '1', // code: '1',
result: [{ // result: [{
region_id: '1', // region_id: '1',
region_code: '1', // region_code: '1',
region_name: 'A001' // region_name: 'A001'
}] // }]
} // }
return res // return res
} // }
// 1.2根据区域查询点位 // 1.2根据区域查询点位
// export const handPoint = (reg) => post('api/hand/point', { export const handPoint = (reg) => post('api/hand/point', {
// region: reg region: reg
// }) })
export const handPoint = () => { // export const handPoint = () => {
let res = { // let res = {
code: '1', // code: '1',
result: [{ // result: [{
device_id: '1', // device_id: '1',
device_code: '1', // device_code: '1',
device_name: 'A001-001', // device_name: 'A001-001',
status: '2' // status: '2'
}] // }]
} // }
return res // return res
} // }
// 1.3取放盖确认 // 1.3取放盖确认
export const handTake = (code, type) => post('api/hand/take', { export const handTake = (code, type) => post('api/hand/take', {
device_code: code, device_code: code,