From 1fdb9d2a8bef47801499787720ce722fd1cf96d1 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Mon, 29 Apr 2024 18:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MaterialProductionInput.js | 3 +- api/materialManagement/MaterialRequsition.js | 36 +++ .../MaterialRequisition.vue | 286 ++++++++++++++++-- uni_modules/uni-data-select/changelog.md | 4 + .../uni-data-select/uni-data-select.vue | 109 +++++-- uni_modules/uni-data-select/package.json | 5 +- 6 files changed, 381 insertions(+), 62 deletions(-) diff --git a/api/materialManagement/MaterialProductionInput.js b/api/materialManagement/MaterialProductionInput.js index 9c1ca12..2f01873 100644 --- a/api/materialManagement/MaterialProductionInput.js +++ b/api/materialManagement/MaterialProductionInput.js @@ -33,4 +33,5 @@ export function generatetasklist(data) { method: 'post', data }) -} \ No newline at end of file +} + diff --git a/api/materialManagement/MaterialRequsition.js b/api/materialManagement/MaterialRequsition.js index fa8564e..3985378 100644 --- a/api/materialManagement/MaterialRequsition.js +++ b/api/materialManagement/MaterialRequsition.js @@ -8,4 +8,40 @@ export function getIngredientTask(data) { method: 'post', data }) +} + + +export function getIngredientTask_son(params) { + return request({ + url: '/mes/mm/materialinput/getIngredientTask_son', + method: 'get', + params + }) +} + + +export function getfabgopoints(params) { + return request({ + url: '/mes/mm/materialinput/getfabgopoints', + method: 'get', + params + }) +} + + +export function go_workshop(params) { + return request({ + url: '/mes/mm/materialinput/go_workshop', + method: 'get', + params + }) +} + + +export function emergency_stop_agv(params) { + return request({ + url: '/mes/mm/materialinput/emergency_stop_agv', + method: 'get', + params + }) } \ No newline at end of file diff --git a/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue b/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue index 8e254ad..2e174f3 100644 --- a/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue +++ b/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue @@ -2,24 +2,85 @@ - + - + 选择日期 - + - + {{ queryParams.workerorder_time | formatDate }} - - - - - - - + + 任务编号 + 任务站点 + 任务详情 + 操作 + + + + + + + {{ item.id }} + + + + + + + + + + + + + + + + 工单号 + 零件号 + 计划数 + 已配数 + + + + + + {{ item.workorder }} + {{ item.partnumber }} + {{ item.previousNumber }} + {{ item.previousNumbered }} + + + + + + + + + 起点 + + + + 终点 + + + + + + + + 启动 + + + 紧急终止 + + + + @@ -27,23 +88,37 @@