From 22f9e1efd4c77a2c665d2e3e2c84c25e6ae775d4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:07:01 +0800 Subject: [PATCH] 销售明细单 销售机会,销售报价单根据接口获取的配置判断是否必填的功能+按钮禁止点击的样式修改 --- src/api/sales/quotation.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/sales/quotation.js b/src/api/sales/quotation.js index 9caf191..fac0256 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 }) } // 娣诲姞鎶ヤ环鍗� @@ -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 }) } // 鏇存柊鎶ヤ环鍗� -- Gitblit v1.8.0