songshankun
2023-10-19 89ed9f5e5624b5b1383192ffafcb31f1a7d527d5
src/views/reportForm/inventoryReport/index.vue
@@ -86,7 +86,7 @@
import { getInventoryData, getProductCategoryList, getWarehouseList } from "@/api/reportForm/inventoryRwport"
export default {
  name: "InboundOutboundDetail",
  name: "inventoryReport",
  props: {},
  components: { AddOverviewDialog },
  mixins: [pageMixin],
@@ -277,7 +277,7 @@
    getList(val) {
      this.searchStr = val
      this.getInventoryData({
        page: this.pagerOptions.currPage,
        page: 1,
        pageSize: this.pagerOptions.pageSize,
        keyWord: val
      })
@@ -304,7 +304,10 @@
      this.$router.push({
        name: "inboundOutboundDetail",
        params: {
          id: row.produceId,
          keyWord:row.productType,
          produceId:row.produceId,
          unit:row.unit,
          productName:row.productName,
          name: "报表"
        }
      })
@@ -315,8 +318,15 @@
      console.log(row)
    },
    // 位置
    handleLocation() {
      this.$router.push("/reportForm/locationReport")
    handleLocation(row) {
      console.log(row,"rowwww")
      this.$router.push({
        name:"locationReport",
        params:{
          keyWord:row.row.productName,
          name:"库存报表"
        }
      })
    },
    // 预测
    handleForecast() {},