spring
6 天以前 e2db885233d9ed8c6c9f7912ba8e7b7d1998f437
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",
  });
}