From e44f6e409b45d632eb3adcb82d082e363350ace4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 08 一月 2024 16:58:25 +0800 Subject: [PATCH] 写公共的判断比较2个日期的方法 --- src/api/sales/quotation.js | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/api/sales/quotation.js b/src/api/sales/quotation.js index 9d0aa75..9fa409f 100644 --- a/src/api/sales/quotation.js +++ b/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 }) } // 娣诲姞鎶ヤ环鍗� @@ -31,3 +32,11 @@ data }) } +// 鎶ヤ环鍗曠粺璁� +export function getQuotationStatistics(data) { + return request({ + url: "/api/quotation/statistics", + method: "get", + data + }) +} -- Gitblit v1.8.0