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