src/api/sales/quotation.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 报价单列表
export function getQuotationList() {
export function getQuotationList(data) {
  return request({
    url: "/api/quotation/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加报价单
@@ -18,8 +19,9 @@
// 删除报价单
export function getDelQuotation(data) {
  return request({
    url: "/api/quotation/delete/" + data.id,
    method: "delete"
    url: "/api/quotation/delete",
    method: "delete",
    data
  })
}
// 更新报价单
@@ -30,3 +32,11 @@
    data
  })
}
// 报价单统计
export function getQuotationStatistics(data) {
  return request({
    url: "/api/quotation/statistics",
    method: "get",
    data
  })
}