From 5ecb7958c96d3f0b6d47b79aff7eb306c2cf690f Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期二, 06 八月 2024 11:16:58 +0800 Subject: [PATCH] gitlab上面的wms转移到公司git --- src/api/operate/inventoryAdjustment.js | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/src/api/operate/inventoryAdjustment.js b/src/api/operate/inventoryAdjustment.js index 2045aaa..7067bf5 100644 --- a/src/api/operate/inventoryAdjustment.js +++ b/src/api/operate/inventoryAdjustment.js @@ -56,4 +56,36 @@ method: "post", data }) -} \ No newline at end of file +} + +// 瀛楀吀鍒楄〃 +export function getDictListApi(data) { + return request({ + url: "/api-wms/v1/dict/getDictList", + method: "post", + data + }); +} +//鏂板瀛楀吀 /api-wms/v1/dict/add +export function addDictApi(data) { + return request({ + url: "/api-wms/v1/dict/add", + method: "post", + data + }); +} +//鍒犻櫎瀛楀吀 +export function deleteDictApi(id) { + return request({ + url: `/api-wms/v1/dict/delete/${id}`, + method: "delete", + }); +} +// 淇敼瀛楀吀 +export function editDictApi(data) { + return request({ + url: "/api-wms/v1/dict/edit", + method: "post", + data + }); +} -- Gitblit v1.8.0