石广澎
2023-12-13 3f0228da470c797e7339964cc4c3df3ed86415da
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');
      });
    },
  },
};