From bacc6d613dbb12240fc4d1df273abe6521284059 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期五, 10 十一月 2023 15:28:22 +0800 Subject: [PATCH] 调拨添加发货信息 --- src/views/reportForm/inventoryReport/index.vue | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/reportForm/inventoryReport/index.vue b/src/views/reportForm/inventoryReport/index.vue index 8446864..ec39be9 100644 --- a/src/views/reportForm/inventoryReport/index.vue +++ b/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,15 +324,21 @@ // 琛ヨ揣 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:{ - keyWord:row.row.productName, + // keyWord:row.row.productName, + wareHouseCode:this.warehouseListName, + productId:row.row.produceId, name:"搴撳瓨鎶ヨ〃" } }) @@ -397,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 } }) } -- Gitblit v1.8.0