| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {userSelectDepartment, 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'; |
| | | |
| | |
| | | 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'); |
| | | }); |
| | | }, |
| | | }, |
| | | }; |