From d35533b1b42df7e1808a19a8ea72613e605cd6ef Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 09 十一月 2023 16:49:35 +0800 Subject: [PATCH] 添加、编辑上传图片接口联调及编辑和查看和列表图片回显 --- src/views/reportForm/inventoryReport/index.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/reportForm/inventoryReport/index.vue b/src/views/reportForm/inventoryReport/index.vue index d3b066d..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,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 } }) } -- Gitblit v1.8.0