From fcdf41a414aad19f9b9cff039a2525494a0dc639 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 30 Aug 2023 21:16:59 +0800 Subject: [PATCH] BOM --- src/api/wms/bom.js | 9 +++++++++ src/views/wms/bom/index.vue | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/api/wms/bom.js b/src/api/wms/bom.js index d6fae67..41a3bc9 100644 --- a/src/api/wms/bom.js +++ b/src/api/wms/bom.js @@ -17,6 +17,15 @@ export function getBom(factoryCode) { }); } +// 查询BOM物料管理列表 +export function listBomComponent(query) { + return request({ + url: '/wms/bomComponent/list', + method: 'get', + params: query + }); +} + // 新增BOM物料管理 export function addBom(data) { return request({ diff --git a/src/views/wms/bom/index.vue b/src/views/wms/bom/index.vue index f34ebc5..56f6db2 100644 --- a/src/views/wms/bom/index.vue +++ b/src/views/wms/bom/index.vue @@ -101,7 +101,7 @@