From c39d9b1999b49088eae95f5f26670efdd6a922af Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 21 Jan 2026 19:06:33 +0800 Subject: [PATCH] =?UTF-8?q?2026-01-21=20=E6=8E=A5=E5=8F=A3=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=AE=A1=E7=90=86=E5=92=8C=E7=B3=BB=E7=BB=9F=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=201=E3=80=81?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E9=87=8D=E8=AF=95=E6=97=B6=E8=A6=81=E6=A0=A1?= =?UTF-8?q?=E9=AA=8CneedRetryFlag=20=E4=B8=BAY=E7=9A=84=E5=8D=95=E6=8D=AE?= =?UTF-8?q?=E6=89=8D=E8=83=BD=E6=89=8B=E5=8A=A8=E9=87=8D=E8=AF=95=EF=BC=9B?= =?UTF-8?q?=202=E3=80=81=E6=89=8B=E5=8A=A8=E9=87=8D=E8=AF=95=E6=97=B6?= =?UTF-8?q?=E8=A6=81=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=EF=BC=9A=E4=BC=A0=E8=BE=93=E7=8A=B6=E6=80=81=EF=BC=88synced=5F?= =?UTF-8?q?flag=EF=BC=89=E5=BF=85=E9=A1=BB=E6=98=AF=E2=80=9C=E5=BE=85?= =?UTF-8?q?=E4=BC=A0=E8=BE=93=E2=80=9D=E4=B8=94=E4=BC=A0=E8=BE=93=E6=B6=88?= =?UTF-8?q?=E6=81=AF=EF=BC=88synced=5Ferror=5Fmsg=EF=BC=89=E5=BF=85?= =?UTF-8?q?=E9=A1=BB=E6=9C=89=E5=80=BC=EF=BC=8C=E6=89=8D=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E9=87=8D=E8=AF=95=203=E3=80=81=E6=89=8B=E5=8A=A8=E9=87=8D?= =?UTF-8?q?=E8=AF=95=E6=88=90=E5=8A=9F=E5=90=8E=E8=A6=81=E5=B0=86needRetry?= =?UTF-8?q?Flag=20=E6=94=B9=E4=B8=BAN=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yieldReport/produce_report_normal.js | 3 +++ src/views/modules/sys/interface/interfaceLog.vue | 7 +++++++ src/views/modules/sys/interface/systemLog.vue | 7 +++++++ 3 files changed, 17 insertions(+) diff --git a/src/api/yieldReport/produce_report_normal.js b/src/api/yieldReport/produce_report_normal.js index cea1f33..30f09f1 100644 --- a/src/api/yieldReport/produce_report_normal.js +++ b/src/api/yieldReport/produce_report_normal.js @@ -106,3 +106,6 @@ export const checkProcessInspectionPendingCount = data => createAPI('/pms/qc/che // 查询工单的订单备注信息 export const getOrderNotesByOrderNo = data => createAPI('schedule/getOrderNotesByOrderNo', 'POST', data) + +// 打开材料卷(重新激活已完成的材料) +export const openMaterialRoll = data => createAPI('schedule/openMaterialRoll', 'POST', data) diff --git a/src/views/modules/sys/interface/interfaceLog.vue b/src/views/modules/sys/interface/interfaceLog.vue index b03f2fe..123f534 100644 --- a/src/views/modules/sys/interface/interfaceLog.vue +++ b/src/views/modules/sys/interface/interfaceLog.vue @@ -517,6 +517,13 @@ export default { return } + // 校验needRetryFlag必须为Y + const invalidItems = this.dataListSelections.filter(item => item.needRetryFlag !== 'Y') + if (invalidItems.length > 0) { + this.$message.warning('存在已传输的记录!') + return + } + const count = this.dataListSelections.length this.$confirm(`确定要手动重试选中的 ${count} 个接口吗?`, '提示', { confirmButtonText: '确定', diff --git a/src/views/modules/sys/interface/systemLog.vue b/src/views/modules/sys/interface/systemLog.vue index 40eee31..dc56cef 100644 --- a/src/views/modules/sys/interface/systemLog.vue +++ b/src/views/modules/sys/interface/systemLog.vue @@ -517,6 +517,13 @@ export default { return } + // 校验needRetryFlag必须为Y + const invalidItems = this.dataListSelections.filter(item => item.needRetryFlag !== 'Y') + if (invalidItems.length > 0) { + this.$message.warning('存在已传输的记录!') + return + } + const count = this.dataListSelections.length this.$confirm(`确定要手动重试选中的 ${count} 个接口吗?`, '提示', { confirmButtonText: '确定',