gaoluyang
昨天 cfba74a9db1b77f8e0b5f52fe15c8a1c4bfcaa76
src/api/productionManagement/productBom.js
@@ -44,4 +44,30 @@
    method: "get",
    params: { productModelId },
  });
}// 根据产品型号ID查询BOM
export function getByModelList(productModelIds) {
  return request({
    url: "/productBom/getByModelList",
    method: "post",
    data: productModelIds,
  });
}
// 导出BOM
export function exportBom(bomId) {
  return request({
    url: "/productBom/exportBom",
    method: "post",
    params: { bomId },
    responseType: "blob",
  });
}
//  下载模板
export function downloadTemplate() {
  return request({
    url: "/productBom/downloadTemplate",
    method: "get",
    responseType: "blob",
  });
}