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 @@