From db2b422bb8d0fef2d95f364db88ded1f2074784a Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 08 一月 2024 16:37:35 +0800 Subject: [PATCH] 报价单 新建编辑操作的时候 成本单价调用接口之前的校验修改,不填写不校验,填写了校验大于0的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 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