From bbb59559fbca70cb27b2a05bac90bd233cee0523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Mon, 9 Dec 2024 15:35:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 5 +++++ src/config/mork2.js | 5 +++++ src/pages/modules/index1.vue | 16 ++++++++++++++-- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/config/getData2.js b/src/config/getData2.js index 0e39274..0a26cef 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -7,3 +7,8 @@ export const pickingInfo = (code) => post('api/board/pickingInfo', { }) // 仓储看板 export const synthesizeInfo = () => post('api/board/synthesizeInfo', {}) +// 修改重量 +export const updateMaterialInfo = (code, w) => post('api/bmMaterial/updateMaterialInfo', { + material_id: code, + single_weight: w +}) diff --git a/src/config/mork2.js b/src/config/mork2.js index ed577b8..318865e 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -509,3 +509,8 @@ export const synthesizeInfo = () => { } return res } + +export const updateMaterialInfo = (code, w) => { + let res = {code: '200'} + return res +} diff --git a/src/pages/modules/index1.vue b/src/pages/modules/index1.vue index 93a9525..d6aa4dc 100644 --- a/src/pages/modules/index1.vue +++ b/src/pages/modules/index1.vue @@ -83,7 +83,7 @@
单重:
- +
g
@@ -152,7 +152,7 @@