From 5bc926157420e0ce7e2b4fbef901617ee9f98115 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 28 二月 2024 17:36:35 +0800
Subject: [PATCH] 报价单,销售明细单 2个模块初始时请求对应的销售机会,销售报价单的列表并且给下拉列表赋值

---
 src/api/sales/contractManage.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/api/sales/contractManage.js b/src/api/sales/contractManage.js
index f1c6342..10038f8 100644
--- a/src/api/sales/contractManage.js
+++ b/src/api/sales/contractManage.js
@@ -17,10 +17,11 @@
   })
 }
 // 鍒犻櫎鍚堝悓绠$悊
-export function getDelContract(data) {
+export function getDelContract(id) {
   return request({
-    url: "/api/contract/delete/" + data.id,
-    method: "delete"
+    url: `/api/contract/delete/${id}`,
+    method: "delete",
+    id
   })
 }
 // 鏇存柊鍚堝悓绠$悊

--
Gitblit v1.8.0