From 2c687f86a2fdd8bdffc3ac8ce04eca1126646288 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 13 十一月 2023 16:14:54 +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