From c378e9a104233c53a92f49b6603f5142a3689b4f Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 22 十二月 2023 15:05:55 +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