From db5f18c8d02881bbf8b8b43d45236bc59bd2f958 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期三, 13 十二月 2023 18:36:49 +0800
Subject: [PATCH] feat: 物品规格管理 接口对接

---
 admin-web/src/views/foundation/store/person.vue |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/admin-web/src/views/foundation/store/person.vue b/admin-web/src/views/foundation/store/person.vue
index 9c153c4..92b0ed7 100644
--- a/admin-web/src/views/foundation/store/person.vue
+++ b/admin-web/src/views/foundation/store/person.vue
@@ -35,11 +35,9 @@
 </template>
 
 <script>
-import { departmentListAll } from '@/api/system/deptment';
-import { userSelectDepartment, warehouseManagerAdd, warehouseManagerList } from '@/api/foudation/store';
+import {userSelectDepartment, warehouseManagerList, warehouseManagerAdd} from '@/api/foudation/store';
 import winMd from '@/components/win/win-md';
 import myButton from '@/components/myButton/myButton';
-import * as finsystenant from '@/api/baseSetting/finsystenant';
 
 export default {
   name: 'person',
@@ -143,16 +141,21 @@
           managerName: item.name,
         });
       });
-      setTimeout(()=>{
-        this.$message.success('淇濆瓨鎴愬姛锛�');
-        this.close();
-        this.$emit('search');
-      },6000)
-      // warehouseManagerAdd(params).then((res) => {
+      // setTimeout(()=>{
+      //   warehouseManagerAdd(params).then((res) => {
+      //     this.$message.success('淇濆瓨鎴愬姛锛�');
+      //     this.close();
+      //     this.$emit('search');
+      //   });
       //   this.$message.success('淇濆瓨鎴愬姛锛�');
       //   this.close();
       //   this.$emit('search');
-      // });
+      // },6000)
+      warehouseManagerAdd(params).then((res) => {
+        this.$message.success('淇濆瓨鎴愬姛锛�');
+        this.close();
+        this.$emit('search');
+      });
     },
   },
 };

--
Gitblit v1.9.1