From 0016e76c99d7f0d6355a22f2ecbc102823225633 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 28 九月 2023 16:44:26 +0800 Subject: [PATCH] 出入库明细报错修复 --- src/views/reportForm/locationReport/index.vue | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/reportForm/locationReport/index.vue b/src/views/reportForm/locationReport/index.vue index 5e7bdd5..9a2d882 100644 --- a/src/views/reportForm/locationReport/index.vue +++ b/src/views/reportForm/locationReport/index.vue @@ -106,7 +106,8 @@ infomation: {} }, productId: this.$route.params.id, - productName: this.$route.params.name + productName: this.$route.params.name, + metaTitle: this.$route.meta.title } }, created() { @@ -202,7 +203,6 @@ pageSize: this.pagerOptions.pageSize }).then((res) => { if (res.code === 200) { - console.log(res.data, "鎺ュ彛璇锋眰鎴愬姛") const list = res.data this.tableList.tableInfomation = list || [] this.pagerOptions.totalCount = res.total @@ -232,7 +232,15 @@ return val === 1 ? "鑽夌" : val === 3 ? "灏辩华" : "瀹屾垚" }, // 鍘嗗彶 - handleHistoryClick() {}, + handleHistoryClick(row) { + this.$router.push({ + name: "inboundOutboundDetail", + params: { + id: row.produceId, + name: "鎶ヨ〃" + } + }) + }, // 琛ヨ揣 handleAddGoods() {} } -- Gitblit v1.8.0