From 31df83987f8209d49f0625f6e334101a7f003e86 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 17 四月 2024 14:32:07 +0800
Subject: [PATCH] 产品编辑单位模块 设置默认值的时候,自动把其他的关闭,不用手动取消+增加的时候自动滚动到底部

---
 src/api/product/reorderRules.js |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/api/product/reorderRules.js b/src/api/product/reorderRules.js
index 2ddd9e9..62bc0b9 100644
--- a/src/api/product/reorderRules.js
+++ b/src/api/product/reorderRules.js
@@ -39,11 +39,10 @@
     data
   })
 }
-// 鑾峰彇浣嶇疆鍒楄〃
-export function getLocationList(data) {
+// 鑾峰彇浣嶇疆鍒楄〃鏍�
+export function getLocationTreeList() {
   return request({
-    url: "/api-wms/v1/location/getLocationList",
-    method: "post",
-    data
+    url: "/api-wms/v1/location/getLocationTreeList",
+    method: "get"
   })
 }

--
Gitblit v1.8.0