From ca8aab2ff57dd7e2079090156c7ab1809180f191 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 15:14:56 +0800 Subject: [PATCH] 库存出库时,增加当前位置的库存数量,选择子位置之后自动带出+根据产品和位置获取在库数量的接口联调 --- src/api/operate/scrap.js | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/api/operate/scrap.js b/src/api/operate/scrap.js index c7a6d34..e0cac8a 100644 --- a/src/api/operate/scrap.js +++ b/src/api/operate/scrap.js @@ -25,14 +25,15 @@ // id // }) // } -// // 淇敼鎶ュ簾 -// export function updateProduct(data) { -// return request({ -// url: "/api-wms/v1/product/updateProduct", -// method: "post", -// data -// }) -// } + +// 淇敼鎶ュ簾 +export function updateScrap(data) { + return request({ + url: "/api-wms/v1/product/updateDisuse", + method: "post", + data + }) +} // 楠岃瘉鎶ュ簾 export function finishDisuse(id) { return request({ -- Gitblit v1.8.0