gongchunyi
3 天以前 dc7ead8b25e6a3547dba14ac3fd334a9e6b2bcc1
src/api/productionManagement/productBom.js
@@ -45,3 +45,22 @@
    params: { productModelId },
  });
}
// 导出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",
  });
}