diff --git a/src/api/dashboard/dashboard.js b/src/api/dashboard/dashboard.js new file mode 100644 index 0000000..0fa0d23 --- /dev/null +++ b/src/api/dashboard/dashboard.js @@ -0,0 +1,6 @@ +import { createAPI } from "@/utils/httpRequest.js"; + + +export const manualPicking = data => createAPI('/api/dashboard/manualPicking', 'POST', data) + + diff --git a/src/router/index.js b/src/router/index.js index 19aa3e6..30aa1fe 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,7 +19,8 @@ const _import = require('./import-' + process.env.NODE_ENV) // 全局路由(无需嵌套上左右整体布局) const globalRoutes = [ { path: '/404', component: _import('common/404'), name: '404', meta: { title: '404未找到' } }, - { path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } } + { path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } }, + { path: '/dashboard-picking-board', component: _import('modules/dashboard/picking-board'), name: 'dashboard-picking-board', meta: { title: '人工拣选看板' } } ] // 主入口路由(需嵌套上左右整体布局) diff --git a/src/views/modules/dashboard/picking-board.vue b/src/views/modules/dashboard/picking-board.vue new file mode 100644 index 0000000..04a86ff --- /dev/null +++ b/src/views/modules/dashboard/picking-board.vue @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + 人工拣选实时看板 + Manual Picking Real-time Dashboard + + + + + {{ currentTime }} + + + + + + + + + + + + + 人工拣选{{ index + 1 }} + | + 工单号码: {{ order.workOrderNo }} + | + 物料名称: {{ order.materialName }} + + + + + + + + + + + No. + 拣选托盘码 + 拣选物料名称 + 拣选数量 + 状态 + 存放托盘码 + 存放位置 + + + + + {{ idx + 1 }} + {{ item.pickingBatchNo }} + {{ item.pickingMaterialName }} + {{ item.pickingQty }} + + + {{ item.status }} + + + {{ item.storageBatchNo }} + {{ item.storageLocation }} + + + + + + + + + + + + + + + + +