| | |
| | | tableRowClick(row) { |
| | | this.selectRow = row |
| | | if (this.TabsIndex == 0) { |
| | | getPurchaseInfo({ id: row.id }).then((res) => { |
| | | getOperationInfo({ id: row.id }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.productTableList.tableInfomation = res.data.productList |
| | | this.productTableList.tableInfomation = res.data.productInfos |
| | | } else { |
| | | this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!") |
| | | } |
| | |
| | | ) { |
| | | getOperationInfo({ id: row.id }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.productTableList.tableInfomation = res.data |
| | | this.productTableList.tableInfomation = res.data.inWarehouseInfos |
| | | } else { |
| | | this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!") |
| | | } |
| | |
| | | ) { |
| | | getOperationInfo({ id: row.id }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.productTableList.tableInfomation = res.data |
| | | if(this.TabsIndex == 0){ |
| | | this.productTableList.tableInfomation = res.data.productInfos |
| | | }else if(this.TabsIndex == 2){ |
| | | this.productTableList.tableInfomation = res.data.inWarehouseInfos |
| | | } |
| | | } else { |
| | | this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!") |
| | | } |