From f69afc7461e1c2d92a935c0228b77388637de2e4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 22 十二月 2023 11:25:31 +0800 Subject: [PATCH] 明细单添加编辑接口+编辑产品列表赋值逻辑修改+查看时限制操作的方法逻辑修改+毛利毛利率计算给列表赋值 --- src/api/sales/salesDetails.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/api/sales/salesDetails.js b/src/api/sales/salesDetails.js index 642dc67..466b229 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,33 @@ 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 getProjectList(data) { + return request({ + url: "/api/salesDetails/getApsProjectList", + method: "get", + data + }) +} +// 鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌aps椤圭洰妯″潡 / 纭鎻愪氦 +export function sendSalesDetailsToOtherSystem(data) { + return request({ + url: "/api/salesDetails/sendSalesDetailsToOtherSystem", + method: "post", + data + }) +} -- Gitblit v1.8.0