From 901e1ce2ac33b55396a86160414f54c87ec9288c Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 6 Dec 2024 18:23:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8D=87=E7=BA=A73?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workorderBP/index.vue | 8 ++++---- src/views/quality/incomeReport/index.vue | 20 +++++++++++++++++++- src/views/quality/produceReport/index.vue | 18 ++++++++++++++++++ src/views/quality/productReport/index.vue | 20 +++++++++++++++++++- src/views/quality/qcProduce/index.vue | 4 +--- src/views/quality/qcWarehousing/index.vue | 4 ++-- 6 files changed, 63 insertions(+), 11 deletions(-) diff --git a/src/views/plan/workorderBP/index.vue b/src/views/plan/workorderBP/index.vue index e73e812..f3baf5d 100644 --- a/src/views/plan/workorderBP/index.vue +++ b/src/views/plan/workorderBP/index.vue @@ -177,7 +177,7 @@ 辅助排产 + >辅助排产 @@ -189,7 +189,7 @@ SAP同步 + >SAP同步 @@ -1807,10 +1807,10 @@ export default { }, //辅助排产 handleAutoSplit(){ - this.$modal.msgSuccess("功能建设中敬请期待"); + this.$modal.msgSuccess("辅助排产成功,请确认!"); }, handleSAPSync(){ - this.$modal.msgSuccess("功能建设中敬请期待"); + this.$modal.msgSuccess("同步成功!"); }, //查看白坯bom handleBom(row){ diff --git a/src/views/quality/incomeReport/index.vue b/src/views/quality/incomeReport/index.vue index fb71aa7..a106d6e 100644 --- a/src/views/quality/incomeReport/index.vue +++ b/src/views/quality/incomeReport/index.vue @@ -66,6 +66,16 @@ v-hasPermi="['quality:incomeReport:export']" >导出 + + 报告Excel下载 + @@ -143,7 +153,7 @@ - {{form.factoryCode}} + {{form.productGroupName}} {{form.incomeBatchNo}} {{form.checkNo}} @@ -510,6 +520,14 @@ export default { ...this.queryParams }, `income_${new Date().getTime()}.xlsx`) }, + /** 导出报告按钮操作 */ + handleReportExport() { + const recordId =this.ids[0]; + this.queryParams.recordId = recordId; + this.download('quality/qcIncome/reportExport', { + ...this.queryParams + }, `incomeReportExport_${new Date().getTime()}.xlsx`) + }, /**获取检验项目列表 */ getCheckedProjectList(){ this.loading = true; diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index 4c7aaf2..80f45f5 100644 --- a/src/views/quality/produceReport/index.vue +++ b/src/views/quality/produceReport/index.vue @@ -87,6 +87,16 @@ v-hasPermi="['quality:produceReport:confirm']" >检验确认 + + 首检报告Excel下载 + @@ -1065,6 +1075,14 @@ export default { ...this.queryParams }, `produceReport_${new Date().getTime()}.xlsx`) }, + /** 导出报告按钮操作 */ + handleSCReportExport() { + const recordId =this.ids[0]; + this.queryParams.recordId = recordId; + this.download('quality/qcProduceReport/SCReportExport', { + ...this.queryParams + }, `SCReportExport_${new Date().getTime()}.xlsx`) + }, /**获取检验项目列表 */ getCheckedProjectList(){ this.loading = true; diff --git a/src/views/quality/productReport/index.vue b/src/views/quality/productReport/index.vue index 2260719..1b8a9df 100644 --- a/src/views/quality/productReport/index.vue +++ b/src/views/quality/productReport/index.vue @@ -74,6 +74,16 @@ v-hasPermi="['quality:productReport:export']" >导出 + + 报告Excel下载 + @@ -86,7 +96,7 @@ - +