From 0d8e4cbdce6e99397c923e88640d0b9f3bfe9be1 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Sun, 28 Apr 2024 15:19:52 +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 | 9 ++ .../MaterialProductionInput.vue | 141 ++++++++++++++---- .../materialManagement/materialManagement.vue | 2 +- utils/request.js | 1 - 4 files changed, 118 insertions(+), 35 deletions(-) diff --git a/api/materialManagement/MaterialProductionInput.js b/api/materialManagement/MaterialProductionInput.js index 0019ac4..9c1ca12 100644 --- a/api/materialManagement/MaterialProductionInput.js +++ b/api/materialManagement/MaterialProductionInput.js @@ -25,3 +25,12 @@ export function getworkorderlist(data) { data }) } + + +export function generatetasklist(data) { + return request({ + url: '/mes/mm/materialinput/generatetask', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue index a9725bd..a1f3052 100644 --- a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue +++ b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue @@ -8,7 +8,7 @@ @@ -33,14 +33,20 @@ - 选择日期: {{ workerorder_time | formatDate }} - 选择日期 - + + + 选择日期 + + + + {{ workerorder_time | formatDate }} + + - 工单号 + 毛坯号 计划上件数 @@ -57,7 +63,7 @@ - + @@ -66,18 +72,28 @@ - + + + + + + + + + + + @@ -173,7 +248,7 @@ export default { background-color: white; } .scrollable-container { - height: 300px; + height: 400px; overflow: auto; border: 3px solid #ccc; } diff --git a/pages/materialManagement/materialManagement.vue b/pages/materialManagement/materialManagement.vue index 5f7d44a..e4a9c42 100644 --- a/pages/materialManagement/materialManagement.vue +++ b/pages/materialManagement/materialManagement.vue @@ -33,7 +33,7 @@ index: 1 }, { - name: 'AGV运输', + name: '车间叫料', icon: 'grid-fill', url: 'pages/materialManagement/MaterialProductionInput/MaterialProductionInput', type: 1, diff --git a/utils/request.js b/utils/request.js index 84ed3b9..d542b6c 100644 --- a/utils/request.js +++ b/utils/request.js @@ -50,7 +50,6 @@ const request = config => { dataType: 'json' }).then(response => { let [error, res] = response - console.log(response); // console.log('token:','Bearer ' + getToAccess-Control-Allow-Originken()); // console.log('request:',storageBaseUrl + config.url,response); if (error) {