diff --git a/pda/api/warehouse/inventory.js b/pda/api/warehouse/inventory.js new file mode 100644 index 0000000..37a6adc --- /dev/null +++ b/pda/api/warehouse/inventory.js @@ -0,0 +1,28 @@ +import request from '@/utils/request' + +// 获取盘点待处理任务列表 +export function getInventoryTaskList(query) { + return request({ + url: '/pda/inventoryTaskList', + method: 'get', + params: query + }) +} + +// 扫码查询盘点任务详情 +export function getInventoryDetail(query) { + return request({ + url: '/pda/inventoryDetail', + method: 'get', + params: query + }) +} + +// 确认盘点 +export function confirmInventory(data) { + return request({ + url: '/pda/inventoryConfirm', + method: 'post', + data: data + }) +} diff --git a/pda/pages/warehouse/inventory/index.vue b/pda/pages/warehouse/inventory/index.vue index 7fc5440..d19ae95 100644 --- a/pda/pages/warehouse/inventory/index.vue +++ b/pda/pages/warehouse/inventory/index.vue @@ -1,61 +1,237 @@