From 72f6f5abb7d6a90c9edfb69db63907ef3e17ef03 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期三, 22 十一月 2023 11:31:27 +0800 Subject: [PATCH] 销售明细单添加确认订单前确认是否选择项目 --- src/api/sales/salesDetails.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/api/sales/salesDetails.js b/src/api/sales/salesDetails.js index 642dc67..5857dd7 100644 --- a/src/api/sales/salesDetails.js +++ b/src/api/sales/salesDetails.js @@ -24,6 +24,14 @@ data }) } +// 淇敼閿�鍞槑缁嗙姸鎬� +export function updateStatus(data) { + return request({ + url: "/api/salesDetails/updateStatus", + method: "post", + data + }) +} // 鏇存柊閿�鍞槑缁� export function getUpdateSalesDetails(data) { return request({ @@ -32,3 +40,41 @@ data }) } +// 鑾峰彇浜у搧/搴撳瓨淇℃伅 +export function getProductInventoryInfo(number) { + return request({ + url: `/api/salesDetails/getProductInventoryInfo/${number}`, + method: "get" + }) +} +// 鑾峰彇鍒堕�犱俊鎭� +export function getProductOrderInfo(number) { + return request({ + url: `/api/product/getProductOrderInfo/${number}`, + method: "get" + }) +} +// 鍒涘缓浜у搧鍑哄簱淇℃伅 +export function createOperation(data) { + return request({ + url: "/api/salesDetails/createOperation", + method: "post", + data + }) +} +// 娣诲姞閿�鍞槑缁� +export function getProjectList(data) { + return request({ + url: "/api/salesDetails/getApsProjectList", + method: "get", + data + }) +} +// 鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌aps椤圭洰妯″潡 +export function sendSalesDetailsToApsProject(data) { + return request({ + url: "/api/salesDetails/sendSalesDetailsToApsProject", + method: "post", + data + }) +} -- Gitblit v1.8.0