gaoluyang
7 天以前 c9ed3d1958a2489460592b3b17e386d9d515d7ea
src/api/salesManagement/salesQuotation.js
@@ -110,3 +110,40 @@
    responseType: "blob",
  });
}
// 下载报价导入模板
export function downloadQuotationTemplate() {
  return request({
    url: "/sales/quotation/downloadTemplate",
    method: "get",
    responseType: "blob",
  });
}
// 导入报价单
export function importQuotation(data) {
  return request({
    url: "/sales/quotation/import",
    method: "post",
    data: data,
    headers: { "Content-Type": "multipart/form-data" },
  });
}
// 查询导入记录列表
export function getImportLogList(query) {
  return request({
    url: "/sales/quotation/importLog/list",
    method: "get",
    params: query,
  });
}
// 查询降价历史记录
export function getPriceHistoryList(query) {
  return request({
    url: "/sales/quotation/priceHistory/list",
    method: "get",
    params: query,
  });
}