From 5b796da18f7f8948640a3bcdc10478f342293fc0 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 22 十二月 2023 15:04:48 +0800
Subject: [PATCH] 销售明细单,报价单获取配置的方式修改增加接口,对应接口联调

---
 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