| | |
| | | } |
| | | }, |
| | | created() { |
| | | if(this.$route.params.productId){ |
| | | this.getData({ |
| | | productId:this.$route.params.productId, |
| | | pageSize:15, |
| | | page:1 |
| | | }) |
| | | }else{ |
| | | this.getData() |
| | | } |
| | | this.setTable() |
| | | this.searchTaskMap = [{ id: "0", type: this.type, title: "重新订购" }] |
| | | this.getData() |
| | | this.getLocationList() |
| | | }, |
| | | methods: { |
| | |
| | | type: this.type, |
| | | keyWord: data?.jointName, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | pageSize: this.pagerOptions.pageSize, |
| | | productId:data?.productId |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | console.log(res) |
| | |
| | | <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> |
| | |
| | | |
| | | // 补货 |
| | | 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:{ |