diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index a0182d9..b63fcc7 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -939,7 +939,11 @@ - + + + 文件清单 + 外部链接 + @@ -3648,6 +3652,18 @@ this.fileFlag = true }, + // 打开文件清单外部链接(按物料编码) + openFileExternalLink () { + const partNo = (this.currentFileRow && this.currentFileRow.partNo) || this.detailData.partNo + if (!partNo) { + this.$message.error('物料号不能为空') + return false + } + const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const targetUrl = `${baseUrl}/${partNo}` + window.open(targetUrl, '_blank') + }, + // 获取SOP文件列表(FQC传所有条件:site, partNo, operationDesc, workcenterNo, orderNo) getSopFileList(row) { this.sopFileLoading = true @@ -4678,6 +4694,25 @@ --> diff --git a/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue b/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue index 78a7a62..c41c2e3 100644 --- a/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue +++ b/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue @@ -1270,10 +1270,20 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js'; this.getData(); }, //导出excel - createExportData() { - - return this.dataList; - + async createExportData() { + try { + const params = { + ...this.searchData, + page: 0, + limit: 1000000 + }; + const { data } = await searchSfdcRollsReport(params); + return data.rows || []; + } catch (error) { + console.error('获取导出数据失败:', error); + this.$message.error('获取导出数据失败!'); + return []; + } }, selectionChangeHandle(val){ this.selectionDataList = val diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index 2bab53d..2067ef5 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -823,7 +823,13 @@ - + + + SOP预览 + + 外部链接 + +