yangfeng
2023-11-09 d35533b1b42df7e1808a19a8ea72613e605cd6ef
src/views/reportForm/inventoryReport/index.vue
@@ -52,7 +52,8 @@
                    <i class="el-icon-refresh-left"></i>
                    <span>历史</span>
                  </span>
                  <span @click="handleAddGoods(scope)" class="margin_left_5px no-cursor">
                  <span @click="handleAddGoods(scope.row)" class="margin_left_5px;" style="cursor:pointer;"
                  >
                    <i class="el-icon-refresh"></i>
                    <span>补货</span>
                  </span>
@@ -323,11 +324,15 @@
    // 补货
    handleAddGoods(row) {
      console.log(row)
      this.$router.push({
        name: "orderPoint",
        params: {
          productId:row.produceId,
        }
      })
    },
    // 位置
    handleLocation(row) {
      console.log(row,"rowwww")
      this.$router.push({
        name:"locationReport",
        params:{
@@ -399,8 +404,8 @@
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
        if (res.data.code === 200) {
          this.warehouseList = res.data.data
        if (res.code === 200) {
          this.warehouseList = res.data
        }
      })
    }