diff --git a/App.vue b/App.vue index 55d9213..2c10d8a 100644 --- a/App.vue +++ b/App.vue @@ -34,4 +34,10 @@ export default { .border { border: 1px solid #000000; } +.bottom-box { + width: 100%; + padding: 10px; + position: fixed; + bottom: 0; +} diff --git a/api/preparationTask/index.js b/api/preparationTask/index.js index 616d619..25a49dd 100644 --- a/api/preparationTask/index.js +++ b/api/preparationTask/index.js @@ -43,4 +43,32 @@ export function generateIngredientTask(data) { method: 'post', data }) +} + + +// 产线备料任务 +export function searchTaskByLine(params) { + return request({ + url: '/mes/Mobile/PreparationTask/search_task_byline', + method: 'get', + params + }) +} + +// 生成产线备料任务 +export function generateIngredientTaskByline(data) { + return request({ + url: '/mes/Mobile/PreparationTask/generate_ingredient_task_byline', + method: 'post', + data + }) +} + +// 获取任务下的配料详情 +export function getTaskInfosByLine(params) { + return request({ + url: '/mes/Mobile/PreparationTask/get_task_info_byline', + method: 'get', + params + }) } \ No newline at end of file diff --git a/components/scan-input/scan-input.vue b/components/scan-input/scan-input.vue index 4b60dd9..b5d7818 100644 --- a/components/scan-input/scan-input.vue +++ b/components/scan-input/scan-input.vue @@ -1,7 +1,7 @@ @@ -9,6 +9,11 @@ + + diff --git a/pages/materialManagement/preparationByPlan/index.vue b/pages/materialManagement/preparationByPlan/index.vue new file mode 100644 index 0000000..8235825 --- /dev/null +++ b/pages/materialManagement/preparationByPlan/index.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/pages/materialManagement/preparationByPlan/taskDetail.vue b/pages/materialManagement/preparationByPlan/taskDetail.vue new file mode 100644 index 0000000..51ff32e --- /dev/null +++ b/pages/materialManagement/preparationByPlan/taskDetail.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/static/logo.png b/static/logo.png index d4ebbf0..665ad60 100644 Binary files a/static/logo.png and b/static/logo.png differ