From ef9674e9be8baa57b6abf7fb6ea7ab141ef4ac79 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 21 十二月 2023 17:04:38 +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