From 4ad10ff30daada3532c9d6bf2dd42d95502413f8 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Thu, 18 Jan 2024 16:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E6=8A=A5=E5=91=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/inventoryReport/index.vue | 5 ++--- src/views/quality/produceReport/index.vue | 7 +++---- src/views/quality/productReport/index.vue | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/views/quality/inventoryReport/index.vue b/src/views/quality/inventoryReport/index.vue index 1fbadd0..04f9c9c 100644 --- a/src/views/quality/inventoryReport/index.vue +++ b/src/views/quality/inventoryReport/index.vue @@ -63,7 +63,7 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['quality:qcIncome:add']" + v-hasPermi="['quality:inventoryReport:add']" >新增 --> @@ -73,7 +73,7 @@ icon="el-icon-download" size="mini" @click="handleExport" - v-hasPermi="['quality:incomeReport:export']" + v-hasPermi="['quality:inventoryReport:export']" >导出 @@ -105,7 +105,6 @@ type="text" icon="el-icon-edit" @click="handleLook(scope.row)" - v-hasPermi="['quality:incomeReport:edit']" >查看 diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index ec1d8dc..29a6fe9 100644 --- a/src/views/quality/produceReport/index.vue +++ b/src/views/quality/produceReport/index.vue @@ -65,7 +65,7 @@ icon="el-icon-download" size="mini" @click="handleExport" - v-hasPermi="['quality:qcIncomeReport:export']" + v-hasPermi="['quality:produceReport:export']" >导出 @@ -99,7 +99,6 @@ type="text" icon="el-icon-edit" @click="handleLook(scope.row)" - v-hasPermi="['quality:qcIncomeReport:edit']" >查看报告 @@ -600,7 +599,7 @@ export default { handleExport() { this.download('quality/qcIncome/export', { ...this.queryParams - }, `income_${new Date().getTime()}.xlsx`) + }, `produce_${new Date().getTime()}.xlsx`) }, /**获取检验项目列表 */ getCheckedProjectList(){ @@ -609,7 +608,7 @@ export default { this.checkProjectList = response.rows; this.total = response.total; this.loading = false; - this.standardNo = this.checkProjectList[0].standardNo || '20240109test'; + this.standardNo = this.checkProjectList[0].standardNo; }); }, // 打印预览-浏览器打印 diff --git a/src/views/quality/productReport/index.vue b/src/views/quality/productReport/index.vue index 532d635..ce70353 100644 --- a/src/views/quality/productReport/index.vue +++ b/src/views/quality/productReport/index.vue @@ -95,7 +95,6 @@ type="text" icon="el-icon-edit" @click="handleLook(scope.row)" - v-hasPermi="['quality:productReport:edit']" >查看