From b12ea16fa2d9440e9680127d126a4f3af450afd2 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 17 十月 2023 18:36:19 +0800 Subject: [PATCH] Merge branch 'dev' into songshankun/adjust-style --- src/views/reportForm/locationReport/index.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/reportForm/locationReport/index.vue b/src/views/reportForm/locationReport/index.vue index 5e7bdd5..757d6ae 100644 --- a/src/views/reportForm/locationReport/index.vue +++ b/src/views/reportForm/locationReport/index.vue @@ -21,6 +21,7 @@ :table-list="tableList" @selTableCol="selTableCol" @tableRowClick="tableRowClick" + :showSummary="true" > <template slot="tableButton"> <el-table-column label="鎿嶄綔" width="210" align="center"> @@ -106,7 +107,8 @@ infomation: {} }, productId: this.$route.params.id, - productName: this.$route.params.name + productName: this.$route.params.name, + metaTitle: this.$route.meta.title } }, created() { @@ -178,7 +180,7 @@ prop: "unit", width: 120, default: false, - isShowColumn: showcol.includes("浠峰��") + isShowColumn: showcol.includes("鍗曚綅") }, { label: "浠峰��", @@ -202,7 +204,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 +233,15 @@ return val === 1 ? "鑽夌" : val === 3 ? "灏辩华" : "瀹屾垚" }, // 鍘嗗彶 - handleHistoryClick() {}, + handleHistoryClick(row) { + this.$router.push({ + name: "inboundOutboundDetail", + params: { + id: row.produceId, + name: "鎶ヨ〃" + } + }) + }, // 琛ヨ揣 handleAddGoods() {} } -- Gitblit v1.8.0