yangfeng
2023-10-31 ac547f0629e21fa52ec0cb40f0ac59aaa6d573f4
src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue
@@ -32,14 +32,14 @@
      keyword: "",
      locationId: 0,
      productId: "",
      baseOperationType:""
      baseOperationType: ""
    }
  },
  created() {
    this.setTable()
    this.locationId = this.$route.params.locationId
    this.productId = this.$route.params.productId
    this.baseOperationType=this.$route.params.baseOperationType
    this.baseOperationType = this.$route.params.baseOperationType
    this.getData()
  },
  methods: {
@@ -131,12 +131,11 @@
    // 请求数据
    async getData() {
      await historyInventoryAdjustment({
        baseOperationType:this.baseOperationType,
        baseOperationType: this.baseOperationType,
        locationId: this.locationId,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize,
        productId: this.productId,
        baseOperationType:this.baseOperationType
        productId: this.productId
      }).then((res) => {
        if (res.code === 200) {
          const list = res.data.map((item) => {