From 3303475ef92814062b13e251144b7c03da1d17d8 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 21 十二月 2023 18:34:44 +0800
Subject: [PATCH] 销售明细单如果报价单必填则产品只能选择和报价单关联的,如果报价单非必填则可以选择所有产品

---
 src/api/sales/quotation.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/sales/quotation.js b/src/api/sales/quotation.js
index 2e991fc..fac0256 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
   })
 }
 // 鏇存柊鎶ヤ环鍗�

--
Gitblit v1.8.0