From f28c92b15808088eeec70442f0d45cf4ed6543e8 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 04 一月 2024 17:14:18 +0800 Subject: [PATCH] 销售明细单,产品信息的销售单价一直是0的问题修改 --- 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 2e991fc..9fa409f 100644 --- a/src/api/sales/quotation.js +++ b/src/api/sales/quotation.js @@ -19,8 +19,9 @@ // 鍒犻櫎鎶ヤ环鍗� export function getDelQuotation(data) { return request({ - url: "/api/quotation/delete/" + data.id, - method: "delete" + url: "/api/quotation/delete", + method: "delete", + data }) } // 鏇存柊鎶ヤ环鍗� @@ -31,3 +32,11 @@ data }) } +// 鎶ヤ环鍗曠粺璁� +export function getQuotationStatistics(data) { + return request({ + url: "/api/quotation/statistics", + method: "get", + data + }) +} -- Gitblit v1.8.0