gongchunyi
2 天以前 0d0505232d49c9d09f15f03cb66a4f9be6257fce
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",
  });
}