| | |
| | | console.log("历史") |
| | | this.$router.push({ |
| | | name: "inventoryAdjustmentHistory", |
| | | params: { locationId: row.locationId, productId: row.productId } |
| | | params: { locationId: row.locationId, productId: row.productId,baseOperationType:row.baseOperationType} |
| | | }) |
| | | } |
| | | }, |
| | |
| | | searchOptions: [], |
| | | keyword: "", |
| | | locationId: 0, |
| | | productId: "" |
| | | productId: "", |
| | | baseOperationType:"" |
| | | } |
| | | }, |
| | | created() { |
| | | this.setTable() |
| | | this.locationId = this.$route.params.locationId |
| | | this.productId = this.$route.params.productId |
| | | this.baseOperationType=this.$route.params.baseOperationType |
| | | this.getData() |
| | | }, |
| | | methods: { |
| | |
| | | // 请求数据 |
| | | async getData() { |
| | | await historyInventoryAdjustment({ |
| | | baseOperationType:this.baseOperationType, |
| | | locationId: this.locationId, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |