| | |
| | | }); |
| | | }; |
| | | |
| | | export const getStockInventoryBatchNoQty = (params) => { |
| | | return request({ |
| | | url: "/stockInventory/getBatchNoQty", |
| | | method: "get", |
| | | params, |
| | | }); |
| | | }; |
| | | |
| | | // 创建库存记录 |
| | | export const createStockInventory = (params) => { |
| | | return request({ |
| | |
| | | }); |
| | | }; |
| | | |
| | | // 获取物联设备实时数采数据 |
| | | export const getIotRealtimeData = (id) => { |
| | | return request({ |
| | | url: `/stockInventory/iotRealtime/${id}`, |
| | | method: "get", |
| | | }); |
| | | }; |
| | | |
| | | // 批量获取物联设备实时数采数据(POST请求,传递设备ID数组) |
| | | export const batchGetIotRealtimeData = (deviceIds) => { |
| | | return request({ |
| | | url: `/stockInventory/iotRealtime`, |
| | | method: "post", |
| | | data: deviceIds, |
| | | }); |
| | | }; |
| | | |