From a8fc5ea5e183e80217f65c1f4562bc72345411b7 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 10 Feb 2026 17:16:45 +0800 Subject: [PATCH] =?UTF-8?q?2026-02-10=20=E6=9C=BA=E5=8F=B0=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=A2=9E=E5=8A=A0=E3=80=90=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E5=8D=B7=E3=80=91=E3=80=90=E7=BB=93=E5=8D=95=E3=80=91=E3=80=90?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E7=94=A8=E6=88=B7=E3=80=91=E7=9A=84=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yieldReport/com_produce_report_normal.vue | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index fd12092..73d5dbf 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -170,7 +170,7 @@ 刷新 - + 切换用户 @@ -3313,7 +3313,8 @@ export default { otherBunFlag: true, materialMalformedFlag: true, malformedMaterialFlag: true, - processInspectionFlag: true + processInspectionFlag: true, + switchUser: true }, dataListLoading: false, productionStatusLoading: false, // 暂停生产/继续生产按钮 loading @@ -4383,10 +4384,11 @@ export default { this.buttonTags.malformedMaterialFlag = true this.buttonTags.malformedMaterialButtonFlag = true this.buttonTags.processInspectionFlag = true + this.buttonTags.switchUser = true } else { //存在人员既可以合并卷 - this.buttonTags.mergeRollFlag = false; - this.buttonTags.finishScheduleFlag = false; + // this.buttonTags.mergeRollFlag = false; + // this.buttonTags.finishScheduleFlag = false; this.buttonTags.otherBunFlag = false; this.buttonTags.materialMalformedFlag = false this.buttonTags.malformedMaterialFlag = false @@ -4448,6 +4450,22 @@ export default { } else { this.buttonTags.processInspectionFlag = true; } + + if (data.resultMap.combineRoll == 'Y') { + this.buttonTags.mergeRollFlag = false; + } else { + this.buttonTags.mergeRollFlag = true; + } + if (data.resultMap.finishOrder == 'Y') { + this.buttonTags.finishScheduleFlag = false; + } else { + this.buttonTags.finishScheduleFlag = true; + } + if (data.resultMap.switchUser == 'Y') { + this.buttonTags.switchUser = false; + } else { + this.buttonTags.switchUser = true; + } }); let dto = {