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']" >查看