| | |
| | | </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', |
| | |
| | | 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'); |
| | | }); |
| | | }, |
| | | }, |
| | | }; |