haoxuan
2023-10-23 b82019ffead8666dd2167c81b97f18d390b0cba5
src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue
@@ -31,13 +31,15 @@
      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: {
@@ -129,6 +131,7 @@
    // 请求数据
    async getData() {
      await historyInventoryAdjustment({
        baseOperationType:this.baseOperationType,
        locationId: this.locationId,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize,