zuozhengqing
2023-10-23 58e803fffe35d5ac39599d5ad6b3359e374b1808
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,