From 82d43b47413a4fd5eb7a5c83aa4692b2c6a8bc41 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 12 十月 2023 10:03:46 +0800 Subject: [PATCH] feat: 销售机会/报价单/销售总单/销售子单 弹窗编辑时回显编码 --- src/api/sales/generatePlan.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/sales/generatePlan.js b/src/api/sales/generatePlan.js index cf4fbbc..9a262da 100644 --- a/src/api/sales/generatePlan.js +++ b/src/api/sales/generatePlan.js @@ -1,10 +1,11 @@ import request from "@/common/untils/request.js" // 鐢熸垚璁″垝鍒楄〃 -export function getPlanList() { +export function getPlanList(data) { return request({ url: "/api/plan/list", - method: "get" + method: "post", + data }) } // 娣诲姞鐢熸垚璁″垝 @@ -18,8 +19,9 @@ // 鍒犻櫎鐢熸垚璁″垝 export function getDelPlan(data) { return request({ - url: "/api/plan/delete/" + data.id, - method: "delete" + url: "/api/plan/delete", + method: "delete", + data }) } // 鏇存柊鐢熸垚璁″垝 -- Gitblit v1.8.0