| | |
| | | total: 0 |
| | | }, |
| | | isOut: false, |
| | | warehouseId: false, |
| | | list: [], |
| | | selList: [], |
| | | cateList: [], |
| | |
| | | this.selList = val |
| | | }, |
| | | getList(page) { |
| | | const { pagination, searchForm, isOut } = this |
| | | const { pagination, searchForm, isOut, warehouseId } = this |
| | | this.listLoading = true |
| | | if(page){pagination.page = page} |
| | | console.log('isOut', isOut); |
| | |
| | | fn({ |
| | | capacity: pagination.pageSize, |
| | | page: pagination.page, |
| | | model: {...searchForm,status: 0} |
| | | model: {...searchForm,status: 0, warehouseId} |
| | | }).then((res) => { |
| | | this.listLoading = false |
| | | this.list = res.records |