From 86f0b5dbc719b88a4d62bdff027be6bdd54e89ff Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Sun, 7 Apr 2024 16:47:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=B9=E5=87=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 19 ++++++-- src/common/classify.data.js | 4 +- src/pages.json | 4 +- src/pages/foam/check.vue | 19 +++++--- src/pages/foam/input.vue | 33 ++++++++----- src/pages/plastics/check.vue | 24 ++++----- src/pages/plastics/input.vue | 94 ++++++++++++++++-------------------- 7 files changed, 105 insertions(+), 92 deletions(-) diff --git a/src/api/request2.js b/src/api/request2.js index f383a39..44c4338 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -272,22 +272,33 @@ export function foamCheckSubmit(params) { } /** - * @param params 原料投入泡沫提交 + * @param params 注塑点检提交 + */ +export function plasticsCheckSubmit(params) { + return request({ + url: baseApi + "/Machine/InsertZhusu", + method: "post", + data: params, + }); +} + +/** + * @param params 泡沫投料提交 */ export function foamInputSubmit(params) { return request({ - url: baseApi + "/MachineClass/Insert", + url: baseApi + "/Ware/Insert", method: "post", data: params, }); } /** - * @param params 原料投入注塑提交 + * @param params 注塑投料 */ export function plasticsInputSubmit(params) { return request({ - url: baseApi + "/MachineClass/Insert", + url: baseApi + "/WareHouse/Insert", method: "post", data: params, }); diff --git a/src/common/classify.data.js b/src/common/classify.data.js index fcde016..929daab 100644 --- a/src/common/classify.data.js +++ b/src/common/classify.data.js @@ -7,7 +7,7 @@ export default [{ "index": 1, }, { - "name": "原料投入(泡沫)", + "name": "泡沫投料", "icon": "/purchase_return.svg", "path": "/pages/foam/input", "index": 2, @@ -25,7 +25,7 @@ export default [{ "index": 1, }, { - "name": "原料投入(注塑)", + "name": "注塑投料", "icon": "/unbind_pallet.svg", "path": "/pages/plastics/input", "index": 2, diff --git a/src/pages.json b/src/pages.json index 1271ca8..b767c68 100644 --- a/src/pages.json +++ b/src/pages.json @@ -42,7 +42,7 @@ { "path": "pages/foam/input", "style": { - "navigationBarTitleText": "原料投入(泡沫)", + "navigationBarTitleText": "泡沫投料", "enablePullDownRefresh" : false } }, @@ -58,7 +58,7 @@ { "path": "pages/plastics/input", "style": { - "navigationBarTitleText": "原料投入(注塑)", + "navigationBarTitleText": "注塑投料", "titleNView": { "buttons": [{}] } diff --git a/src/pages/foam/check.vue b/src/pages/foam/check.vue index 9dc5226..fe33e68 100644 --- a/src/pages/foam/check.vue +++ b/src/pages/foam/check.vue @@ -72,14 +72,12 @@ -